  *, *::before, *::after { box-sizing: border-box; }
  html, body, #root { background:#0C0C0C; margin:0; padding:0; }
  body { font-family: 'Kanit', sans-serif; color:#D7E2EA; -webkit-font-smoothing: antialiased; overflow-x: clip; }

  .hero-heading{
    background: linear-gradient(180deg, #646973 0%, #BBCCD7 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    text-wrap: balance;
  }

  .contact-btn{
    background: linear-gradient(123deg, #1A0606 7%, #E10F0F 37%, #B01515 72%, #FF6B1A 100%);
    box-shadow: 0px 4px 4px rgba(225, 15, 15, 0.25), 4px 4px 12px #B01515 inset;
    outline: 2px solid #ffffff; outline-offset: -3px;
    color:#fff; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 500;
    border-radius: 9999px;
    transition: transform .25s ease, filter .25s ease;
    display: inline-flex; align-items: center; gap: 12px;
  }
  .contact-btn:hover{ transform: translateY(-1px) scale(1.02); filter: brightness(1.06); }

  .ghost-btn{
    border:2px solid #D7E2EA; color:#D7E2EA;
    border-radius:9999px; text-transform:uppercase;
    letter-spacing:.18em; font-weight:500;
    transition: background-color .2s ease;
    display:inline-flex; align-items:center; gap:10px;
  }
  .ghost-btn:hover{ background: rgba(215,226,234,0.10); }

  /* Fade-in on view */
  .fi { opacity: 0; transform: translateY(30px); transition: opacity .7s cubic-bezier(.25,.1,.25,1), transform .7s cubic-bezier(.25,.1,.25,1); }
  .fi.in { opacity: 1; transform: none; }
  .fi-up   { transform: translateY(30px); }
  .fi-down { transform: translateY(-20px); }
  .fi-left { transform: translateX(-80px); }
  .fi-right{ transform: translateX(80px); }

  /* Logo strip */
  .logo-strip{
    display:flex; gap: 40px; align-items:center;
    flex: 0 0 auto;
    padding: 8px 0;
  }
  .logo-strip .logo{
    flex:0 0 auto;
    height: 36px;
    padding: 0 14px;
    display:flex; align-items:center; justify-content:center;
    color:#A8B3BD;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: .72;
    border-left: 1px solid rgba(215,226,234,0.12);
  }
  .logo-strip .logo:first-child{ border-left:none; }

  /* Marquee testimonial tiles */
  .tile{
    flex: 0 0 auto;
    width: 440px; min-height: 240px;
    border-radius: 1.25rem;
    overflow: hidden;
    background: #15151a;
    position: relative;
    padding: 26px;
    display:flex; flex-direction:column; justify-content:space-between;
    border:1px solid rgba(215,226,234,0.08);
  }
  .tile .stripes{
    position:absolute; inset:0;
    background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 14px, transparent 14px 28px);
    pointer-events:none;
  }
  .tile .quote{
    position: relative; z-index:1;
    color:#E9EEF2; font-weight:500;
    font-size: 19px; line-height: 1.3;
    letter-spacing:-.01em;
  }
  .tile .meta{
    position: relative; z-index:1;
    display:flex; justify-content:space-between; align-items:flex-end; gap: 14px;
    color:#A8B3BD; font-family:'JetBrains Mono','Menlo',monospace;
    font-size:11px; letter-spacing:.12em; text-transform:uppercase;
  }
  .tile .meta .name{ color:#D7E2EA; }

  /* Animated paragraph chars */
  .anim-char{ opacity:.2; transition: opacity .35s ease; }
  .anim-char.lit{ opacity:1; }

  /* Sticky project cards — true stacking deck */
  .projects-deck{ position: relative; }
  .projects-deck[data-mode="tilt"]{ perspective: 1600px; }
  .project-card-spacer{ height: 85vh; }
  .project-card-spacer:first-child{ height: 0; }
  .project-card{
    position: sticky;
    transform-origin: top center;
    transform-style: preserve-3d;
    will-change: transform, opacity, filter;
    transition: filter .25s linear, opacity .25s linear;
  }

  /* Stack-style switcher */
  .stack-switcher{
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px;
    border-radius: 999px;
    border: 1px solid rgba(215,226,234,.14);
    background: linear-gradient(180deg, rgba(21,22,27,.85) 0%, rgba(14,15,19,.85) 100%);
    backdrop-filter: blur(8px);
    flex-wrap: wrap;
    justify-content: center;
  }
  .stack-switcher .ss-label{
    color:#A8B3BD;
    font-family:'JetBrains Mono','Menlo',monospace;
    font-size:10px; letter-spacing:.22em; text-transform:uppercase;
    padding: 0 14px 0 12px;
  }
  .stack-switcher button{
    appearance: none;
    background: transparent;
    border: 0;
    color: #A8B3BD;
    padding: 8px 14px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
    font-family: 'Kanit', sans-serif;
  }
  .stack-switcher button:hover{ color:#D7E2EA; background: rgba(215,226,234,.06); }
  .stack-switcher button.active{
    color:#fff;
    background: linear-gradient(123deg, #1A0606 7%, #E10F0F 37%, #B01515 72%, #FF6B1A 100%);
    box-shadow: 0 4px 16px rgba(225,15,15,.25), inset 0 0 0 1px rgba(255,255,255,.18);
  }

  /* Tweaks panel */
  .tweaks-panel{
    position: fixed;
    right: 20px; bottom: 20px;
    z-index: 9999;
    width: 320px;
    background: linear-gradient(180deg, rgba(21,22,27,.97) 0%, rgba(14,15,19,.97) 100%);
    border: 1px solid rgba(215,226,234,.16);
    border-radius: 20px;
    padding: 18px;
    color: #D7E2EA;
    box-shadow: 0 30px 80px -20px rgba(0,0,0,.8), 0 10px 40px -10px rgba(0,0,0,.5);
    backdrop-filter: blur(12px);
    font-family: 'Kanit', sans-serif;
    display: none;
  }
  .tweaks-panel[data-open="true"]{ display: block; }
  .tweaks-panel .tp-head{
    display:flex; align-items:center; justify-content:space-between;
    margin-bottom: 14px;
  }
  .tweaks-panel .tp-title{
    text-transform: uppercase;
    letter-spacing: .22em;
    font-size: 11px;
    color: #D7E2EA;
    font-weight: 500;
  }
  .tweaks-panel .tp-close{
    appearance:none; border:0; background: rgba(215,226,234,.08);
    color:#D7E2EA;
    width: 26px; height: 26px; border-radius: 999px;
    cursor: pointer;
    display:flex; align-items:center; justify-content:center;
    transition: background-color .2s ease;
  }
  .tweaks-panel .tp-close:hover{ background: rgba(215,226,234,.18); }
  .tweaks-panel .tp-section{
    border-top: 1px solid rgba(215,226,234,.10);
    padding: 14px 0 4px;
  }
  .tweaks-panel .tp-section:first-of-type{ border-top: 0; padding-top: 0; }
  .tweaks-panel .tp-label{
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: 10px;
    color: #A8B3BD;
    margin-bottom: 10px;
    display: block;
    font-family:'JetBrains Mono','Menlo',monospace;
  }
  .tweaks-panel .tp-options{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .tweaks-panel .tp-options button{
    appearance:none; border:1px solid rgba(215,226,234,.14);
    background: rgba(215,226,234,.03);
    color:#D7E2EA;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Kanit', sans-serif;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .1em;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
  }
  .tweaks-panel .tp-options button:hover{
    background: rgba(215,226,234,.08);
    border-color: rgba(215,226,234,.28);
  }
  .tweaks-panel .tp-options button.active{
    color:#fff;
    background: linear-gradient(123deg, #1A0606 7%, #E10F0F 37%, #B01515 72%, #FF6B1A 100%);
    border-color: rgba(255,255,255,.25);
    box-shadow: 0 4px 16px rgba(225,15,15,.30), inset 0 0 0 1px rgba(255,255,255,.18);
  }
  .tweaks-panel .tp-hint{
    color:#A8B3BD; opacity:.7;
    font-size: 11px; line-height: 1.45;
    margin-top: 12px;
  }

  /* Side tabs — stack-style switcher rail */
  .side-tabs{
    position: fixed;
    left: 18px;
    top: 50%;
    transform: translateY(-50%) translateX(-12px);
    z-index: 60;
    display: flex; flex-direction: column;
    gap: 6px;
    padding: 10px 8px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(21,22,27,.85) 0%, rgba(14,15,19,.85) 100%);
    border: 1px solid rgba(215,226,234,.12);
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 60px -20px rgba(0,0,0,.7);
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s ease, transform .4s ease;
    font-family: 'Kanit', sans-serif;
  }
  .side-tabs.visible{
    opacity: 1;
    transform: translateY(-50%) translateX(0);
    pointer-events: auto;
  }
  .side-tabs .st-head{
    text-transform: uppercase;
    letter-spacing: .22em;
    font-size: 9px;
    color: #A8B3BD;
    font-family:'JetBrains Mono','Menlo',monospace;
    padding: 4px 10px 8px;
    text-align: center;
    border-bottom: 1px solid rgba(215,226,234,.10);
    margin-bottom: 4px;
  }
  .side-tabs button{
    appearance:none; border:0;
    background: transparent;
    color:#A8B3BD;
    padding: 10px 14px;
    border-radius: 12px;
    cursor: pointer;
    font-family: 'Kanit', sans-serif;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .12em;
    text-align: left;
    white-space: nowrap;
    transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
    display: flex; align-items: center; gap: 10px;
  }
  .side-tabs button .st-dot{
    width: 8px; height: 8px; border-radius: 99px;
    background: rgba(215,226,234,.25);
    flex: 0 0 auto;
    transition: background-color .2s ease, box-shadow .2s ease;
  }
  .side-tabs button:hover{ color:#D7E2EA; background: rgba(215,226,234,.06); }
  .side-tabs button:hover .st-dot{ background: rgba(215,226,234,.55); }
  .side-tabs button.active{
    color:#fff;
    background: linear-gradient(123deg, rgba(26,6,6,.6) 0%, rgba(225,15,15,.85) 50%, rgba(255,107,26,.65) 100%);
    box-shadow: 0 4px 16px rgba(225,15,15,.30), inset 0 0 0 1px rgba(255,255,255,.18);
  }
  .side-tabs button.active .st-dot{
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255,255,255,.22);
  }
  @media (max-width: 900px){
    .side-tabs{ display: none; }
  }

  /* VSL player */
  .vsl{
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 24px; overflow:hidden;
    background:
      radial-gradient(80% 60% at 50% 25%, rgba(255,255,255,0.10), rgba(255,255,255,0) 60%),
      radial-gradient(60% 80% at 50% 110%, rgba(225,15,15,0.45), rgba(176,21,21,0) 60%),
      linear-gradient(180deg, #1a1c22 0%, #0b0b10 100%);
    border:1px solid rgba(215,226,234,.18);
    box-shadow:
      0 30px 80px -20px rgba(225,15,15,.35),
      0 10px 40px -10px rgba(0,0,0,.7),
      inset 0 0 0 1px rgba(255,255,255,.04);
    cursor: pointer;
  }
  .vsl::before{
    content:""; position:absolute; inset:0;
    background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 14px, transparent 14px 28px);
    mix-blend-mode: overlay; opacity: .6; pointer-events:none;
  }
  .vsl video{ width:100%; height:100%; object-fit: cover; display:block; }
  .vsl .play{
    position:absolute; inset:0;
    display:flex; align-items:center; justify-content:center;
    flex-direction:column; gap: 16px;
    transition: opacity .35s ease;
  }
  .vsl .play .pbtn{
    width: 88px; height: 88px; border-radius: 999px;
    background: linear-gradient(123deg, #1A0606 7%, #E10F0F 37%, #B01515 72%, #FF6B1A 100%);
    box-shadow: 0 12px 40px rgba(225,15,15,.45), 4px 4px 12px #B01515 inset, 0 0 0 2px #fff inset;
    outline: 2px solid rgba(255,255,255,.5); outline-offset: -10px;
    display:flex; align-items:center; justify-content:center;
    transition: transform .25s ease;
  }
  .vsl:hover .pbtn{ transform: scale(1.06); }
  .vsl .play .pbtn svg{ filter: drop-shadow(0 2px 4px rgba(0,0,0,.4)); margin-left: 6px; }
  .vsl .play .cap{
    color:#cfd6dd; font-family:'JetBrains Mono','Menlo',monospace;
    font-size:11px; letter-spacing:.22em; text-transform:uppercase;
    background: rgba(12,12,12,.55);
    border:1px solid rgba(215,226,234,.18);
    padding:6px 12px; border-radius:999px;
  }
  .vsl.playing .play{ opacity: 0; pointer-events:none; }
  .vsl.playing{ cursor: auto; }
  .vsl.playing .runtime, .vsl.playing .meta-bar{ opacity: 0; transition: opacity .35s ease; pointer-events: none; }

  /* Chapter toggle button + side drawer */
  .vsl-chap-toggle{
    position: absolute;
    top: 14px; right: 14px;
    z-index: 7;
    appearance: none;
    background: rgba(12,12,12,.65);
    border: 1px solid rgba(215,226,234,.20);
    color: #D7E2EA;
    font-family: 'JetBrains Mono','Menlo',monospace;
    font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex; align-items: center; gap: 7px;
    transition: background-color .15s ease, border-color .15s ease;
  }
  .vsl-chap-toggle:hover{ background: rgba(12,12,12,.88); border-color: rgba(215,226,234,.45); }
  .vsl-chap-toggle svg{ width: 12px; height: 12px; }

  .vsl-chap-panel{
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 300px; max-width: 88%;
    background: rgba(12,12,12,0.92);
    backdrop-filter: blur(14px);
    border-left: 1px solid rgba(215,226,234,0.14);
    padding: 16px 6px 16px 12px;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity .3s ease, transform .3s ease;
    z-index: 6;
    pointer-events: none;
    display: flex; flex-direction: column;
  }
  .vsl-chap-panel.open{
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
  }
  .vsl-chap-panel-head{
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: space-between;
    padding: 4px 8px 12px 8px;
    border-bottom: 1px solid rgba(215,226,234,0.08);
    margin-bottom: 6px;
  }
  .vsl-chap-panel-head .l1{
    font-family: 'JetBrains Mono','Menlo',monospace;
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #A8B3BD;
  }
  .vsl-chap-panel-close{
    appearance: none; border: 0;
    background: rgba(215,226,234,0.08); color: #D7E2EA;
    width: 24px; height: 24px; border-radius: 999px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-family: inherit; font-size: 16px; line-height: 1;
    padding: 0;
  }
  .vsl-chap-panel-close:hover{ background: rgba(215,226,234,0.18); }
  .vsl-chap-list{
    flex: 1;
    overflow-y: auto;
    padding-right: 6px;
  }
  .vsl-chap-list::-webkit-scrollbar{ width: 4px; }
  .vsl-chap-list::-webkit-scrollbar-thumb{ background: rgba(215,226,234,0.18); border-radius: 4px; }
  .vsl-chap-row{
    display: block; width: 100%; appearance: none;
    background: transparent; border: 0; border-radius: 8px;
    padding: 9px 12px;
    cursor: pointer;
    text-align: left;
    color: #D7E2EA;
    font-family: 'Kanit', sans-serif;
    transition: background-color .15s ease;
  }
  .vsl-chap-row + .vsl-chap-row{ margin-top: 1px; }
  .vsl-chap-row:hover{ background: rgba(215,226,234,0.08); }
  .vsl-chap-row .ts{
    font-family: 'JetBrains Mono','Menlo',monospace;
    font-size: 10px;
    letter-spacing: 0.10em;
    color: #A8B3BD;
    display: block;
    margin-bottom: 3px;
  }
  .vsl-chap-row .t{
    font-size: 12.5px;
    line-height: 1.35;
    font-weight: 400;
    color: #E9EEF2;
  }
  .vsl-chap-row.active{
    background: linear-gradient(123deg, rgba(225,15,15,0.18) 0%, rgba(255,107,26,0.06) 100%);
    box-shadow: inset 0 0 0 1px rgba(225,15,15,0.4);
  }
  .vsl-chap-row.active .ts{ color: #FF6B1A; }
  .vsl-chap-row.active .t{ color: #fff; }
  .vsl .meta-bar{
    position:absolute; left:14px; top:14px;
    display:flex; gap:6px;
  }
  .vsl .meta-bar span{ width:12px; height:12px; border-radius:99px; background: rgba(215,226,234,.25); }
  .vsl .meta-bar span:nth-child(1){ background:#FF5F57; }
  .vsl .meta-bar span:nth-child(2){ background:#FEBC2E; }
  .vsl .meta-bar span:nth-child(3){ background:#28C840; }
  .vsl .runtime{
    position:absolute; right:14px; top:14px;
    color:#cfd6dd; font-family:'JetBrains Mono','Menlo',monospace;
    font-size:11px; letter-spacing:.16em; text-transform:uppercase;
    background: rgba(12,12,12,.55);
    border:1px solid rgba(215,226,234,.18);
    padding:5px 10px; border-radius:6px;
  }


  /* Google Reviews section */
  .gr-section{
    background:
      radial-gradient(60% 50% at 50% 0%, rgba(66,133,244,0.04), rgba(0,0,0,0) 60%),
      #0C0C0C;
  }
  .gr-hero{
    display: flex; align-items: center; gap: 28px;
    background: linear-gradient(180deg, #15161B 0%, #0E0F13 100%);
    border:1px solid rgba(215,226,234,0.10);
    border-radius: 24px;
    padding: 28px 32px;
    margin-bottom: 28px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
  }
  .gr-hero::before{
    content:""; position:absolute; top:-40%; right:-15%;
    width: 50%; height: 180%;
    background: radial-gradient(circle, rgba(66,133,244,0.10) 0%, transparent 70%);
    pointer-events:none;
  }
  .gr-g-logo{ flex: 0 0 auto; position: relative; z-index: 1; }
  .gr-score-wrap{
    display:flex; flex-direction:column; gap:4px; position: relative; z-index: 1;
  }
  .gr-score-row{ display:flex; align-items:center; gap: 16px; }
  .gr-score-num{
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    font-weight: 900; line-height: 1;
    background: linear-gradient(180deg, #FFFFFF 0%, #BBCCD7 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    letter-spacing: -0.02em;
  }
  .gr-stars-row{ display:inline-flex; gap: 3px; color: #FBBC04; font-size: 22px; line-height: 1; }
  .gr-count-line{
    color:#A8B3BD; font-family:'JetBrains Mono','Menlo',monospace;
    font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  }
  .gr-cta-link{
    margin-left: auto; position: relative; z-index: 1;
    display: inline-flex; align-items: center; gap: 10px;
    color: #D7E2EA;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 999px;
    border: 1px solid rgba(215,226,234,0.18);
    background: rgba(215,226,234,0.04);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 11px;
    font-weight: 500;
    transition: background-color .2s ease, border-color .2s ease;
  }
  .gr-cta-link:hover{
    background: rgba(66,133,244,0.10);
    border-color: rgba(66,133,244,0.4);
    color: #fff;
  }

  /* Live transmission featured card */
  .gr-featured{
    background:
      radial-gradient(80% 100% at 50% 0%, rgba(66,133,244,0.05), rgba(0,0,0,0) 60%),
      #0C0C0C;
    border:1px solid rgba(215,226,234,0.12);
    border-radius: 28px;
    padding: 36px 40px;
    position: relative;
    overflow: hidden;
    margin-bottom: 16px;
  }
  .gr-featured::before{
    content:""; position:absolute; inset:0;
    background-image: repeating-linear-gradient(180deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 4px);
    pointer-events:none; opacity:.4;
  }
  .gr-bar{
    display:flex; align-items:center; justify-content:space-between;
    margin-bottom: 22px; position: relative; z-index: 1;
  }
  .gr-bar .l, .gr-bar .r{
    font-family:'JetBrains Mono','Menlo',monospace;
    font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
    color:#A8B3BD;
    display:flex; align-items:center; gap:8px;
  }
  .gr-live-dot{
    width:8px; height:8px; border-radius:99px; background:#E10F0F;
    box-shadow:0 0 0 0 rgba(225,15,15,.6);
    animation: gr-pulse 2s infinite;
  }
  @keyframes gr-pulse{
    0%{ box-shadow:0 0 0 0 rgba(225,15,15,.6);}
    70%{ box-shadow:0 0 0 10px rgba(225,15,15,0);}
    100%{ box-shadow:0 0 0 0 rgba(225,15,15,0);}
  }
  .gr-feat-stars{
    color:#FBBC04; font-size: 24px; letter-spacing: 4px; margin-bottom: 18px;
    position: relative; z-index: 1;
  }
  .gr-feat-quote{
    color: #E9EEF2;
    font-weight: 500;
    line-height: 1.35;
    font-size: clamp(1.2rem, 2vw, 1.7rem);
    letter-spacing: -0.01em;
    max-width: 880px;
    margin: 0 0 28px;
    min-height: 5em;
    position: relative; z-index: 1;
  }
  .gr-feat-attr{
    display:flex; align-items:center; gap: 14px;
    position: relative; z-index: 1;
  }
  .gr-feat-attr .av{
    width: 44px; height: 44px; border-radius: 999px;
    color:#fff; display:flex; align-items:center; justify-content:center;
    font-weight: 700; font-size: 15px;
    font-family: 'Kanit', sans-serif;
    flex: 0 0 auto;
  }
  .gr-feat-attr .feat-name{ color:#D7E2EA; font-weight:500; font-size: 16px; }
  .gr-feat-attr .feat-when{
    color:#A8B3BD; font-family:'JetBrains Mono','Menlo',monospace;
    font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
    margin-top: 2px;
  }
  .gr-feat-attr .feat-badge{
    margin-left: 6px;
    background: rgba(66,133,244,0.12);
    color:#7EAFFF;
    font-family:'JetBrains Mono','Menlo',monospace;
    font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase;
    padding: 3px 8px; border-radius: 99px;
    border:1px solid rgba(66,133,244,0.3);
  }
  .gr-feat-attr .feat-badge.new{
    background: rgba(125,234,180,0.12);
    color:#7DEAB4;
    border-color: rgba(125,234,180,0.3);
  }
  .gr-dot-row{
    display: flex; gap: 4px; flex-wrap: wrap; padding-top: 0;
    margin-bottom: 24px;
  }
  .gr-dot-row .d{
    flex: 1 1 0; min-width: 12px; height: 3px;
    border-radius: 99px;
    background: rgba(215,226,234,0.10);
    cursor: pointer;
    overflow: hidden;
    transition: background-color .2s ease;
  }
  .gr-dot-row .d:hover{ background: rgba(215,226,234,0.25); }
  .gr-dot-row .d.active{
    background: linear-gradient(90deg, #E10F0F 0%, #FF6B1A 100%);
  }

  /* Mini masonry of all reviews */
  .gr-grid{
    columns: 3 280px;
    column-gap: 14px;
  }
  @media (max-width: 700px){ .gr-grid{ columns: 1; } }
  .gr-mini{
    display: inline-block; width: 100%;
    break-inside: avoid;
    margin-bottom: 14px;
    background: #15161B;
    border: 1px solid rgba(215,226,234,0.08);
    border-radius: 14px;
    padding: 18px 18px 16px;
    transition: border-color .2s ease, transform .2s ease;
    cursor: pointer;
  }
  .gr-mini:hover{ border-color: rgba(66,133,244,0.4); transform: translateY(-2px); }
  .gr-mini .top{
    display:flex; align-items:center; gap: 10px; margin-bottom: 10px;
  }
  .gr-mini .av-sm{
    width: 28px; height: 28px; border-radius: 99px;
    color:#fff; display:flex; align-items:center; justify-content:center;
    font-weight:700; font-size:11px; flex:0 0 auto;
    font-family: 'Kanit', sans-serif;
  }
  .gr-mini .nm{ font-size: 13px; color:#D7E2EA; font-weight:500; line-height: 1.2; }
  .gr-mini .meta{
    font-family:'JetBrains Mono','Menlo',monospace;
    font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase;
    color: #A8B3BD;
    margin-top: 2px;
    display:flex; align-items:center; gap:6px;
  }
  .gr-mini .meta .b{
    background: rgba(66,133,244,0.12);
    color:#7EAFFF;
    padding: 2px 5px; border-radius: 4px;
    font-size: 8px;
    border:1px solid rgba(66,133,244,0.3);
  }
  .gr-mini .meta .b.new{
    background: rgba(125,234,180,0.12);
    color:#7DEAB4;
    border-color: rgba(125,234,180,0.3);
  }
  .gr-mini .stars-sm{ color:#FBBC04; font-size: 13px; letter-spacing: 2px; margin-bottom: 8px; }
  .gr-mini .body-sm{
    color: #C7CDD3;
    font-size: 13px; line-height: 1.45;
    font-weight: 300;
  }
  .gr-mini .gmark{
    margin-top: 12px;
    color:#A8B3BD; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
    font-family:'JetBrains Mono','Menlo',monospace;
    display:flex; align-items:center; gap: 6px;
  }
  .gr-mini.active{
    border-color: rgba(225,15,15,0.5);
    box-shadow: 0 0 0 2px rgba(225,15,15,0.15);
  }


  /* Video tile (YouTube marquee cards) */
  .vtile{
    flex: 0 0 auto;
    width: 420px;
    border-radius: 1.25rem;
    overflow: hidden;
    background: #15151a;
    position: relative;
    border:1px solid rgba(215,226,234,0.08);
    display:flex; flex-direction:column;
    color: inherit; text-decoration: none;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  }
  .vtile:hover{ transform: translateY(-2px); border-color: rgba(225,15,15,.5); box-shadow: 0 18px 50px -20px rgba(225,15,15,.45); }
  .vtile .thumb{ position: relative; aspect-ratio: 16/9; background: linear-gradient(135deg, #1A1A1F 0%, #0B0B10 100%); overflow: hidden; }
  .vtile .thumb img{ width:100%; height:100%; object-fit: cover; display:block; transition: transform .4s ease; }
  .vtile:hover .thumb img{ transform: scale(1.04); }
  .vtile .thumb .play-bubble{
    position:absolute; left:50%; top:50%; transform: translate(-50%,-50%);
    width: 56px; height: 56px; border-radius: 999px;
    background: linear-gradient(123deg, #1A0606 7%, #E10F0F 37%, #B01515 72%, #FF6B1A 100%);
    box-shadow: 0 8px 24px rgba(225,15,15,.45), inset 0 0 0 2px rgba(255,255,255,.25);
    display:flex; align-items:center; justify-content:center;
    transition: transform .25s ease; pointer-events: none;
  }
  .vtile:hover .play-bubble{ transform: translate(-50%,-50%) scale(1.08); }
  .vtile .body{ padding: 16px 18px 18px; display:flex; flex-direction:column; gap:8px; min-height: 96px; }
  .vtile .title{ color:#E9EEF2; font-weight: 500; font-size: 16px; line-height: 1.3; letter-spacing:-.01em; display:-webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .vtile .channel{ color:#A8B3BD; font-family:'JetBrains Mono','Menlo',monospace; font-size:11px; letter-spacing:.10em; text-transform:uppercase; display:flex; align-items:center; gap: 8px; }
  .vtile .yt-mark{ display:inline-flex; align-items:center; justify-content:center; width: 18px; height: 12px; border-radius: 3px; background:#FF0000; color:#fff; font-size: 7px; font-weight: 800; }

  /* Pinned wins corkboard */
  .pin-board{
    position: relative;
    background:
      radial-gradient(80% 60% at 50% 0%, rgba(225,15,15,0.06), rgba(0,0,0,0) 60%),
      #0C0C0C;
    border-radius: 32px;
    border:1px solid rgba(215,226,234,0.10);
    padding: 48px 24px 56px;
    overflow: hidden;
  }
  .pin-board::before{
    content:"";
    position:absolute; inset:0;
    background-image:
      radial-gradient(circle at 20% 30%, rgba(255,255,255,0.04) 1px, transparent 1px),
      radial-gradient(circle at 70% 80%, rgba(255,255,255,0.04) 1px, transparent 1px),
      radial-gradient(circle at 35% 75%, rgba(255,255,255,0.04) 1px, transparent 1px),
      radial-gradient(circle at 85% 15%, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 80px 80px, 80px 80px, 100px 100px, 100px 100px;
    pointer-events:none;
  }
  .pin-row{
    position: relative;
    display: flex; flex-wrap: wrap; gap: 28px;
    justify-content: center;
    max-width: 1100px; margin: 0 auto;
  }
  .pin{ transform-origin: top center; transition: transform .35s ease, box-shadow .35s ease; }
  .pin:nth-child(6n+1){ transform: rotate(-2.5deg); }
  .pin:nth-child(6n+2){ transform: rotate(1.8deg) translateY(14px); }
  .pin:nth-child(6n+3){ transform: rotate(-1.2deg); }
  .pin:nth-child(6n+4){ transform: rotate(2deg) translateY(6px); }
  .pin:nth-child(6n+5){ transform: rotate(-1.8deg) translateY(10px); }
  .pin:nth-child(6n+6){ transform: rotate(1deg); }
  .pin:hover{ transform: rotate(0) translateY(-6px) scale(1.02); z-index: 5; }
  .chat-card{
    position: relative;
    width: 320px;
    background: #15161B;
    border: 1px solid rgba(215,226,234,0.12);
    border-radius: 22px;
    padding: 18px 18px 14px;
    box-shadow: 0 22px 44px -20px rgba(0,0,0,.7), 0 2px 8px rgba(0,0,0,.4);
    color: #E9EEF2;
  }
  .chat-card::before{
    content:""; position:absolute; top:-8px; left:50%;
    transform: translateX(-50%);
    width: 14px; height: 14px; border-radius:999px;
    background: linear-gradient(135deg, #E10F0F 0%, #B01515 100%);
    box-shadow: 0 2px 6px rgba(225,15,15,.5), inset 0 1px 0 rgba(255,255,255,.3);
  }
  .chat-card .row1{ display:flex; align-items:center; gap:10px; margin-bottom: 12px; }
  .chat-card .avatar{
    width: 40px; height: 40px; border-radius: 999px;
    background: linear-gradient(135deg, #E10F0F 0%, #FF6B1A 100%);
    color:#fff; display:flex; align-items:center; justify-content:center;
    font-weight: 700; font-size: 13px; flex: 0 0 auto;
    font-family: 'Kanit', sans-serif;
    overflow: hidden;
  }
  .chat-card .avatar img{ width: 100%; height: 100%; object-fit: cover; display: block; }
  .chat-card .who{ display:flex; flex-direction:column; min-width:0; }
  .chat-card .name{ font-weight: 500; font-size: 13px; color:#E9EEF2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .chat-card .city{ font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color:#A8B3BD; font-family:'JetBrains Mono','Menlo',monospace; }
  .chat-card .bubble{ background: #1F2026; color: #E9EEF2; padding: 12px 14px; border-radius: 16px 16px 16px 4px; font-size: 14px; line-height: 1.4; margin-bottom: 8px; border: 1px solid rgba(215,226,234,0.05); }
  .chat-card .bubble.green{ background: #1F4A2D; border-color: rgba(125,234,180,.18); }
  .chat-card .meta-row{ display:flex; align-items:center; justify-content:space-between; font-family:'JetBrains Mono','Menlo',monospace; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color:#5F6770; }
  .chat-card .meta-row .read{ color:#7DEAB4; }

  /* Pillar / service row */
  .svc-row{ transition: background-color .25s ease; }
  .svc-row:hover{ background: rgba(12,12,12,0.04); }

  /* Stat blocks */
  .stat-num{
    background: linear-gradient(180deg, #646973 0%, #BBCCD7 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    font-weight: 900;
    font-size: clamp(3.5rem, 9vw, 9rem);
    line-height: 1; letter-spacing: -0.03em;
  }

  /* Forces card */
  .force-card{
    background: linear-gradient(180deg, #15161B 0%, #0E0F13 100%);
    border:1px solid rgba(215,226,234,0.10);
    border-radius: 24px;
    padding: 28px;
    display:flex; flex-direction:column; gap: 12px;
    min-height: 100%;
  }

  /* FAQ */
  .faq-item{ border-top: 1px solid rgba(215,226,234,0.12); }
  .faq-item:last-child{ border-bottom: 1px solid rgba(215,226,234,0.12); }
  .faq-item summary{
    cursor: pointer; list-style: none;
    padding: 28px 0;
    display:flex; align-items:center; justify-content:space-between;
    gap: 24px;
    font-weight:500; text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: clamp(1rem, 1.8vw, 1.5rem);
    color:#D7E2EA;
  }
  .faq-item summary::-webkit-details-marker{ display:none; }
  .faq-item .plus{
    width:36px; height:36px; border-radius:999px;
    border:1px solid rgba(215,226,234,.4);
    display:flex; align-items:center; justify-content:center;
    transition: transform .3s ease, background-color .3s ease;
    flex-shrink:0;
  }
  .faq-item[open] .plus{ transform: rotate(45deg); background: rgba(215,226,234,.1); }
  .faq-item .ans{
    padding: 0 0 28px 0;
    color: #D7E2EA; opacity: .65;
    font-weight: 300; line-height: 1.7;
    max-width: 880px;
    font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  }

  /* Placeholder image tile */
  .ph{
    width:100%;
    background:
      linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0)),
      repeating-linear-gradient(45deg, rgba(255,255,255,0.045) 0 18px, rgba(0,0,0,0) 18px 36px),
      radial-gradient(120% 80% at 30% 20%, rgba(225,15,15,0.18), transparent 60%),
      radial-gradient(100% 80% at 80% 100%, rgba(190,76,0,0.16), transparent 60%),
      #1A1A1F;
    position: relative; overflow:hidden;
    display:flex; align-items:flex-end; justify-content:flex-start;
    color:#cfd6dd;
    font-family:'JetBrains Mono','Menlo',monospace;
    font-size:11px; letter-spacing:.14em; text-transform:uppercase;
    padding:14px;
  }
  .ph .tag{ background: rgba(12,12,12,.55); border:1px solid rgba(215,226,234,.18); padding:6px 10px; border-radius:999px; }

  /* Pulsing dot */
  .dot{
    width:8px; height:8px; border-radius:99px; background:#7DEAB4;
    box-shadow: 0 0 0 0 rgba(125,234,180,.55);
    animation: pulse 2s infinite;
  }
  @keyframes pulse{
    0% { box-shadow: 0 0 0 0 rgba(125,234,180,.55); }
    70%{ box-shadow: 0 0 0 12px rgba(125,234,180,0); }
    100%{ box-shadow: 0 0 0 0 rgba(125,234,180,0); }
  }

  /* clamp typography */
  .clamp-hero  { font-size: clamp(2.2rem, 5.6vw, 90px); }
  .clamp-h2    { font-size: clamp(1.9rem, 4.6vw, 64px); }
  .clamp-body  { font-size: clamp(1rem, 1.6vw, 1.35rem); }
  .clamp-svcN  { font-size: clamp(3rem, 10vw, 140px); }
  .clamp-svcT  { font-size: clamp(1.1rem, 2vw, 2rem); }
  .clamp-svcD  { font-size: clamp(0.9rem, 1.4vw, 1.15rem); }
  .clamp-heroP { font-size: clamp(0.75rem, 1.3vw, 1.3rem); }

  /* === Mobile typography tightening (<= 640px) === */
  @media (max-width: 640px){
    .clamp-hero { font-size: clamp(1.85rem, 8.5vw, 3rem); letter-spacing: -0.01em; }
    .clamp-h2   { font-size: clamp(1.4rem, 6.2vw, 2rem); letter-spacing: -0.005em; }
    .clamp-body { font-size: clamp(0.95rem, 3.8vw, 1.1rem); line-height: 1.55; }
    .clamp-svcT { font-size: clamp(1rem, 4.2vw, 1.3rem); }
    .clamp-svcN { font-size: clamp(2.25rem, 12vw, 4rem); }
    .clamp-svcD { font-size: clamp(0.9rem, 3.6vw, 1.05rem); }
    /* YouTube marquee: smaller, denser tiles on mobile */
    .vtile { width: 210px; border-radius: 0.9rem; }
    .vtile .body { padding: 10px 12px 12px; gap: 5px; min-height: 64px; }
    .vtile .title { font-size: 12.5px; line-height: 1.25; -webkit-line-clamp: 2; }
    .vtile .channel { font-size: 9px; gap: 5px; }
    .vtile .yt-mark { width: 14px; height: 10px; font-size: 6px; }
    .vtile .thumb .play-bubble { width: 40px; height: 40px; }
    .yt-marquee { gap: 10px !important; }
    .yt-marquee > [id^="row"] { gap: 10px !important; }
    .leading-\[0\.92\] { line-height: 1.02; }
    .leading-\[0\.95\] { line-height: 1.05; }
    /* Hero VSL — tighter padding on mobile */
    #vsl .play .cap { font-size: 11px; padding: 6px 12px; }
    /* Nav — compact on mobile */
    nav.fi a img { height: 26px; }

    /* === VSL Chapters: bottom-sheet pattern on mobile === */
    .vsl-chap-panel {
      position: fixed;
      top: auto;
      right: 0;
      bottom: 0;
      left: 0;
      width: 100%;
      max-width: 100%;
      max-height: 78vh;
      border: 0;
      border-top: 1px solid rgba(215,226,234,0.22);
      border-radius: 18px 18px 0 0;
      padding: 24px 6px 32px 10px;
      transform: translateY(100%);
      z-index: 9998;
      box-shadow: 0 -24px 70px -10px rgba(0,0,0,0.85);
      background: rgba(12,12,12,0.96);
      backdrop-filter: blur(18px);
    }
    .vsl-chap-panel.open { transform: translateY(0); }
    .vsl-chap-panel::before {
      content: '';
      position: absolute;
      top: 9px;
      left: 50%;
      margin-left: -24px;
      width: 48px;
      height: 4px;
      border-radius: 99px;
      background: rgba(215,226,234,0.30);
    }
    .vsl-chap-panel-head {
      padding: 4px 12px 14px 12px;
      margin-bottom: 4px;
    }
    .vsl-chap-panel-head .l1 { font-size: 11px; letter-spacing: 0.20em; }
    .vsl-chap-panel-close {
      width: 32px;
      height: 32px;
      font-size: 20px;
    }
    .vsl-chap-row {
      padding: 14px 16px;
    }
    .vsl-chap-row + .vsl-chap-row { margin-top: 2px; }
    .vsl-chap-row .ts {
      font-size: 11px;
      letter-spacing: 0.12em;
      margin-bottom: 5px;
    }
    .vsl-chap-row .t {
      font-size: 14.5px;
      line-height: 1.4;
    }
    /* Make the chapter toggle button slightly more thumb-friendly on mobile */
    .vsl-chap-toggle {
      top: 10px;
      right: 10px;
      padding: 8px 14px;
      font-size: 11px;
    }
    /* Backdrop dim when panel open */
    body.vsl-chap-open::before {
      content: '';
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.55);
      z-index: 9997;
      animation: vsl-fade-in .25s ease forwards;
    }
    @keyframes vsl-fade-in { from { opacity: 0; } to { opacity: 1; } }
  }

  /* === Top nav refinements === */
  .topnav-link {
    transition: opacity .2s ease;
    white-space: nowrap;
  }
  .topnav-link:hover { opacity: 0.7; }

  /* === MEET THE TEAM === */
  .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
  }
  .team-card {
    background: #15151a;
    border: 1px solid rgba(215,226,234,0.08);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform .25s ease, border-color .25s ease;
  }
  .team-card:hover { transform: translateY(-2px); border-color: rgba(225,15,15,0.35); }
  .team-card .face {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #B01515 0%, #FF6B1A 100%);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 22px; letter-spacing: 0.04em;
  }
  .team-card .nm { color: #E9EEF2; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
  .team-card .role { color: #A8B3BD; font-weight: 400; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
  .team-card .bio { color: #A8B3BD; font-weight: 300; font-size: 14px; line-height: 1.5; }

  /* === BLOG === */
  .blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
  }
  .blog-card {
    background: #15151a;
    border: 1px solid rgba(215,226,234,0.08);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: transform .25s ease, border-color .25s ease;
  }
  .blog-card:hover { transform: translateY(-2px); border-color: rgba(225,15,15,0.35); }
  .blog-card .cover {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #1A0606 0%, #B01515 50%, #FF6B1A 100%);
    position: relative;
    display: flex; align-items: flex-end; padding: 18px;
  }
  .blog-card .cover .tag {
    background: rgba(0,0,0,0.4);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 10px; font-weight: 500;
    padding: 6px 10px;
    border-radius: 999px;
    backdrop-filter: blur(8px);
  }
  .blog-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
  .blog-card .title { color: #E9EEF2; font-weight: 600; font-size: 17px; line-height: 1.3; letter-spacing: -0.01em; }
  .blog-card .excerpt { color: #A8B3BD; font-weight: 300; font-size: 13px; line-height: 1.55; }
  .blog-card .meta { color: #A8B3BD; font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; margin-top: auto; padding-top: 8px; }

  /* === APPLY FORM === */
  .apply-form {
    background: #15151a;
    border: 1px solid rgba(215,226,234,0.08);
    border-radius: 24px;
    padding: 28px;
    display: grid;
    gap: 14px;
    width: 100%;
    max-width: 540px;
  }
  .apply-form label { display: block; color: #A8B3BD; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 6px; }
  .apply-form input, .apply-form select, .apply-form textarea {
    width: 100%;
    background: #0C0C0C;
    border: 1px solid rgba(215,226,234,0.15);
    border-radius: 12px;
    color: #E9EEF2;
    font-family: inherit;
    font-size: 14px;
    padding: 12px 14px;
    transition: border-color .2s ease;
  }
  .apply-form input:focus, .apply-form select:focus, .apply-form textarea:focus {
    outline: none;
    border-color: #E10F0F;
  }
  .apply-form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  @media (max-width: 520px){ .apply-form .row-2 { grid-template-columns: 1fr; } }
  .apply-form button[type="submit"] { margin-top: 6px; }
  .apply-status { color: #7DEAB4; font-size: 13px; min-height: 18px; text-align: center; }
  .apply-status.err { color: #FF6B6B; }

  /* =================== ARTICLE / BLOG POST =================== */
  .article {
    max-width: 760px;
    margin: 0 auto;
    padding: 24px 0 64px;
    color: #D7E2EA;
  }
  .article h1 {
    font-size: clamp(1.9rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 18px;
  }
  .article .lede {
    font-size: clamp(1.05rem, 1.7vw, 1.35rem);
    line-height: 1.5;
    color: #C7CDD3;
    font-weight: 300;
    margin-bottom: 28px;
  }
  .article .byline {
    display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center;
    color: #A8B3BD;
    font-family: 'JetBrains Mono','Menlo',monospace;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding-bottom: 22px;
    margin-bottom: 32px;
    border-bottom: 1px solid rgba(215,226,234,0.10);
  }
  .article .byline .sep { opacity: 0.4; }
  .article h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    margin: 56px 0 18px;
    letter-spacing: -0.01em;
  }
  .article h3 {
    font-size: clamp(1.15rem, 1.8vw, 1.4rem);
    font-weight: 600;
    line-height: 1.25;
    color: #E9EEF2;
    margin: 36px 0 12px;
  }
  .article p, .article li {
    font-size: 17px;
    line-height: 1.7;
    color: #D7E2EA;
    font-weight: 300;
    margin: 0 0 18px;
  }
  .article ul, .article ol { padding-left: 22px; margin: 0 0 24px; }
  .article ul li, .article ol li { margin-bottom: 8px; }
  .article strong { color: #fff; font-weight: 600; }
  .article a { color: #FF6B1A; text-decoration: underline; text-underline-offset: 3px; }
  .article a:hover { color: #fff; }
  .article blockquote {
    border-left: 3px solid #E10F0F;
    margin: 28px 0;
    padding: 4px 0 4px 22px;
    color: #E9EEF2;
    font-size: 18px;
    font-style: italic;
    font-weight: 400;
  }
  .article code {
    background: rgba(215,226,234,0.08);
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 14px;
    font-family: 'JetBrains Mono','Menlo',monospace;
    color: #FF6B1A;
  }
  .article pre {
    background: #15161B;
    border: 1px solid rgba(215,226,234,0.10);
    border-radius: 12px;
    padding: 16px;
    overflow-x: auto;
    margin: 24px 0;
    font-size: 13px;
    line-height: 1.5;
  }
  .article .callout {
    background: linear-gradient(135deg, rgba(225,15,15,0.08) 0%, rgba(255,107,26,0.04) 100%);
    border: 1px solid rgba(225,15,15,0.18);
    border-radius: 16px;
    padding: 20px 24px;
    margin: 28px 0;
    color: #E9EEF2;
  }
  .article .callout strong { color: #FF6B1A; }
  .article .post-cta {
    margin: 48px 0 0;
    padding: 32px;
    background: linear-gradient(180deg, #15161B 0%, #0E0F13 100%);
    border: 1px solid rgba(215,226,234,0.12);
    border-radius: 24px;
    text-align: center;
  }
  .article .post-cta h3 {
    margin-top: 0;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -0.01em;
  }
  .article-hero {
    background:
      radial-gradient(60% 60% at 50% 0%, rgba(225,15,15,0.10), transparent 70%),
      #0C0C0C;
    padding: 80px 24px 24px;
  }
  .article-tag {
    display: inline-block;
    background: rgba(225,15,15,0.12);
    color: #FF6B1A;
    border: 1px solid rgba(225,15,15,0.25);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-family: 'JetBrains Mono','Menlo',monospace;
    margin-bottom: 18px;
  }

  /* =================== BLOG INDEX =================== */
  .blog-index-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 22px;
  }
  .blog-featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 36px;
    background: linear-gradient(180deg, #15161B 0%, #0E0F13 100%);
    border: 1px solid rgba(215,226,234,0.12);
    border-radius: 28px;
    overflow: hidden;
    text-decoration: none;
    transition: border-color .25s ease, transform .25s ease;
  }
  .blog-featured:hover { border-color: rgba(225,15,15,0.35); transform: translateY(-2px); }
  .blog-featured .cover {
    background: linear-gradient(135deg, #1A0606 0%, #B01515 50%, #FF6B1A 100%);
    min-height: 320px;
    position: relative;
  }
  .blog-featured .body { padding: 40px 36px; display: flex; flex-direction: column; justify-content: center; }
  .blog-featured .body .tag { align-self: flex-start; }
  .blog-featured .body h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); margin: 14px 0 14px; color: #fff; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
  .blog-featured .body p { color: #C7CDD3; font-weight: 300; line-height: 1.55; margin: 0 0 18px; }
  @media (max-width: 760px){ .blog-featured { grid-template-columns: 1fr; } .blog-featured .body { padding: 28px 24px; } .blog-featured .cover { min-height: 200px; } }

  /* =================== TEAM PAGE =================== */
  .team-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
  }
  .team-card-lg {
    background: linear-gradient(180deg, #15161B 0%, #0E0F13 100%);
    border: 1px solid rgba(215,226,234,0.10);
    border-radius: 24px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  }
  .team-card-lg:hover {
    transform: translateY(-4px);
    border-color: rgba(225,15,15,0.4);
    box-shadow: 0 22px 60px -20px rgba(225,15,15,0.25);
  }
  .team-card-lg .face-lg {
    position: relative;
    width: 96px; height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, #B01515 0%, #FF6B1A 100%);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 32px; letter-spacing: 0.02em;
    border: 2px solid rgba(255,255,255,0.10);
    box-shadow: 0 12px 30px -10px rgba(225,15,15,0.4);
    overflow: hidden;
  }
  .team-card-lg .face-lg img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    /* Anchor toward the top of the photo so heads aren't cropped on portrait headshots */
    object-position: center 18%;
    display: block;
  }
  /* Reem's photo sits slightly lower in the frame than the others — give her a bit more headroom */
  .team-card-lg .face-lg img[alt="Reem Fayad"] {
    object-position: center 8%;
  }
  /* Nick's photo has white space above his hair — push the crop down past it so the
     hair sits near the top of the circle */
  .team-card-lg .face-lg img[alt="Nick Testa"] {
    object-position: center 30%;
  }
  .team-card-lg .nm { color: #fff; font-weight: 700; font-size: 22px; letter-spacing: -0.01em; }
  .team-card-lg .role { color: #FF6B1A; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-family: 'JetBrains Mono','Menlo',monospace; margin-top: -8px; }
  .team-card-lg .bio { color: #C7CDD3; font-weight: 300; font-size: 14.5px; line-height: 1.6; }


  /* =================== SITE FOOTER =================== */
  .site-footer { background: #0a0a0e; border-top: 1px solid rgba(215,226,234,0.10); color: #A8B3BD; }
  .footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.2fr 1.1fr;
    gap: 48px;
  }
  @media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  }
  @media (max-width: 540px) {
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  }
  .footer-logo { height: 32px; width: auto; display: block; }
  .footer-tagline {
    margin-top: 18px;
    color: #A8B3BD;
    font-weight: 300;
    font-size: 14px;
    line-height: 1.55;
    max-width: 360px;
  }
  .footer-socials-label {
    margin-top: 24px;
    color: #A8B3BD;
    font-family: 'JetBrains Mono','Menlo',monospace;
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
  }
  .footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    flex-wrap: wrap;
  }
  .footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(215,226,234,0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #A8B3BD;
    transition: background-color .25s ease, border-color .25s ease, color .25s ease, transform .25s ease;
  }
  .footer-socials a:hover {
    background: linear-gradient(123deg, #1A0606 7%, #E10F0F 37%, #B01515 72%, #FF6B1A 100%);
    border-color: rgba(255,255,255,0.25);
    color: #fff;
    transform: translateY(-1px);
  }
  .footer-socials svg { width: 16px; height: 16px; display: block; }
  .footer-col h4 {
    color: #D7E2EA;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin: 0 0 16px;
    font-family: 'JetBrains Mono','Menlo',monospace;
  }
  .footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
  .footer-col ul li a {
    color: #A8B3BD;
    text-decoration: none;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.4;
    transition: color .2s ease;
  }
  .footer-col ul li a:hover { color: #fff; }
  .footer-bottom {
    border-top: 1px solid rgba(215,226,234,0.10);
  }
  .footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    color: #A8B3BD;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
  }

  /* =================== COOKIE CONSENT BANNER =================== */
  .cookie-banner {
    position: fixed;
    left: 18px;
    bottom: 18px;
    max-width: 380px;
    background: linear-gradient(180deg, rgba(21,22,27,0.97) 0%, rgba(14,15,19,0.97) 100%);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(215,226,234,0.14);
    color: #D7E2EA;
    border-radius: 22px;
    padding: 20px 22px 18px;
    z-index: 9999;
    box-shadow: 0 28px 70px -20px rgba(0,0,0,0.7), 0 8px 24px -10px rgba(225,15,15,0.18);
    transform: translateY(160%);
    transition: transform .45s cubic-bezier(.25,.1,.25,1);
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-family: 'Kanit', sans-serif;
  }
  .cookie-banner.show { transform: translateY(0); }
  .cookie-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 24px; right: 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(225,15,15,0.6) 35%, rgba(255,107,26,0.6) 65%, transparent 100%);
  }
  .cookie-banner .label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'JetBrains Mono','Menlo',monospace;
    font-size: 10px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #FF6B1A;
  }
  .cookie-banner .label .dot {
    width: 6px; height: 6px; border-radius: 99px;
    background: #FF6B1A;
    box-shadow: 0 0 0 0 rgba(255,107,26,.55);
    animation: pulse 2s infinite;
  }
  .cookie-banner p {
    color: #D7E2EA;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 300;
    margin: 0;
  }
  .cookie-banner p strong { color: #fff; font-weight: 500; }
  .cookie-banner-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 2px;
  }
  .cookie-banner button {
    appearance: none;
    background: linear-gradient(123deg, #1A0606 7%, #E10F0F 37%, #B01515 72%, #FF6B1A 100%);
    box-shadow: 0 4px 12px rgba(225, 15, 15, 0.30), 4px 4px 12px #B01515 inset;
    outline: 2px solid rgba(255,255,255,0.85);
    outline-offset: -3px;
    border: 0;
    color: #fff;
    padding: 10px 24px;
    border-radius: 999px;
    font-family: 'Kanit', sans-serif;
    font-weight: 500;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    cursor: pointer;
    transition: transform .2s ease, filter .2s ease;
  }
  .cookie-banner button:hover { transform: translateY(-1px); filter: brightness(1.08); }
  .cookie-banner a.read-more {
    color: #A8B3BD;
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    border-bottom: 1px solid rgba(168,179,189,0.3);
    padding-bottom: 2px;
    transition: color .2s ease, border-color .2s ease;
  }
  .cookie-banner a.read-more:hover { color: #fff; border-bottom-color: #fff; }
  @media (max-width: 480px) {
    .cookie-banner { left: 12px; right: 12px; max-width: none; bottom: 12px; padding: 18px 18px 16px; }
    .cookie-banner-actions { justify-content: space-between; }
  }

  /* =================== STICKY TOP CTA BAR =================== */
  .sticky-cta {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(12,12,12,0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(215,226,234,0.10);
    z-index: 9990;
    transform: translateY(-100%);
    transition: transform .35s cubic-bezier(.25,.1,.25,1);
    padding: 9px 0;
    font-family: 'Kanit', sans-serif;
  }
  .sticky-cta.show { transform: translateY(0); }
  .sticky-cta-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 18px;
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .sticky-cta-brand { display: flex; align-items: center; flex: 0 0 auto; }
  .sticky-cta-brand img { height: 22px; width: auto; display: block; }
  .sticky-cta-msg {
    flex: 1;
    color: #D7E2EA;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.01em;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    opacity: 0.92;
  }
  .sticky-cta-msg-short { display: none; }
  .sticky-cta-btn {
    background: linear-gradient(123deg, #1A0606 7%, #E10F0F 37%, #B01515 72%, #FF6B1A 100%);
    box-shadow: 0 4px 12px rgba(225, 15, 15, 0.30), inset 0 0 0 1px rgba(255,255,255,0.18);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 11px;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 999px;
    text-decoration: none;
    flex: 0 0 auto;
    transition: transform .2s ease, filter .2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .sticky-cta-btn:hover { transform: translateY(-1px); filter: brightness(1.08); color: #fff; }
  @media (max-width: 640px) {
    .sticky-cta-msg-full { display: none; }
    .sticky-cta-msg-short { display: inline; }
    .sticky-cta-inner { gap: 10px; padding: 0 12px; }
    .sticky-cta-brand img { height: 18px; }
    .sticky-cta-msg { font-size: 11px; }
    .sticky-cta-btn { font-size: 10px; padding: 7px 14px; letter-spacing: 0.10em; }
  }

  /* =================== BLOG RESUME TOAST =================== */
  .blog-resume-toast {
    position: fixed;
    right: 18px;
    bottom: 18px;
    background: linear-gradient(180deg, rgba(21,22,27,0.97) 0%, rgba(14,15,19,0.97) 100%);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(215,226,234,0.18);
    border-radius: 14px;
    padding: 12px 14px 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9988;
    max-width: 320px;
    box-shadow: 0 20px 50px -20px rgba(0,0,0,0.6);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .35s ease, transform .35s ease;
    font-family: 'Kanit', sans-serif;
  }
  .blog-resume-toast.show { opacity: 1; transform: translateY(0); }
  .blog-resume-toast .msg { color: #D7E2EA; font-size: 13px; line-height: 1.4; font-weight: 400; }
  .blog-resume-toast .msg strong { color: #fff; font-weight: 600; }
  .blog-resume-toast .resume-btn {
    background: linear-gradient(123deg, #E10F0F 0%, #FF6B1A 100%);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 10px;
    font-weight: 500;
    padding: 7px 14px;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    flex: 0 0 auto;
    box-shadow: 0 3px 10px rgba(225,15,15,0.30);
  }
  .blog-resume-toast .dismiss {
    background: transparent;
    color: #A8B3BD;
    border: 0;
    width: 24px; height: 24px;
    border-radius: 999px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; line-height: 1;
    flex: 0 0 auto;
  }
  .blog-resume-toast .dismiss:hover { background: rgba(215,226,234,0.10); color: #fff; }
  @media (max-width: 520px) {
    .blog-resume-toast { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  }
  /* When the resume toast or cookie banner is visible, the bottom-anchored cookie banner needs to clear it */
  body.has-resume-toast .cookie-banner { bottom: 92px; }

  /* =================== LEGAL PAGE STYLES =================== */
  .legal-page {
    max-width: 780px;
    margin: 0 auto;
    padding: 60px 24px 80px;
    color: #D7E2EA;
  }
  .legal-page h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    margin: 0 0 14px;
  }
  .legal-page .updated {
    color: #A8B3BD;
    font-family: 'JetBrains Mono','Menlo',monospace;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin: 0 0 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(215,226,234,0.12);
  }
  .legal-page h2 {
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    color: #fff;
    font-weight: 700;
    margin: 44px 0 14px;
    letter-spacing: -0.01em;
  }
  .legal-page h3 {
    color: #E9EEF2;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 28px 0 10px;
  }
  .legal-page p, .legal-page li {
    font-size: 15.5px;
    line-height: 1.7;
    font-weight: 300;
    color: #C7CDD3;
    margin: 0 0 14px;
  }
  .legal-page ul, .legal-page ol { padding-left: 22px; margin: 0 0 18px; }
  .legal-page ul li, .legal-page ol li { margin-bottom: 6px; }
  .legal-page strong { color: #fff; font-weight: 600; }
  .legal-page a { color: #FF6B1A; text-decoration: underline; text-underline-offset: 3px; }
  .legal-page a:hover { color: #fff; }
  .legal-page table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0 24px;
    font-size: 14px;
  }
  .legal-page th, .legal-page td {
    text-align: left;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(215,226,234,0.10);
  }
  .legal-page th {
    color: #D7E2EA;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 11px;
  }
  .legal-page td { color: #C7CDD3; font-weight: 300; }
