:root{
    --bg: #0D1B1E;
    --bg-deep: #04090a;
    --panel: #0b1a1d;
    --line: rgba(255,255,255,0.08);
    --line-strong: rgba(143,211,201,0.4);
    --text: #eef5f3;
    --muted: #82a19d;
    --accent: #4fd8c4;
    --accent-soft: rgba(79,216,196,0.14);
}
*{ box-sizing:border-box; }
/* inter-300 - latin */
@font-face {
    font-display: swap;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    src: url('/wp-content/uploads/2026/08/inter-v20-latin-300.woff2') format('woff2');
}

/* inter-regular - latin */
@font-face {
    font-display: swap;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    src: url('/wp-content/uploads/2026/08/inter-v20-latin-regular.woff2') format('woff2');
}

/* inter-700 - latin */
@font-face {
    font-display: swap;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    src: url('/wp-content/uploads/2026/08/inter-v20-latin-700.woff2') format('woff2');
}

html{
  overflow-y: scroll; /* tránh giật layout khi nội dung đổi chiều cao*/
}
body{
  margin:0;
  padding:0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  overflow-x:hidden;
}
::selection{ background: var(--accent-soft); color:var(--text); } /* khi người dùng dùng chuột bôi đen văn bản */

  /* ---- orbit section ---- */

  .orbit-section{
    position:relative;
  }

  .orbit-stage{
    position:relative;
    width:100%;
    height:100vh;
    max-height:100vh;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    padding: 0 7vw;
    overflow:hidden;
    background: var(--bg);
  }

  .orbit-stage::before{
    content:"";
    position:absolute;
    inset:0;
    background:
      radial-gradient(ellipse 70% 60% at 82% 50%, rgba(79,216,196,0.05), transparent 70%);
    pointer-events:none;
    z-index: 1;
  }

  /* VÒNG TRÒN NỀN*/
  .orbit-wrapper {
    position: absolute;
    left: 85%;
    top: 50%;
    transform: translate(-30%, -50%);
    width: 160vh;  
    height: 160vh; 
    pointer-events: none;
    z-index: 1;
  }

  .orbit-svg{
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
  }
  .orbit-svg circle{
    fill: none;
    stroke: var(--line);
    stroke-width: 1;
  }

  .orbit-nodes-container {
    position: absolute;
    inset: 0;
  }

  .orbit-node{
    position: absolute;
    width: 46px; 
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Times New Roman", Times, serif;
    font-size: 13px;
    color: var(--muted);
    background: var(--panel);
    border: 1px solid var(--line);
    will-change: transform, opacity;
    transition: background 0.4s ease, border-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
  }
  .orbit-node.active{
    background: var(--accent);
    border-color: var(--accent);
    color: #04211d;
    box-shadow: 0 0 0 1px var(--accent), 0 0 26px 4px var(--accent-soft), 0 0 60px 10px rgba(79,216,196,0.12);
  }

  /* Cột bên trái theo Grid flow */
  .orbit-left-pane{
    position: relative;
    width: 100%;
    z-index: 2;
    will-change: transform, opacity;
  }

  .hero-left-content h1{
  font-size: clamp(28px, 3.2vw, 64px);
  line-height: 1.16;
  margin: 0;
  color: var(--text);
}

.hero-left-content h1 em {
  font-family: "Times New Roman", Times, serif !important;
  font-style: italic !important;
  font-weight: 400 !important;
  font-size: 1.25em !important; /* Lớn hơn 25% so với kích thước hiện tại của h1 ở mọi màn hình */
}

  .project-left-content .mockup-container img{
    width: 100%;
    border-radius: 8px;
  }
  .project-meta-bar{
    display: flex;
    gap: 20px;
    margin-top: 14px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    color: var(--muted);
  }
  .project-meta-bar strong{
    color: var(--accent);
  }
  .project-meta-bar .live-preview{
    color: var(--text);
    text-decoration: none;
    margin-left: auto;
  }

  /* Cột bên phải theo Grid flow, đẩy sát lề phải của cột Grid */
  .orbit-content{
    position: relative;
    width: 100%;
    max-width: 380px;
    justify-self: end;
    z-index: 2;
  }

  .orbit-counter{
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .orbit-counter .rail{
    width: 56px; height: 1px;
    background: var(--line-strong);
    position: relative;
    overflow: hidden;
  }
  .orbit-counter .rail::after{
    content: "";
    position: absolute;
    inset: 0;
    background: var(--accent);
    transform-origin: left center;
    transform: scaleX(var(--rail-progress, 0));
    transition: transform 0.5s cubic-bezier(.22,.61,.36,1);
  }

  .orbit-title{
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: clamp(20px, 2.1vw, 30px);
    line-height: 1.28;
    margin: 0 0 14px 0;
    color: var(--text);
    will-change: transform, opacity;
  }

  .orbit-desc{
    font-size: clamp(13px, 1.05vw, 15px);
    line-height: 1.65;
    color: var(--muted);
    margin: 0;
    max-width: 42ch;
    will-change: transform, opacity;
  }

  /* Responsive trên mobile chuyển về 1 cột dọc */
  @media (max-width: 760px){
    .orbit-stage{
      grid-template-columns: 1fr;
      height: auto;
      min-height: 100vh;
      padding: 10vh 6vw;
      gap: 40px;
    }
    .orbit-content{
      max-width: 100%;
      justify-self: start;
    }
    .orbit-wrapper {
      width: 120vh;
      height: 120vh;
      left: 50%;
      top: 75%;
    }
  }

  .outro{
    border-top: 1px solid var(--line);
  }
  .outro h2{
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(22px,3vw,34px);
    margin: 0 0 12px 0;
  }
  .outro p{ color: var(--muted); max-width: 50ch; line-height: 1.6; }

  @media (prefers-reduced-motion: reduce){
    .scroll-hint .bar{ animation: none; }
  }