/**
 * ====================================================================
 * NETJAN INC. - Official Stylesheet (css/styles.css)
 * Copyright (c) 2024-2026 NETJAN INC. All Rights Reserved.
 * Nghiêm cấm mọi hành vi sao chép, phân phối hoặc sửa đổi mã nguồn
 * khi chưa có sự đồng ý bằng văn bản từ NETJAN INC.
 * Unauthorized copying, reproduction, distribution, or modification
 * of this source code is strictly prohibited.
 * ====================================================================
 */

/* ====================================================================
 * LOCAL SELF-HOSTED FONTS (ZERO EXTERNAL CALLS - 100% OFFLINE)
 * ==================================================================== */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/jakarta-vi.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/jakarta-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter.woff2') format('woff2');
}

@font-face {
  font-family: 'Font Awesome 6 Free';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-solid-900.woff2') format('woff2');
}
@font-face {
  font-family: 'Font Awesome 6 Brands';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-brands-400.woff2') format('woff2');
}

:root {
  --header-h: 58px;
  --bg-white: #0a0a0a;
  --bg-light: #141414;
  --bg-gray: #1c1c1c;
  --bg-secondary: #141414;
  --primary: #fa812d;
  --primary-light: rgba(250, 129, 45, 0.15);
  --primary-dark: #fb9d50;
  --accent: #fdc182;
  --text-dark: #f5f5f5;
  --text-body: #d4d4d4;
  --text-muted: #737373;
  --text-light: #525252;
  --border: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.05);
  --shadow-sm: none;
  --shadow: none;
  --shadow-lg: none;
  --radius: 8px;
  --radius-sm: 6px;
  --radius-lg: 10px;
  --transition: 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  --font-heading: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --max-w: 100%;
  --bg-header: rgba(0, 0, 0, 0.18);
  --bg-header-scrolled: rgba(5, 5, 5, 0.58);
  --bg-mobile-nav: rgba(10, 10, 10, 0.98);
  --bg-glass-card: rgba(38, 38, 38, 0.5);
  --bg-dropdown: rgba(12, 12, 14, 0.94);
  --bg-input: rgba(0, 0, 0, 0.3);
  --bg-input-focus: rgba(0, 0, 0, 0.5);
  --placeholder-color: rgba(255, 255, 255, 0.25);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-weight: 450;
  background: var(--bg-white);
  color: var(--text-body);
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  opacity: 0;
  animation: pageFadeIn 0.8s ease forwards;
}

body.menu-open,
body.search-open {
  overflow: hidden;
}

body::before {
  display: none !important;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
  transition: opacity 0.4s ease;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 5%;
}

.section {
  padding: 70px 0;
  position: relative;
}

#services-section > #services {
  padding-bottom: 64px;
}

#non-profit-section > #news {
  padding-bottom: 40px;
}

#projects-section > #projects {
  padding-top: 40px;
}

.section-header {
  text-align: left;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  padding: 6px 16px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}


.section-title {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
  padding-bottom: 10px;
  line-height: 1.3;
}

.section-desc {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0;
  font-size: 1.05rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(250, 129, 45, 0.25);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(250, 129, 45, 0.3);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-dark);
  border: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  isolation: isolate;
  background: var(--bg-header);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding: 6px 0;
  transition: padding 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
  background: var(--bg-header-scrolled);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 3px 0;
}

.header.scrolled .logo-icon img {
  object-fit: contain;
  width: 160px;
  height: auto;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  padding: 4px 0;
  margin-left: -24px;
  transition: padding var(--transition);
}

.header.scrolled .logo {
  padding: 2px 0;
}

.logo-icon img {
  object-fit: contain;
  width: 185px;
  height: auto;
  transition: width 0.2s ease;
}

.nav-links {
  display: flex;
  align-items: center;
  align-self: stretch;
  gap: 22px;
  flex: 1 1 auto;
  margin-left: 44px;
}

.nav-links>a:not(.btn) {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-body);
  padding: 0;
  display: flex;
  align-items: center;
  position: relative;
  white-space: nowrap;
  align-self: stretch;
}

.nav-links>a:not(.btn):hover,
.nav-links>a:not(.btn).active {
  color: var(--text-dark);
}

.nav-links>a:not(.btn)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-links>a:not(.btn):hover::after,
.nav-links>a:not(.btn).active::after {
  width: 100%;
}

.nav-cta {
  padding: 7px 16px !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  margin-left: auto;
  border-radius: 3px !important;
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.26) !important;
  color: #ffffff !important;
  box-shadow: none !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease !important;
}

.nav-cta:hover {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #0a0a0a !important;
  box-shadow: none !important;
}

.nav-dropdown {
  position: static;
  display: flex;
  align-items: center;
  align-self: stretch;
}

/* Hover bridge not needed when dropdown attaches seamlessly to header bottom */
.nav-dropdown::after {
  display: none;
}

.nav-dropbtn {
  background: transparent;
  border: none;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
  padding: 0;
  height: 100%;
  position: relative;
  white-space: nowrap;
  transition: var(--transition);
}

.nav-dropbtn:hover,
.nav-dropdown.open .nav-dropbtn {
  color: var(--text-dark);
}

.nav-dropbtn::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-dropbtn:hover::after,
.nav-dropdown.open .nav-dropbtn::after {
  width: 100%;
}

.nav-dropbtn-chevron {
  transition: transform 0.25s ease;
}

.nav-dropdown.open .nav-dropbtn-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-content {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  width: 100%;
  max-height: calc(100vh - 70px);
  overflow-y: auto;
  background: rgba(10, 10, 12, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  border-bottom: 3px solid var(--primary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  z-index: 100;
  border-radius: 0;

  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s;
}

.nav-dropdown.open .nav-dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-content .nav-mega-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 32px 5% 40px;
  display: grid;
  gap: 20px 48px;
  align-items: stretch;
  justify-content: start;
}

.nav-mega-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-mega-col-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 16px;
  padding: 0 0 10px 4px;
  border-bottom: 1px solid var(--border-light);
}

.nav-mega-link {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-body);
  line-height: 1.4;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.nav-mega-link::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0;
  transform: scale(0) translateX(-10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin-right: -6px;
}

.nav-mega-link:hover {
  background: var(--border-light);
  color: var(--text-dark);
  transform: translateX(4px);
}

.nav-mega-link:hover::before {
  opacity: 1;
  transform: scale(1) translateX(0);
  margin-right: 12px;
}

.nav-mega-see-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 16px 4px 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary) !important;
  padding: 10px 16px !important;
  border-radius: 6px;
  background: var(--primary-light) !important;
  transition: all 0.2s ease;
  width: fit-content;
}

.nav-mega-see-all:hover {
  background: var(--primary);
  color: #fff;
}

.nav-mega-see-all span {
  transition: transform 0.2s ease;
}

.nav-mega-see-all:hover span {
  transform: translateX(4px);
}


.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10000;
  padding: 0;
  color: var(--text-dark);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
  transition: color 0.2s ease, transform 0.15s ease;
}

.menu-toggle:hover {
  color: var(--primary);
}

.menu-toggle:active {
  transform: scale(0.92);
}

.menu-toggle .menu-svg {
  display: block;
  width: 22px;
  height: 22px;
  pointer-events: none;
  overflow: visible;
}

.menu-toggle .menu-svg line {
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  transform-box: view-box;
}

.menu-toggle .menu-svg .menu-line-top {
  transform-origin: 12px 6px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), stroke 0.2s ease;
}

.menu-toggle .menu-svg .menu-line-mid {
  transition: opacity 0.2s ease, stroke 0.2s ease;
}

.menu-toggle .menu-svg .menu-line-bot {
  transform-origin: 12px 18px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), stroke 0.2s ease;
}

.menu-toggle:hover .menu-svg line {
  stroke: var(--primary);
}

.menu-toggle.active .menu-svg .menu-line-top {
  transform: translateY(6px) rotate(45deg);
  stroke: var(--primary);
}

.menu-toggle.active .menu-svg .menu-line-mid {
  opacity: 0;
}

.menu-toggle.active .menu-svg .menu-line-bot {
  transform: translateY(-6px) rotate(-45deg);
  stroke: var(--primary);
}

/* Fallback for span if cached DOM still contains span tags */
.menu-toggle span {
  display: none;
}

.menu-toggle:not(:has(.menu-svg)) {
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.menu-toggle:not(:has(.menu-svg)) span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transform-origin: center;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.menu-toggle:not(:has(.menu-svg)):hover span {
  background: var(--primary);
}

.menu-toggle:not(:has(.menu-svg)).active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
  background: var(--primary);
}

.menu-toggle:not(:has(.menu-svg)).active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle:not(:has(.menu-svg)).active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
  background: var(--primary);
}

.search-toggle {
  background: rgba(100, 100, 100, 0.1);
  border: 1px solid var(--border);
  color: var(--text-body);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.88rem;
  flex-shrink: 0;
}

.search-toggle:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary-light);
}

.search-toggle-label {
  display: none;
}

.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 12vh 20px 20px;
  z-index: 10050;
}

.search-overlay.show {
  display: flex;
}

.search-panel {
  width: 100%;
  max-width: 560px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.search-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-dark);
}

.search-input::placeholder {
  color: var(--placeholder-color, var(--text-muted));
}

.search-close {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--text-muted);
  padding: 0 2px;
}

.search-close:hover {
  color: var(--text-dark);
}

.search-results {
  max-height: 50vh;
  overflow-y: auto;
}

.search-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 18px;
  color: var(--text-body);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.search-result:last-child {
  border-bottom: none;
}

.search-result:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.search-result-label {
  font-weight: 500;
}

.search-result-group {
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.search-empty {
  padding: 20px 18px;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
}

.lang-dropdown {
  position: relative;

  display: inline-block;
}

.lang-dropbtn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-dark);
  padding: 10px 20px;

  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-dropbtn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.lang-dropdown.show .lang-dropbtn svg:last-child {
  transform: rotate(180deg);
}

.lang-dropdown-content {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  background: var(--bg-dropdown);
  backdrop-filter: blur(24px);

  -webkit-backdrop-filter: blur(24px);
  min-width: 190px;

  border-radius: calc(var(--radius) + 4px);

  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);

  overflow: hidden;
  z-index: 100;

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.95);
  transform-origin: top right;
  transition:
    opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.2s;
}

.lang-dropdown.show .lang-dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.lang-dropdown-content a {
  color: var(--text-body);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  border-bottom: none;
  transition: all 0.2s ease;
}

.lang-dropdown-content a:last-child {
  border-bottom: none;
}

.lang-dropdown-content a:hover,
.lang-dropdown-content a.active {
  background: var(--primary-light);
  color: var(--text-dark);
  padding-left: 24px;
}

/* =====================================================================
 * HERO SECTION (Full-Bleed Terafab Style - Media Underneath, Copy Above)
 * ===================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: #050507;
  padding: calc(var(--header-h, 58px) + 20px) 5% 24px calc(5% - 16px);
}

.hero-bg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.18) 28%, rgba(0, 0, 0, 0.45) 68%, rgba(5, 5, 7, 0.92) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.36) 48%, rgba(0, 0, 0, 0.12) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  flex: 1 1 auto;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}

.hero-main {
  max-width: 660px;
  margin: auto 0;
  padding: 20px 0;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.2vw, 3.65rem);
  font-weight: 500;
  color: #ffffff;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.hero-desc {
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 0 28px 0;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 22px;
  border-radius: 3px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.hero-btn-arrow {
  font-size: 1.05em;
  line-height: 1;
  opacity: 0.8;
  transition: transform 0.2s ease;
}

.hero-btn:hover .hero-btn-arrow {
  transform: translateX(3px);
}

.hero-btn-primary {
  background: #f5f5f5;
  color: #0a0a0a;
  border: 1px solid #f5f5f5;
}

.hero-btn-primary:hover {
  background: #ffffff;
  color: #000000;
}

.hero-btn-glass {
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-btn-glass:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

.hero-lower {
  width: 100%;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-tech-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  width: 100%;
}

.hero-spec-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.hero-spec-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading, system-ui, sans-serif);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--primary, #fa812d);
  text-transform: uppercase;
}

.hero-spec-tag i {
  font-size: 0.74rem;
}

.hero-spec-title {
  font-size: 0.96rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
}

.hero-spec-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
  margin: 0;
}

.hero-spec-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.spec-pill {
  font-size: 0.7rem;
  font-weight: 500;
  font-family: var(--font-mono, monospace);
  color: rgba(255, 255, 255, 0.58);
}

.spec-pill:not(:last-child)::after {
  content: " /";
  color: rgba(255, 255, 255, 0.28);
  margin-left: 8px;
}

.hero-tech-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 26px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-meta-item i {
  color: var(--primary, #fa812d);
  font-size: 0.78rem;
}

.hero-meta-item strong {
  color: #ffffff;
  font-weight: 600;
}

.hero-meta-kernel strong {
  font-family: var(--font-mono, monospace);
  color: #ff9d5c;
  letter-spacing: 0.2px;
}

.okami-kernel-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 10px auto 16px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--text-dark);
  font-family: var(--font-heading);
}

.okami-kernel-badge i {
  color: var(--primary);
  font-size: 0.88rem;
}

.okami-kernel-badge strong {
  font-family: var(--font-mono, monospace);
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.4px;
}

@media (max-width: 960px) {
  .hero {
    padding: calc(var(--header-h, 58px) + 40px) 24px 36px;
  }
  .hero-inner {
    gap: 36px;
  }
  .hero-tech-specs {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .hero-tech-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* =====================================================================
 * STORAGE ARCHITECTURE SHOWCASE (Kardashev-style full-width dark section)
 * ===================================================================== */
.storage-showcase {
  position: relative;
  min-height: 82vh;
  width: 100%;
  background-color: #000000;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 96px 5% 96px calc(5% - 16px);
}

.storage-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.storage-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, #000000 0%, rgba(0, 0, 0, 0.92) 38%, rgba(0, 0, 0, 0.55) 66%, rgba(0, 0, 0, 0.15) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, transparent 20%, transparent 80%, rgba(0, 0, 0, 0.75) 100%);
}

.storage-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 720px;
}

.storage-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 14px;
}

.storage-title {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 4vw, 3.35rem);
  font-weight: 500;
  color: #ffffff;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 40px;
}

.storage-list {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.storage-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.92rem;
  line-height: 1.5;
  transition: color 0.25s ease;
}

.storage-row:hover,
.storage-row.is-active {
  color: #ffffff;
}

.storage-row-label {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
}

.storage-row-desc {
  font-weight: 400;
}

.storage-showcase--right .storage-bg-video {
  object-position: left center;
}

.storage-showcase--right .storage-scrim {
  background:
    linear-gradient(270deg, #000000 0%, rgba(0, 0, 0, 0.92) 38%, rgba(0, 0, 0, 0.55) 66%, rgba(0, 0, 0, 0.15) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, transparent 20%, transparent 80%, rgba(0, 0, 0, 0.75) 100%);
}

.storage-showcase--right .storage-inner {
  margin-left: auto;
}

.radio-sticky-track {
  position: relative;
  height: 360vh;
  width: 100%;
  background-color: #000000;
}

.radio-sticky-track #radio-astronomy {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 100vh;
  border-top: none;
  border-bottom: none;
  padding: 80px 5% 80px calc(5% - 16px);
}

@media (max-width: 768px) {
  .storage-showcase {
    min-height: 70vh;
    padding: 72px 24px;
  }
  .storage-title {
    margin-bottom: 28px;
  }
  .storage-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 0;
  }
}

.partners-strip {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-light);
  content-visibility: auto;
  contain-intrinsic-size: 1px 500px;
}

.partners-strip .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.partners-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
  padding: 0;
  text-align: left;
}

.partners-empty {
  padding: 32px 24px;
  text-align: center;
  background: var(--bg-gray);
  border: 1px dashed var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.partners-empty i {
  font-size: 1.15rem;
  opacity: 0.75;
  color: var(--primary);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.partner-card {
  background: var(--bg-gray);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.partner-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.partner-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.partner-icon-wrapper {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.partner-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.partner-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
}

.partner-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex-grow: 1;
  margin: 0;
}

.partner-btn {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  width: fit-content;
  margin-top: auto;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.partner-btn:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary-dark);
}

.news-carousel-wrapper {
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.news-carousel-wrapper .carousel-track {
  width: 100%;
  min-width: 0;
}

.news-carousel-wrapper .news-card {
  width: min(860px, 100%);
  min-width: min(860px, 100%) !important;
  max-width: 100%;
  flex: 0 0 min(860px, 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.about-image {
  position: relative;
}

.expertise-grid {
  margin-top: 40px;
  padding: 10px 4px 12px;
}

.expertise-card {
  position: relative;
  flex: 0 0 clamp(280px, 24vw, 360px);
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 1;
}

.expertise-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.expertise-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}

.expertise-card:hover::before {
  transform: scaleX(1);
}

.expertise-badge {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--primary);
  background: rgba(250, 129, 45, 0.1);
  padding: 6px 12px;
  border-radius: 6px;
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 20px;
  border: 1px solid rgba(250, 129, 45, 0.2);
}

.expertise-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 14px;
  line-height: 1.3;
}

.expertise-card p {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 28px;
  flex: 1;
}

.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
}

.expertise-tags li {
  font-size: 0.75rem;
  padding: 6px 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-muted);
  font-weight: 600;
  transition: all 0.3s ease;
}

.expertise-tags li:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.project-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  height: 100%;
  border-radius: 14px;
  background: var(--bg-white);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: border-color 0.3s ease;
}

.project-thumb {
  position: relative;
  overflow: hidden;
  width: 55%;
  min-width: 320px;
  flex-shrink: 0;
  height: auto;
  min-height: 320px;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.project-placeholder {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  color: #fff;
  text-align: center;
  background: linear-gradient(135deg, #171717, #090909);
}

.project-placeholder span {
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.project-placeholder small {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.okami-placeholder {
  background: linear-gradient(135deg, #171717, #090909);
}

.project-overlay {
  position: absolute;
  inset: 0;
  top: 0;
  height: auto;
  padding: 20px;
  background: none;
  backdrop-filter: none;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  opacity: 1;
  transition: var(--transition);
  z-index: 10;
}

.project-overlay .btn-primary {
  padding: 9px 20px;
  font-size: 0.85rem;
  border-radius: 30px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 20;
}

.project-card:hover .project-img {
  transform: none;
}

.project-card:hover .project-overlay {
  background: none;
}

.project-card:hover {
  border-color: rgba(250, 129, 45, 0.35);
  box-shadow: none;
}

.project-info {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
}

.nonprofit-carousel {
  position: relative;
  overflow: hidden;
}

.services-carousel-track {
  align-items: stretch;
}

.services-carousel .svc-item,
.services-carousel .svc-item:nth-child(even),
.services-carousel .svc-item:nth-child(odd) {
  display: flex !important;
  flex: 0 0 clamp(280px, 30vw, 380px) !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  min-height: 300px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-light);
  color: var(--text-body);
}

.services-carousel .svc-icon {
  display: grid !important;
  place-items: center !important;
  flex: none !important;
  width: 48px !important;
  height: 48px !important;
  margin-bottom: 18px !important;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 1.25rem;
}

.services-carousel .svc-content h3 {
  margin-bottom: 10px;
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

.services-carousel .svc-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.services-carousel .svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.services-carousel .svc-tags span {
  padding: 4px 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.72rem;
}

.nonprofit-grid {
  display: flex;
  gap: 28px;
  overflow: visible;
  padding: 4px 4px 8px;
  margin: -4px -4px 0;
  will-change: transform;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.nonprofit-grid:active {
  cursor: grabbing;
}

.nonprofit-grid img {
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: none;
}

.nonprofit-card {
  position: relative;
  padding: 0 !important;
  overflow: hidden;
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  border-radius: 16px;
  transform: translateZ(0); /* Fix WebKit overflow:hidden bug */
  isolation: isolate; /* Create new stacking context to force overflow mask */
  background: var(--bg-white);
  box-shadow: none;
  border: 1px solid var(--border);
  transition: border-color 0.25s ease;
  flex: 0 0 clamp(520px, 48vw, 640px);
  min-height: 320px;
  height: auto;
}

.nonprofit-card:hover {
  box-shadow: none;
  border-color: rgba(250, 129, 45, 0.35);
}

.nonprofit-card .project-thumb {
  width: 52% !important;
  min-width: 190px !important;
  flex-shrink: 0;
  height: 100% !important;
  min-height: unset !important;
  position: relative;
  overflow: hidden;
  border-radius: 16px 0 0 16px;
  background: #f0f0f0;
}

.nonprofit-card .project-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 15px 0 0 15px; /* Inner radius = outer 16px - 1px border */
  transition: transform 0.4s ease;
}

.nonprofit-card:hover .project-img {
  transform: none;
}

.nonprofit-card .project-overlay p {
  flex: 1;
  min-width: 0;
  margin: 0;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.nonprofit-card .project-overlay {
  position: absolute;
  inset: 0;
  padding: 20px;
  background: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}

.nonprofit-card .project-overlay .btn-primary {
  padding: 9px 20px;
  font-size: 0.85rem;
  border-radius: 8px;
  box-shadow: none;
  position: relative;
  z-index: 20;
}

.nonprofit-card .project-info {
  padding: 16px 18px !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 1;
  overflow: hidden;
  overflow-wrap: break-word;
}

#projects-section .project-info > .btn-primary {
  align-self: flex-start;
  margin-top: auto;
  padding: 9px 20px;
  font-size: 0.85rem;
  border-radius: 8px;
  box-shadow: none;
}

.nonprofit-card .project-info h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 0;
  margin-bottom: 8px;
  line-height: 1.4;
}

.nonprofit-card .project-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
  margin: 0;
}

#projects-section .project-info > p {
  flex: 0 0 auto;
}

.nonprofit-card .project-tech {
  margin-top: 14px;
  font-size: 0.8rem;
  color: #9ca3af;
}

.nonprofit-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 22px;
}

.nonprofit-carousel.vt-no-nav .nonprofit-carousel-controls {
  display: none;
}

.nonprofit-nav {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  aspect-ratio: 1 / 1;
  box-sizing: border-box;
  padding: 0;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-white);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.95rem;
  transition: var(--transition);
}

.nonprofit-nav:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.nonprofit-nav:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.nonprofit-nav:disabled:hover {
  border-color: var(--border);
  background: var(--bg-white);
  color: var(--text-dark);
}

.nonprofit-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nonprofit-dot {
  position: relative;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.nonprofit-dot::after {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  transition: var(--transition);
}

.nonprofit-dot.active::after {
  width: 22px;
  border-radius: 5px;
  background: var(--primary);
}

.project-tag {
  display: inline-flex;
  align-self: flex-start;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary-dark);
  background: color-mix(in srgb, currentColor 12%, transparent);
  padding: 5px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 14px;
}

.project-info h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.project-info p {
  flex: 1;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-tech>span {
  font-size: 0.75rem;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-body);
}

.cta-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 28px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.contact-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contact-form-wrapper form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--bg-input-focus);
  box-shadow:
    0 0 0 4px rgba(250, 129, 45, 0.12),
    0 0 20px rgba(250, 129, 45, 0.1);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--placeholder-color);
}

.form-group select option {
  background: var(--bg-white);
  color: var(--text-dark);
}

.form-error {
  color: #ef4444;
  font-size: 0.8rem;
  display: none;
}

.form-error.show {
  display: block;
}

input.error,
textarea.error {
  border-color: #ef4444 !important;
}

.form-submit {
  width: 100%;
  margin-top: 8px;
}

.form-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: min(360px, calc(100vw - 32px));
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(38, 38, 38, 0.08);
  box-shadow: 0 20px 50px rgba(38, 38, 38, 0.12);
  color: var(--text-dark);
  transform: translateX(120%);
  opacity: 0;
  transition:
    transform 0.24s ease,
    opacity 0.24s ease;
  pointer-events: auto;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast.hide {
  transform: translateX(120%);
  opacity: 0;
}

.toast-icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
  background: rgba(250, 129, 45, 0.12);
}

.toast-message {
  font-size: 0.95rem;
  line-height: 1.5;
  flex: 1;
  user-select: text;
  -webkit-user-select: text;
}

.toast-close {
  border: none;
  background: transparent;
  color: inherit;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.footer {
  background-color: #1a1a1a;
  color: #d2d2d2;
  padding: 32px 0 0;
}

.footer .container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 64px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #666666;
  padding-bottom: 16px;
  margin-bottom: 24px;
  width: 100%;
}

@media (min-width: 769px) {
  .footer-top {
    width: calc(100% + 66px);
    margin-left: -33px;
    transform: translateY(-15px);
  }
}

.footer-logo img {
  height: 40px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.footer-social {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-left: auto;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  line-height: 1;
  color: #ffffff;
  font-size: 18px;
  transition: opacity 0.2s, color 0.2s;
}

.footer-social a:hover {
  opacity: 0.85;
  color: var(--primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 2fr;
  gap: 32px;
  margin-bottom: 24px;
}

.footer-col h4,
.footer-about-title {
  font-family: "Red Hat Text", var(--font-heading), sans-serif;
  color: #ffffff;
  font-size: 16px;
  margin-bottom: 20px;
  font-weight: 500;
  text-transform: none;

  margin-top: 0;
}

.footer-col a,
.footer-col span {
  display: block;
  color: #d2d2d2;
  font-size: 14px;
  margin-bottom: 12px;
  text-decoration: none;
  font-weight: 400;
}

.footer-col a {
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-about-desc {
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 16px;
  color: #d2d2d2;
}

.footer-about-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.footer-about-links a {
  color: #73bcf7;
  font-size: 13px;
  text-decoration: none;
}

.footer-about-links a:hover {
  text-decoration: underline;
}

.footer-lang-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.footer-lang-label {
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 12px;
}

.footer-lang-container {
  position: relative;
  display: inline-block;
}

.footer-lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 140px;
  gap: 8px;
  border: 1px solid #737373;
  padding: 8px 16px;
  border-radius: 3px;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  font-size: 14px;
  font-family: "Red Hat Text", sans-serif;
  font-weight: 500;
  transition:
    border-color 0.2s,
    background-color 0.2s;
}

.footer-lang-btn:hover {
  border-color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
}

.footer-lang-dropdown {
  position: absolute;
  top: 100%;
  bottom: auto;
  left: 0;
  background: #151515;
  border: 1px solid #333333;
  border-radius: 3px;
  margin-top: 4px;
  display: none;
  min-width: 160px;
  z-index: 10;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.footer-lang-container.show .footer-lang-dropdown {
  display: block;
}

.footer-lang-dropdown a {
  display: block;
  padding: 10px 16px;
  color: #d2d2d2;
  text-decoration: none;
  border-bottom: 1px solid #333333;
  font-size: 14px;
}

.footer-lang-dropdown a:last-child {
  border-bottom: none;
}

.footer-lang-dropdown a:hover,
.footer-lang-dropdown a.active {
  background: #333333;
  color: #ffffff;
}

.footer-divider-main {
  display: none;
}

.footer-bottom {
  background-color: #222222;
  margin: 24px -64px 0;
  padding: 20px 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  column-gap: 24px;
}

.footer-bottom-nav {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  gap: 32px;
  margin-bottom: 0;
}

.footer-bottom > .footer-social {
  grid-column: 2;
  grid-row: 2;
  align-self: center;
  justify-content: flex-end;
  gap: 10px;
  margin: 0;
  transform: translateX(32px);
}

.footer-bottom > .footer-social a {
  width: 32px;
}

.footer-bottom-logo img {
  width: auto;
  object-fit: contain;
  height: 22px;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom-links a {
  color: #d2d2d2;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
}

.footer-bottom-links a:hover {
  text-decoration: underline;
  color: #ffffff;
}

.footer-legal-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 16px;
  row-gap: 4px;
  padding-bottom: 0;
}

.footer-copyright {
  font-size: 11px;
  color: #b0b0b0;
  margin-right: 16px;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal-links a,
.footer-legal-links span {
  color: #b0b0b0;
  font-size: 11px;
  text-decoration: none;
}

.footer-legal-links a:hover {
  text-decoration: underline;
  color: #ffffff;
}

.storage-showcase--right .storage-bg-video {
  object-position: left center;
}

.storage-showcase--right .storage-scrim {
  background:
    linear-gradient(270deg, #000000 0%, rgba(0, 0, 0, 0.92) 38%, rgba(0, 0, 0, 0.55) 66%, rgba(0, 0, 0, 0.15) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, transparent 20%, transparent 80%, rgba(0, 0, 0, 0.75) 100%);
}

.storage-showcase--right .storage-inner {
  margin-left: auto;
}

.radio-sticky-track {
  position: relative;
  height: 360vh;
  width: 100%;
  background-color: #000000;
}

.radio-sticky-track #radio-astronomy {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 100vh;
  border-top: none;
  border-bottom: none;
  padding: 80px 5% 80px calc(5% - 16px);
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 16px !important;
  }

  .footer-lang-wrapper {
    align-items: flex-start;
    margin-top: 12px;
  }

  .footer .container {
    padding: 0 24px;
  }

  .footer-social {
    gap: 10px !important;
    margin-top: 16px;
    margin-left: 0;
  }

  .footer-social a {
    width: 32px;
    height: 40px;
    font-size: 24px !important;
  }

  .footer-logo img {
  height: 40px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 0;
    margin-bottom: 24px;
  }

  .footer-accordion-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border-top: 1px solid #333333;
    padding: 16px 0;
    margin: 0 !important;
  }

  .footer-col:last-child {
    border-bottom: 1px solid #333333;
    margin-bottom: 32px;
  }

  .accordion-icon {
    display: block !important;
    transition: transform 0.3s ease;
    font-size: 12px;
  }

  .footer-accordion-btn.active .accordion-icon {
    transform: rotate(-180deg);
  }

  .footer-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    display: flex;
    flex-direction: column;
  }

  .footer-accordion-content a,
  .footer-accordion-content span {
    padding: 8px 0;
    margin-bottom: 0;
  }

  .footer-about {
    border-top: 1px solid #333333;
    padding-top: 24px;
    margin-top: 8px;
  }

  .footer-bottom {
    margin: 24px -24px 0;
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .footer-bottom-nav {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 0;
  }

  .footer-bottom > .footer-social {
    order: 1;
    justify-content: center;
    margin: 16px 0;
    transform: none;
  }

  .footer-bottom > .footer-legal-section {
    order: 2;
  }

  .footer-bottom-links {
    justify-content: center;
    text-align: center;
  }

  .footer-legal-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-copyright {
    margin-right: 0;
    margin-bottom: 12px;
    text-align: center;
  }

  .footer-legal-links {
    justify-content: center;
    width: 100%;
  }
}

@media (min-width: 769px) {
  .accordion-icon {
    display: none !important;
  }

  .footer-accordion-content {
    display: block !important;
    max-height: none !important;
  }
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 998;
  box-shadow: 0 4px 20px rgba(250, 129, 45, 0.45);
}

.storage-showcase--right .storage-bg-video {
  object-position: left center;
}

.storage-showcase--right .storage-scrim {
  background:
    linear-gradient(270deg, #000000 0%, rgba(0, 0, 0, 0.92) 38%, rgba(0, 0, 0, 0.55) 66%, rgba(0, 0, 0, 0.15) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, transparent 20%, transparent 80%, rgba(0, 0, 0, 0.75) 100%);
}

.storage-showcase--right .storage-inner {
  margin-left: auto;
}

.radio-sticky-track {
  position: relative;
  height: 360vh;
  width: 100%;
  background-color: #000000;
}

.radio-sticky-track #radio-astronomy {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 100vh;
  border-top: none;
  border-bottom: none;
  padding: 80px 5% 80px calc(5% - 16px);
}

@media (max-width: 768px) {
  .back-to-top {
    width: 28px;
    height: 42px;
    bottom: 20px;
    left: 16px;
    font-size: 1.05rem;
  }
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.back-to-top:hover {
  transform: translateY(-3px);
  background: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.counter {
  display: inline;
}

@media (max-width: 1200px) {
  .hero-title {
    font-size: clamp(2rem, 4vw, 3.1rem);
  }
}

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    justify-content: center;
  }
}

@media (max-width: 1100px) {
  .section-header {
    text-align: center;
  }

  .section-label {
    margin-left: auto;
    margin-right: auto;
  }

  .section-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .nav-links {
    display: none;
  }

  .project-card {
    flex-direction: column;
  }

  .project-thumb {
    width: 100%;
    height: 220px;
  }

  .project-placeholder {
    min-height: 0;
  }

  .project-info {
    padding: 24px 22px;
  }

  .menu-toggle {
    display: flex;
  }

  body.menu-open {
    overflow: hidden;
  }

  .nav-links.active {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    overflow-x: hidden;
    background: var(--bg-white);
    padding: 96px 20px 40px;
    margin-left: 0;
    gap: 10px;
    z-index: 9999;
    pointer-events: auto !important;
    transform: none;
    animation: slideUpGrid 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-links.active * {
    pointer-events: auto !important;
  }

  @keyframes slideUpGrid {
    from {
      transform: translateY(100%);
      opacity: 0;
    }

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

  .nav-links.active a::after {
    display: none !important;
  }

  .nav-links.active a:not(.btn):not(.lang-dropdown-content a):not(.nav-dropdown-content a) {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-light);
    border-radius: 0;
    padding: 16px 8px;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: none;
    transition: transform 0.25s ease, color 0.25s ease;
  }

  .nav-links.active a:not(.btn):not(.lang-dropdown-content a):not(.nav-dropdown-content a):hover {
    transform: translateX(6px);
    box-shadow: none;
    color: var(--primary);
    border-color: var(--border-light);
  }

  .nav-links.active a.btn {
    width: 100%;
    margin-top: 20px;
    margin-left: 0;
    padding: 16px;
    font-size: 1.05rem;
    border-radius: 50px;
    text-align: center;
    justify-content: center;
    display: flex;
    box-shadow: 0 6px 20px rgba(250, 129, 45, 0.25);
  }

  .nav-links.active .search-toggle {
    order: 98;
    margin-top: 14px;
    width: 100%;
    display: flex !important;
    align-items: center;
    justify-content: flex-start !important;
    gap: 12px;
    height: auto;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-light);
    border-radius: 0;
    padding: 16px 8px;
    font-size: 1.1rem;
    color: var(--text-dark);
    box-shadow: none;
    cursor: pointer;
    transition: transform 0.25s ease, color 0.25s ease;
  }

  .nav-links.active .search-toggle-label {
    display: inline;
    font-size: 1.1rem;
    font-weight: 500;
  }

  .nav-links.active .search-toggle:hover {
    transform: translateX(6px);
    box-shadow: none;
    color: var(--primary);
  }

  .lang-dropdown {
    display: none !important;
    width: 100%;
  }

  .lang-dropbtn {
    width: 100%;
    justify-content: flex-start;
    padding: 16px 8px;
    font-size: 1.1rem;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-light);
    border-radius: 0;
    color: var(--text-dark);
    font-weight: 500;
    transition: transform 0.25s ease, color 0.25s ease;
  }
  
  .lang-dropbtn:hover {
    transform: translateX(6px);
    color: var(--primary);
  }

  .lang-dropdown-content {
    position: static;
    width: 100%;
    box-shadow: none;
    border: 1px solid var(--border);
    background: var(--bg-dropdown);
    border-radius: 8px;
    margin-top: 8px;
    z-index: 1100;
    display: none;
  }

  .lang-dropdown.show .lang-dropdown-content {
    display: block;
    animation: fadeDown 0.3s ease;
  }

  .lang-dropdown-content a {
    justify-content: center;
    font-size: 1.05rem;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-light);
    text-align: center;
    display: block;
  }

  .lang-dropdown-content a:last-child {
    border-bottom: none;
  }

  .nav-dropdown {
    width: 100%;
    position: relative;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-dropbtn {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    padding: 16px 8px;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-light);
    border-radius: 0;
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 500;
    box-shadow: none;
    transition: transform 0.25s ease, color 0.25s ease;
  }

  .nav-dropbtn:hover {
    transform: translateX(6px);
    color: var(--primary);
  }

  .nav-dropbtn::after {
    display: none !important;
  }

  .nav-dropdown-content {
    position: static !important;
    width: 100% !important;
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
    border-radius: 0 !important;
    margin-top: 0 !important;
    z-index: auto !important;
    display: none;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    max-height: none !important;
    overflow-y: visible !important;
    height: auto !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-top: none !important;
    border-bottom: none !important;
  }

  .nav-dropdown.open .nav-dropdown-content {
    display: block !important;
  }

  .nav-dropdown-content .nav-mega-inner {
    width: 100%;
    padding: 4px 0 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .nav-mega-col {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0 0 0 12px;
    border-left: 2px solid var(--border-light);
    box-shadow: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .nav-mega-col-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    padding: 4px 0 8px;
    margin: 0;
    border-bottom: none;
  }

  .nav-mega-link {
    justify-content: flex-start;
    text-align: left;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-body);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
    border-radius: 0;
    display: flex;
    align-items: center;
    transition: var(--transition);
  }
  
  .nav-mega-link:last-child {
    border-bottom: none;
  }

  .nav-mega-link::before {
    display: none;
  }

  .nav-mega-link::after {
    content: "\2192";
    color: var(--text-muted);
    font-weight: 400;
    opacity: 0.5;
  }

  .nav-mega-see-all {
    margin: 6px 2px 10px;
    padding: 4px 0;
    font-size: 0.92rem;
    color: var(--primary);
    background: transparent;
  }



  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .hero-title {
    font-size: clamp(1.9rem, 6.5vw, 2.5rem);
    line-height: 1.15;
  }

  .hero-desc {
    font-size: 1rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* =====================================================================
 * STORAGE ARCHITECTURE SHOWCASE (Kardashev-style full-width dark section)
 * ===================================================================== */
.storage-showcase {
  position: relative;
  min-height: 82vh;
  width: 100%;
  background-color: #000000;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 96px 5% 96px calc(5% - 16px);
}

.storage-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.storage-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, #000000 0%, rgba(0, 0, 0, 0.92) 38%, rgba(0, 0, 0, 0.55) 66%, rgba(0, 0, 0, 0.15) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, transparent 20%, transparent 80%, rgba(0, 0, 0, 0.75) 100%);
}

.storage-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 720px;
}

.storage-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 14px;
}

.storage-title {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 4vw, 3.35rem);
  font-weight: 500;
  color: #ffffff;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 40px;
}

.storage-list {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.storage-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.92rem;
  line-height: 1.5;
  transition: color 0.25s ease;
}

.storage-row:hover,
.storage-row.is-active {
  color: #ffffff;
}

.storage-row-label {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
}

.storage-row-desc {
  font-weight: 400;
}

.storage-showcase--right .storage-bg-video {
  object-position: left center;
}

.storage-showcase--right .storage-scrim {
  background:
    linear-gradient(270deg, #000000 0%, rgba(0, 0, 0, 0.92) 38%, rgba(0, 0, 0, 0.55) 66%, rgba(0, 0, 0, 0.15) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, transparent 20%, transparent 80%, rgba(0, 0, 0, 0.75) 100%);
}

.storage-showcase--right .storage-inner {
  margin-left: auto;
}

.radio-sticky-track {
  position: relative;
  height: 360vh;
  width: 100%;
  background-color: #000000;
}

.radio-sticky-track #radio-astronomy {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 100vh;
  border-top: none;
  border-bottom: none;
  padding: 80px 5% 80px calc(5% - 16px);
}

@media (max-width: 768px) {
  .storage-showcase {
    min-height: 70vh;
    padding: 72px 24px;
  }
  .storage-title {
    margin-bottom: 28px;
  }
  .storage-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 0;
  }
}

.partners-strip {
    padding: 40px 0;
  }

  .partners-grid {
    grid-template-columns: 1fr;
  }

  .partners-label {
    text-align: center;
    font-size: 1.1rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .footer-lang {
    border-left: none;
    padding-left: 0;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 20px;
  }

  .hero-title {
    font-size: clamp(1.65rem, 6vw, 2.1rem);
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .hero-btn {
    width: 100%;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .footer-grid,
  .nonprofit-card {
    flex-basis: 88vw;
    flex-direction: column !important;
    min-height: 460px;
    height: auto;
  }

  .expertise-card {
    flex-basis: 78vw;
  }

  .nonprofit-card .project-thumb {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: 200px !important;
    border-radius: 15px 15px 0 0;
  }
  
  .nonprofit-card .project-img {
    border-radius: 15px 15px 0 0;
  }

  .nonprofit-card .project-info {
    padding: 24px 22px !important;
  }

  .services-carousel .svc-item {
    flex-basis: 84vw;
    min-height: 280px;
  }

  .logo-icon img {
    object-fit: contain;
    width: 140px;
    height: auto;
  }
}

#main-content {
  transition: opacity 0.3s ease;
}

.svg-icon {
  display: inline-block;
  vertical-align: middle;
  width: 1em;
  height: 1em;
}

.hidden {
  display: none;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.reveal:nth-child(3) {
  transition-delay: 0.2s;
}

.reveal:nth-child(4) {
  transition-delay: 0.3s;
}

.reveal:nth-child(5) {
  transition-delay: 0.4s;
}

.reveal:nth-child(6) {
  transition-delay: 0.5s;
}

.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.section+.section::before {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  margin: 0 auto 60px auto;
  border-radius: 3px;
  opacity: 0.6;
}

#preloader {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--bg-white, #0a0a0a);
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.loader-logo {
  width: 54px;
  height: 54px;
  animation: logo-pulse 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.loader-logo-svg polygon {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: draw-hex 2s ease-in-out infinite alternate;
}

@keyframes draw-hex {
  0% { stroke-dashoffset: 200; }
  100% { stroke-dashoffset: 0; }
}

@keyframes logo-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.95); opacity: 0.8; }
}

.loader-brand-name {
  font-family: var(--font-heading, system-ui, sans-serif);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.35em;
  color: var(--text-dark, #fff);
  opacity: 0;
  animation: fade-in-up 0.8s ease forwards 0.3s;
  margin-left: 0.35em;
}

.loader-progress {
  width: 100px;
  height: 2px;
  background: var(--border, rgba(255,255,255,0.1));
  border-radius: 2px;
  overflow: hidden;
  margin-top: 8px;
  opacity: 0;
  animation: fade-in-up 0.8s ease forwards 0.5s;
}

.loader-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--primary, #fa812d);
  border-radius: 2px;
  animation: load-bar 2.5s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes load-bar {
  0% { width: 0%; }
  30% { width: 40%; }
  70% { width: 80%; }
  100% { width: 100%; }
}

.page-transition-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-white);
  z-index: 99998;
  transform: translateY(100%);
  transition: transform 0.6s cubic-bezier(0.8, 0, 0.2, 1);
  pointer-events: none;
}

.page-transitioning .page-transition-overlay {
  transform: translateY(0);
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.dt-tabs {
  display: flex;
  gap: 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
  overflow-x: auto;
  scrollbar-width: none;
}

.dt-tabs::-webkit-scrollbar {
  display: none;
}

.dt-tab {
  padding: 14px 2px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.dt-tab:hover {
  color: var(--text-dark);
}

.dt-tab.active {
  color: var(--primary);
}

.dt-tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.dt-featured,
.dt-card {
  display: flex;
  align-items: stretch;
  min-height: 154px;
  height: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-white);
  box-shadow: none;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.dt-featured:hover,
.dt-card:hover {
  transform: translateY(-4px);
  border-color: rgba(250, 129, 45, 0.35);
  box-shadow: none;
}

.dt-featured {
  margin-bottom: 24px;
  max-width: 580px;
}

.dt-featured .dt-photo,
.dt-card .dt-photo {
  width: 140px;
  min-width: 140px;
  max-width: 140px;
  height: 100%;
  min-height: 100%;
  align-self: stretch;
  flex-shrink: 0;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.dt-featured .dt-info,
.dt-card .dt-info {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  min-width: 0;
}

.dt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.dt-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 4px;
}

.dt-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
  line-height: 1.3;
}

.dt-featured .dt-name {
  font-size: 1.15rem;
}

.dt-role {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.dt-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 20px;
}

.dt-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.dt-modal {
  background: var(--bg-white);
  border-radius: 16px;
  max-width: 900px;
  width: 100%;
  max-height: 85vh;
  overflow: hidden;
  display: flex;
  transform: translateY(16px);
  transition: transform 0.25s ease;
}

.dt-modal-overlay.active .dt-modal {
  transform: translateY(0);
}

.dt-modal-left {
  flex: 1.3;
  padding: 44px;
  overflow-y: auto;
}

.dt-modal-right {
  flex: 1;
  background: linear-gradient(160deg,
      var(--primary) 0%,
      var(--primary-dark) 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 44px 30px;
  position: relative;
  flex-shrink: 0;
}

.dt-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.2s ease;
  z-index: 2;
}

.dt-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.dt-modal-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.4);
  margin-bottom: 18px;
}

.dt-modal-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dt-modal-right h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 0 6px;
}

.dt-modal-right p {
  font-size: 0.9rem;
  opacity: 0.92;
  margin: 0;
  line-height: 1.5;
}

.dt-modal-nationality {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 14px;
}

.dt-modal-bio {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-body);
  font-style: italic;
  margin-bottom: 26px;
}

.dt-modal-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.dt-modal-skills span {
  font-size: 0.78rem;
  padding: 5px 14px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-body);
  font-weight: 500;
}

.dt-modal-exp {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.dt-modal-socials {
  display: flex;
  gap: 10px;
}

.dt-modal-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  border: 1px solid var(--border);
  color: var(--text-body);
  text-decoration: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.dt-modal-socials a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.storage-showcase--right .storage-bg-video {
  object-position: left center;
}

.storage-showcase--right .storage-scrim {
  background:
    linear-gradient(270deg, #000000 0%, rgba(0, 0, 0, 0.92) 38%, rgba(0, 0, 0, 0.55) 66%, rgba(0, 0, 0, 0.15) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, transparent 20%, transparent 80%, rgba(0, 0, 0, 0.75) 100%);
}

.storage-showcase--right .storage-inner {
  margin-left: auto;
}

.radio-sticky-track {
  position: relative;
  height: 360vh;
  width: 100%;
  background-color: #000000;
}

.radio-sticky-track #radio-astronomy {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 100vh;
  border-top: none;
  border-bottom: none;
  padding: 80px 5% 80px calc(5% - 16px);
}

@media (max-width: 768px) {

  .dt-featured,
  .dt-card {
    flex-direction: column;
    min-height: auto;
    height: auto;
    max-width: 100%;
  }

  .dt-featured .dt-photo,
  .dt-card .dt-photo {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    height: 190px;
    min-height: 190px;
    border-right: none;
    border-bottom: 1px dashed var(--border);
  }

  .dt-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .dt-modal {
    flex-direction: column;
    max-height: 90vh;
    overflow-y: auto;
  }

  .dt-modal-right {
    padding: 32px 24px;
  }

  .dt-modal-left {
    padding: 32px 26px;
  }
}

@media (min-width: 1025px) and (max-width: 1366px) {

  .nonprofit-grid,
  .container {
    padding: 0 5%;
  }
}

/* Custom Arrow Cursor */
body,
a,
button,
input,
textarea,
select,
body *,
a *,
button * {
  cursor:
    url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='28' viewBox='0 0 24 28'%3E%3Cpath d='M 2 1 L 2 23 L 8 17 L 19 17 Z' fill='%23f97316' stroke='%23ffffff' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E") 2 1,
    auto !important;
}

.storage-showcase--right .storage-bg-video {
  object-position: left center;
}

.storage-showcase--right .storage-scrim {
  background:
    linear-gradient(270deg, #000000 0%, rgba(0, 0, 0, 0.92) 38%, rgba(0, 0, 0, 0.55) 66%, rgba(0, 0, 0, 0.15) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, transparent 20%, transparent 80%, rgba(0, 0, 0, 0.75) 100%);
}

.storage-showcase--right .storage-inner {
  margin-left: auto;
}

.radio-sticky-track {
  position: relative;
  height: 360vh;
  width: 100%;
  background-color: #000000;
}

.radio-sticky-track #radio-astronomy {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 100vh;
  border-top: none;
  border-bottom: none;
  padding: 80px 5% 80px calc(5% - 16px);
}

@media (max-width: 768px) {
  .logo {
    margin-left: 0 !important;
  }
  .logo-icon img {
    width: 170px !important;
  }
}

/* 笏笏 Modern High-Conversion Home CTA Section 笏笏 */
.home-cta-section {
  padding: 80px 20px;
  background: var(--bg-white);
  position: relative;
  overflow: hidden;
}
.home-cta-card {
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.12) 0%, rgba(15, 23, 42, 0.8) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 64px 40px;
  text-align: center;
  position: relative;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
}
.home-cta-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(220, 38, 38, 0.12);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.home-cta-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--text-dark);
  margin-bottom: 18px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.home-cta-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 36px;
  line-height: 1.65;
}
.home-cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}
.home-cta-btn-primary {
  padding: 14px 34px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.3);
}
.home-cta-btn-secondary {
  padding: 14px 30px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.home-cta-btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}



/* === SMOOTH PERFORMANCE & TACTILE OPTIMIZATIONS === */
.footer-lang-btn:active, .lang-dropbtn:active, .search-toggle:active {
  transform: scale(0.92);
  transition: transform 0.12s cubic-bezier(0.2, 0, 0.13, 1.5);
}
.glass-card, .team-card, .project-card, .why-card, .testimonial-card, .partner-card {
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

/* ===== LIGHTHOUSE ACCESSIBILITY & CONTRAST OPTIMIZATIONS ===== */
.hero-stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 6px;
}

.footer-copyright,
.footer-legal-links a,
.footer-legal-links span {
  color: #b0b0b0 !important;
}

@font-face {
  font-family: 'Font Awesome 6 Free';
  font-display: swap;
}
@font-face {
  font-family: 'Font Awesome 6 Brands';
  font-display: swap;
}

/* Support contact widget */
#nj-chat-toggle {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 10002;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

#nj-chat-toggle.contact-page-support-toggle {
  position: static;
  flex: 0 0 58px;
  margin-left: auto;
}

.contact-support-area {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-light);
}

.contact-support-area h4 {
  margin: 0 0 4px;
  color: var(--text-dark);
}

.contact-support-area p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

#nj-chat-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 28px rgba(0, 0, 0, 0.35);
}

#nj-chat-toggle .icon-open,
#nj-chat-toggle .icon-close {
  display: block;
}

#nj-chat-toggle .icon-close,
#nj-chat-toggle.open .icon-open {
  display: none;
}

#nj-chat-toggle.open .icon-close {
  display: block;
}

#nj-chat-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.42);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

#nj-chat-overlay.visible {
  opacity: 1;
  visibility: visible;
}

#nj-chat-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  width: min(420px, 100vw);
  height: 100%;
  height: 100dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--bg-white);
  color: var(--text-body);
  border-left: 1px solid var(--border);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.2);
  transform: translateX(105%);
  visibility: hidden;
  transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.32s;
}

#nj-chat-sidebar.open {
  transform: translateX(0);
  visibility: visible;
}

.nj-sb-header {
  padding: 24px 24px 18px;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
}

.nj-sb-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  margin-bottom: 18px;
}

.nj-sb-logo img {
  width: 170px;
  max-height: 46px;
  object-fit: contain;
  object-position: left center;
}

.nj-sb-close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg-white);
  color: var(--text-body);
  cursor: pointer;
}

.nj-sb-status {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.nj-sb-status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

.nj-sb-body {
  display: grid;
  gap: 10px;
  padding: 24px;
}

.nj-sb-section-label {
  margin: 4px 0 2px;
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nj-sb-btn {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 68px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-light);
  color: var(--text-body);
}

.nj-sb-btn:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
}

.nj-sb-btn-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 1.1rem;
}

.nj-sb-btn-icon.green {
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
}

.nj-sb-btn-text {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.nj-sb-btn-title {
  overflow-wrap: anywhere;
  color: var(--text-dark);
  font-weight: 700;
}

.nj-sb-btn-sub {
  color: var(--text-muted);
  font-size: 0.84rem;
}

.nj-sb-btn-arrow {
  margin-left: auto;
  color: var(--text-muted);
}

.nj-sb-divider {
  height: 1px;
  margin: 8px 0;
  background: var(--border);
}

.nj-sb-info {
  margin-top: auto;
  padding: 18px 24px 24px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.82rem;
}

.nj-sb-info a {
  color: var(--text-body);
}

#nj-chat-pulse {
  display: none !important;
}

@media (max-width: 480px) {
  #nj-chat-toggle {
    right: 16px;
    bottom: 16px;
  }

  #nj-chat-sidebar {
    width: 100%;
  }
}

/* =====================================================================
 * NETJAN Okami NT DEMO SECTION STYLES
 * ===================================================================== */
.okami-demo-section {
  position: relative;
  padding: 90px 0 100px;
  background: transparent;
  border-top: none;
  border-bottom: none;
  overflow: hidden;
}

.okami-demo-section .section-intro {
  text-align: center;
  margin-bottom: 32px;
}

.okami-demo-section .section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  background: rgba(255, 107, 43, 0.12);
  border: 1px solid rgba(255, 107, 43, 0.35);
  color: var(--primary, #ff6b2b);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}


.okami-demo-section .section-title {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.okami-demo-section .section-desc {
  max-width: 680px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.okami-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1380px;
  margin: 0 auto;
}

.okami-card {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: transparent;
  border: 1px solid var(--border, rgba(0, 0, 0, 0.08));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
}

.okami-card::after {
  content: '\f00e';
  font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free', sans-serif;
  font-weight: 900;
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  background: rgba(255, 107, 43, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
  pointer-events: none;
  z-index: 2;
}

.okami-card:hover::after {
  opacity: 1;
  transform: scale(1);
}

.okami-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12), 0 0 25px rgba(255, 107, 43, 0.15);
  border-color: rgba(255, 107, 43, 0.45);
}

.okami-card::before {
  content: '\f03e';
  font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free', sans-serif;
  font-weight: 900;
  position: absolute;
  font-size: 24px;
  color: var(--text-muted);
  opacity: 0.25;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.okami-card:hover::before {
  opacity: 0.45;
}

.okami-card img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 18px;
  transition: transform 0.4s ease;
  cursor: zoom-in;
}

.okami-card img[src=""],
.okami-card img:not([src]) {
  display: none;
}

.okami-card:hover img {
  transform: scale(1.03);
}

.okami-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1380px;
  margin: 36px auto 0;
}

.okami-gallery-item {
  display: flex;
  flex-direction: column;
}

.okami-gallery-item .okami-card {
  border-radius: 14px;
}

.okami-gallery-item .okami-card img {
  border-radius: 14px;
}

.okami-gallery-desc {
  margin-top: 10px;
  font-size: 0.92rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
  font-weight: 500;
}

@media (max-width: 1024px) {
  .okami-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 28px;
  }
}

.storage-showcase--right .storage-bg-video {
  object-position: left center;
}

.storage-showcase--right .storage-scrim {
  background:
    linear-gradient(270deg, #000000 0%, rgba(0, 0, 0, 0.92) 38%, rgba(0, 0, 0, 0.55) 66%, rgba(0, 0, 0, 0.15) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, transparent 20%, transparent 80%, rgba(0, 0, 0, 0.75) 100%);
}

.storage-showcase--right .storage-inner {
  margin-left: auto;
}

.radio-sticky-track {
  position: relative;
  height: 360vh;
  width: 100%;
  background-color: #000000;
}

.radio-sticky-track #radio-astronomy {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 100vh;
  border-top: none;
  border-bottom: none;
  padding: 80px 5% 80px calc(5% - 16px);
}

@media (max-width: 768px) {
  .okami-demo-section {
    padding: 40px 0 50px;
  }
  .okami-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .okami-card {
    border-radius: 12px;
  }
  .okami-card img {
    border-radius: 12px;
  }
}

@media (max-width: 640px) {
  .okami-gallery-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 24px;
  }
  .okami-gallery-item .okami-card {
    border-radius: 12px;
  }
  .okami-gallery-item .okami-card img {
    border-radius: 12px;
  }
}

/* =====================================================================
 * IMAGE LIGHTBOX STYLES
 * ===================================================================== */
.image-lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999999;
  background: rgba(8, 8, 12, 0.98);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
  padding: 30px;
  cursor: zoom-out;
}

.image-lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.image-lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 95vw;
  max-height: 92vh;
  cursor: default;
}

.image-lightbox-img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(92vw, 1360px);
  max-height: 78vh;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(250, 129, 45, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transform: scale(0.95);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}

.image-lightbox-overlay.active .image-lightbox-img {
  transform: scale(1);
}

.image-lightbox-caption {
  display: inline-block;
  margin-top: 16px;
  padding: 8px 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-align: center;
  max-width: 800px;
  line-height: 1.4;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.image-lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10000000;
}

.image-lightbox-close:hover {
  background: var(--primary, #fa812d);
  border-color: var(--primary, #fa812d);
  transform: rotate(90deg) scale(1.08);
  color: #ffffff;
}

.storage-showcase--right .storage-bg-video {
  object-position: left center;
}

.storage-showcase--right .storage-scrim {
  background:
    linear-gradient(270deg, #000000 0%, rgba(0, 0, 0, 0.92) 38%, rgba(0, 0, 0, 0.55) 66%, rgba(0, 0, 0, 0.15) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, transparent 20%, transparent 80%, rgba(0, 0, 0, 0.75) 100%);
}

.storage-showcase--right .storage-inner {
  margin-left: auto;
}

.radio-sticky-track {
  position: relative;
  height: 360vh;
  width: 100%;
  background-color: #000000;
}

.radio-sticky-track #radio-astronomy {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 100vh;
  border-top: none;
  border-bottom: none;
  padding: 80px 5% 80px calc(5% - 16px);
}

@media (max-width: 768px) {
  .image-lightbox-overlay {
    padding: 16px;
  }
  .image-lightbox-close {
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    font-size: 22px;
  }
  .image-lightbox-img {
    max-width: 96vw;
    max-height: 76vh;
    border-radius: 8px;
  }
  .image-lightbox-caption {
    font-size: 0.85rem;
    padding: 6px 16px;
    margin-top: 12px;
  }
}


/* =====================================================================
 * NEWS BELL NOTIFICATION
 * ===================================================================== */
.nj-bell-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.nj-bell-btn:hover {
  transform: scale(1.08);
}

.nj-bell-btn svg {
  transform-origin: top center;
  transition: transform 0.2s ease;
}

.nj-bell-btn:hover svg {
  animation: nj-bell-ring 0.6s ease;
}

@keyframes nj-bell-ring {
  0% { transform: rotate(0); }
  3% { transform: rotate(14deg); }
  6% { transform: rotate(-14deg); }
  9% { transform: rotate(10deg); }
  12% { transform: rotate(-10deg); }
  15% { transform: rotate(6deg); }
  18% { transform: rotate(-4deg); }
  21% { transform: rotate(0); }
  100% { transform: rotate(0); }
}

.nj-bell-badge {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 14px;
  height: 14px;
  padding: 0 3px;
  background: #e53935 !important;
  color: #ffffff !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 8.5px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  border-radius: 999px;
  text-align: center;
  pointer-events: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  display: flex !important;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border: 1.5px solid var(--bg-white, #ffffff);
  box-sizing: border-box;
}

@keyframes nj-badge-attention {
  0% { transform: scale(1); }
  7% { transform: scale(1.25); box-shadow: 0 0 10px rgba(229, 57, 53, 0.8); }
  14% { transform: scale(0.95); }
  21% { transform: scale(1.12); box-shadow: 0 0 6px rgba(229, 57, 53, 0.5); }
  28% { transform: scale(1); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); }
  100% { transform: scale(1); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); }
}

@keyframes nj-bell-pop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* 窶披披・Panel n盻品 窶披披・*/
.nj-bell-panel {
  position: absolute;
  top: 60px;
  right: 12px;
  width: 360px;
  max-width: calc(100vw - 24px);
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.16);
  z-index: 3000;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nj-bell-notice {
  margin: 12px 14px 10px;
  padding: 11px 13px;
  background: var(--primary-light);
  border: 1px solid rgba(250, 129, 45, 0.28);
  border-radius: 9px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.nj-bell-notice-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
}

.nj-bell-notice-body {
  font-size: 0.76rem;
  line-height: 1.45;
  color: var(--text-dark);
  font-weight: 500;
}

.nj-bell-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.nj-bell-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 12px;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.nj-bell-panel-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 2px 6px;
  border-radius: 6px;
  line-height: 1;
  transition: background 0.15s;
}
.nj-bell-panel-close:hover {
  background: var(--bg-light);
  color: var(--text-dark);
}

.nj-bell-panel-empty {
  padding: 28px 20px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.nj-bell-panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nj-bell-panel-item {
  border-bottom: 1px solid var(--border-light, #f0f0f0);
}
.nj-bell-panel-item:last-child {
  border-bottom: none;
}

.nj-bell-panel-link {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 16px;
  text-decoration: none;
  transition: background 0.15s;
}
.nj-bell-panel-link:hover {
  background: var(--bg-light);
}

.nj-bell-panel-title {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nj-bell-panel-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.nj-bell-panel-footer {
  display: block;
  padding: 11px 16px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  border-top: 1px solid var(--border);
  text-decoration: none;
  transition: background 0.15s;
}
.nj-bell-panel-footer:hover {
  background: var(--primary-light);
}

/* Mobile: hiện nhãn chuông khi menu mở */
.nav-links.active .nj-bell-btn {
  order: 97;
  margin-top: 14px;
  width: 100%;
  display: flex !important;
  align-items: center;
  justify-content: flex-start !important;
  gap: 12px;
  height: auto;
  background: transparent;
  border: none;
}

/* Mobile: panel full width */
@media (max-width: 600px) {
  .nj-bell-panel {
    width: calc(100vw - 24px);
    right: 12px;
  }
}

/* =====================================================================
 * OKAMI INTEGRATED APPS SECTION (MODULAR GRID & COMPACT)
 * ===================================================================== */
.okami-apps-section {
  position: relative;
  padding: 30px 0 36px;
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.okami-apps-section .section-intro {
  text-align: center;
  margin-bottom: 18px;
}

.okami-apps-section .section-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 10px;
  background: rgba(252, 98, 8, 0.1);
  border: 1px solid rgba(252, 98, 8, 0.3);
  color: var(--primary, #fc6208);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.okami-apps-section .section-title {
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.okami-apps-section .section-desc {
  max-width: 580px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.okami-apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 440px));
  gap: 24px;
  justify-content: center;
  max-width: 920px;
  margin: 0 auto;
}

.okami-app-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-gray);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.okami-app-card:hover {
  transform: translateY(-3px);
  border-color: rgba(252, 98, 8, 0.45);
  box-shadow: 0 8px 24px rgba(252, 98, 8, 0.1);
}

.app-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1024 / 626;
  min-height: 220px;
  background: #0d0f14;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.app-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.okami-app-card:hover .app-card-thumb img {
  transform: scale(1.02);
}

.app-thumb-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(10, 10, 10, 0.85);
  color: #e5e5e5;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
}

.app-card-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.app-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.app-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(252, 98, 8, 0.15) 0%, rgba(252, 98, 8, 0.3) 100%);
  border: 1px solid rgba(252, 98, 8, 0.35);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.app-head-info {
  min-width: 0;
  flex: 1;
}

.app-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.25;
}

.app-tag-cat {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}

.app-desc {
  font-size: 0.77rem;
  line-height: 1.45;
  color: var(--text-muted);
  margin: 0 0 10px 0;
  flex: 1;
}

.app-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 12px;
}

.app-tags span {
  font-size: 0.68rem;
  padding: 2px 7px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-dark);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.app-tags span i {
  color: var(--primary);
  font-size: 0.65rem;
}

.app-card-foot {
  padding-top: 10px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.app-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 14px;
  background: linear-gradient(135deg, #fc6208 0%, #ff7a29 100%);
  color: #ffffff !important;
  text-decoration: none;
  border-radius: 7px;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(252, 98, 8, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.app-download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(252, 98, 8, 0.4);
}

.app-sub-info {
  font-size: 0.66rem;
  color: var(--text-muted);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

/* Upcoming Placeholder Card */
.app-card-upcoming {
  border: 1.5px dashed var(--border);
  background: rgba(255, 255, 255, 0.015);
  box-shadow: none;
}

.app-card-upcoming:hover {
  border-color: rgba(252, 98, 8, 0.4);
  background: rgba(252, 98, 8, 0.02);
}

.upcoming-content {
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
}

.upcoming-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px dashed var(--border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.upcoming-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 6px 0;
}

.upcoming-desc {
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--text-muted);
  max-width: 260px;
  margin: 0 0 16px 0;
}

.upcoming-badge {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.storage-showcase--right .storage-bg-video {
  object-position: left center;
}

.storage-showcase--right .storage-scrim {
  background:
    linear-gradient(270deg, #000000 0%, rgba(0, 0, 0, 0.92) 38%, rgba(0, 0, 0, 0.55) 66%, rgba(0, 0, 0, 0.15) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, transparent 20%, transparent 80%, rgba(0, 0, 0, 0.75) 100%);
}

.storage-showcase--right .storage-inner {
  margin-left: auto;
}

.radio-sticky-track {
  position: relative;
  height: 360vh;
  width: 100%;
  background-color: #000000;
}

.radio-sticky-track #radio-astronomy {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 100vh;
  border-top: none;
  border-bottom: none;
  padding: 80px 5% 80px calc(5% - 16px);
}

@media (max-width: 768px) {
  .okami-apps-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    padding: 0 10px;
  }
}



/* ==================== Subpage Styles: /about ==================== */
.page-hero {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 60%, var(--bg-gray) 100%);
    padding: 130px 20px 60px;
    position: relative;
    overflow: hidden;
  }
  .page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(250, 129, 45,0.08) 0%, transparent 70%);
    pointer-events: none;
  }
  .page-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-family: var(--font-heading);
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -0.03em;
  }
  .page-hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
  }
  .content-section {
    padding: 80px 20px;
    background: var(--bg-white);
  }
  .content-section.alt {
    background: var(--bg-light);
  }
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
  }
  .about-img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  }
  .about-text h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 20px;
  }
  .about-text p {
    font-size: 1.1rem;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 20px;
  }
  .vision-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
  }

  .storage-showcase--right .storage-bg-video {
  object-position: left center;
}

.storage-showcase--right .storage-scrim {
  background:
    linear-gradient(270deg, #000000 0%, rgba(0, 0, 0, 0.92) 38%, rgba(0, 0, 0, 0.55) 66%, rgba(0, 0, 0, 0.15) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, transparent 20%, transparent 80%, rgba(0, 0, 0, 0.75) 100%);
}

.storage-showcase--right .storage-inner {
  margin-left: auto;
}

.radio-sticky-track {
  position: relative;
  height: 360vh;
  width: 100%;
  background-color: #000000;
}

.radio-sticky-track #radio-astronomy {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 100vh;
  border-top: none;
  border-bottom: none;
  padding: 80px 5% 80px calc(5% - 16px);
}

@media (max-width: 768px) {
    .about-grid {
      grid-template-columns: 1fr;
      gap: 40px;
    }
  }

/* ==================== Subpage Styles: /services ==================== */
.page-hero {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 60%, var(--bg-gray) 100%);
    padding: 130px 20px 60px;
    position: relative;
    overflow: hidden;
  }
  .page-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-family: var(--font-heading);
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.1;
  }
  .page-hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
  }
  .services-list {
    padding: 80px 20px;
    max-width: 1000px;
    margin: 0 auto;
  }
  .services-list .svc-item {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 20px;
    border-radius: 8px;
  }
  .services-list .svc-item:nth-child(even) {
    flex-direction: row-reverse;
  }
  .services-list .svc-icon {
    flex: 0 0 120px;
    height: 120px;
    background: var(--bg-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary);
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.02);
  }
  .services-list .svc-content {
    flex: 1;
  }
  .services-list .svc-content h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 15px;
  }
  .services-list .svc-content p {
    font-size: 1.05rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 15px;
  }
  .services-list .svc-tags span {
    display: inline-block;
    padding: 4px 12px;
    background: var(--bg-gray);
    color: var(--text-dark);
    font-size: 0.8rem;
    border-radius: 50px;
    margin-right: 8px;
    margin-bottom: 8px;
  }
  .storage-showcase--right .storage-bg-video {
  object-position: left center;
}

.storage-showcase--right .storage-scrim {
  background:
    linear-gradient(270deg, #000000 0%, rgba(0, 0, 0, 0.92) 38%, rgba(0, 0, 0, 0.55) 66%, rgba(0, 0, 0, 0.15) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, transparent 20%, transparent 80%, rgba(0, 0, 0, 0.75) 100%);
}

.storage-showcase--right .storage-inner {
  margin-left: auto;
}

.radio-sticky-track {
  position: relative;
  height: 360vh;
  width: 100%;
  background-color: #000000;
}

.radio-sticky-track #radio-astronomy {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 100vh;
  border-top: none;
  border-bottom: none;
  padding: 80px 5% 80px calc(5% - 16px);
}

@media (max-width: 768px) {
    .services-list .svc-item, .services-list .svc-item:nth-child(even) {
      flex-direction: column;
      text-align: center;
      gap: 20px;
    }
  }

/* ==================== Subpage Styles: /projects ==================== */
.projects-hero {
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 60%, var(--bg-gray) 100%);
    padding: 140px 20px 60px;
    position: relative;
    overflow: hidden;
  }
  .projects-hero-inner {
    max-width: 860px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
  }
  .projects-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-family: var(--font-heading);
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -0.02em;
  }
  .projects-hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 30px;
    line-height: 1.6;
  }
  .filter-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
  }
  .filter-btn {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    padding: 10px 22px;
    border-radius: 9999px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  }
  .filter-btn:hover,
  .filter-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.25);
  }
  .projects-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 100px;
  }
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 32px;
  }
  .project-item {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    position: relative;
  }
  .project-item:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 16px 36px rgba(0,0,0,0.08);
  }
  .project-header-visual {
    height: 190px;
    position: relative;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.08), rgba(249, 115, 22, 0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
  }
  .project-header-visual i {
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.85;
    transition: transform 0.4s ease;
  }
  .project-item:hover .project-header-visual i {
    transform: scale(1.12);
  }
  .project-status-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 5px 12px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(8px);
  }
  .status-production {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
  }
  .status-deploy {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
  }
  .status-opensource {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
  }
  .status-rnd {
    background: rgba(168, 85, 247, 0.15);
    color: #a855f7;
    border: 1px solid rgba(168, 85, 247, 0.3);
  }
  .project-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
  }
  .project-cat-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
  }
  .project-title {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.3;
  }
  .project-desc {
    font-size: 0.98rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
  }
  .project-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 14px;
    background: var(--bg-light);
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
  }
  .metric-box {
    text-align: center;
  }
  .metric-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    font-family: var(--font-heading);
  }
  .metric-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 2px;
  }
  .project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
  }
  .project-tags span {
    padding: 4px 10px;
    background: var(--bg-gray);
    color: var(--text-muted);
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 500;
  }
  .project-links {
    display: flex;
    gap: 12px;
    margin-top: auto;
  }
  .project-link-btn {
    flex: 1;
    text-align: center;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  .btn-outline-project {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
  }
  .btn-outline-project:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(220, 38, 38, 0.04);
  }
  .projects-cta {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05), rgba(0, 0, 0, 0.02));
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 50px 30px;
    text-align: center;
    margin-top: 60px;
  }
  .projects-cta h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 14px;
    font-family: var(--font-heading);
  }
  .projects-cta p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 28px;
    line-height: 1.6;
  }
  .storage-showcase--right .storage-bg-video {
  object-position: left center;
}

.storage-showcase--right .storage-scrim {
  background:
    linear-gradient(270deg, #000000 0%, rgba(0, 0, 0, 0.92) 38%, rgba(0, 0, 0, 0.55) 66%, rgba(0, 0, 0, 0.15) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, transparent 20%, transparent 80%, rgba(0, 0, 0, 0.75) 100%);
}

.storage-showcase--right .storage-inner {
  margin-left: auto;
}

.radio-sticky-track {
  position: relative;
  height: 360vh;
  width: 100%;
  background-color: #000000;
}

.radio-sticky-track #radio-astronomy {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 100vh;
  border-top: none;
  border-bottom: none;
  padding: 80px 5% 80px calc(5% - 16px);
}

@media (max-width: 768px) {
    .projects-grid {
      grid-template-columns: 1fr;
    }
  }

/* ==================== Subpage Styles: /contact ==================== */
.contact-page-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 100px;
  }

/* ==================== Subpage Styles: /okami ==================== */
.coming-soon-wrap {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 40px 24px;
      background: var(--bg-white);
      position: relative;
      overflow: hidden;
    }
    .coming-soon-wrap::before {
      content: 'OKAMI';
      position: absolute;
      font-size: clamp(100px, 25vw, 280px);
      font-weight: 900;
      color: var(--primary, #ff6b2b);
      opacity: 0.04;
      letter-spacing: -0.05em;
      pointer-events: none;
      user-select: none;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      white-space: nowrap;
    }
    .coming-soon-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--primary, #ff6b2b);
      color: #fff;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      padding: 6px 16px;
      border-radius: 999px;
      margin-bottom: 28px;
    }
    .coming-soon-badge .dot {
      width: 7px; height: 7px;
      border-radius: 50%;
      background: #fff;
      animation: pulse 1.4s ease-in-out infinite;
    }
    @keyframes pulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.4; transform: scale(0.7); }
    }
    .coming-soon-title {
      font-size: clamp(2rem, 6vw, 3.8rem);
      font-weight: 800;
      line-height: 1.15;
      color: var(--text-dark);
      margin: 0 0 16px;
      letter-spacing: -0.02em;
    }
    .coming-soon-title span { color: var(--primary, #ff6b2b); }
    .coming-soon-desc {
      font-size: 1.05rem;
      color: var(--text-muted);
      max-width: 520px;
      line-height: 1.7;
      margin: 0 0 36px;
    }
    .coming-soon-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      justify-content: center;
      margin-bottom: 40px;
    }
    .coming-soon-tag {
      background: var(--bg-gray, rgba(0,0,0,0.06));
      border: 1px solid var(--border, rgba(0,0,0,0.1));
      color: var(--text-body);
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.05em;
      padding: 5px 14px;
      border-radius: 6px;
      font-family: monospace;
    }
    .coming-soon-back {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 12px 28px;
      background: var(--primary, #ff6b2b);
      color: #fff;
      border-radius: 10px;
      font-weight: 700;
      font-size: 0.95rem;
      text-decoration: none;
      transition: transform 0.2s, box-shadow 0.2s;
      box-shadow: 0 4px 20px rgba(255,107,43,0.3);
    }
    .coming-soon-back:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 28px rgba(255,107,43,0.4);
    }
    .coming-soon-logo {
      position: absolute;
      top: 24px;
      left: 32px;
    }
    .coming-soon-logo img { height: 36px; }

/* ==================== Subpage Styles: /efi ==================== */
.coming-soon-wrap {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 40px 24px;
      background: var(--bg-white);
      position: relative;
      overflow: hidden;
    }
    .coming-soon-wrap::before {
      content: 'Okami NT';
      position: absolute;
      font-size: clamp(100px, 25vw, 280px);
      font-weight: 900;
      color: var(--primary, #ff6b2b);
      opacity: 0.04;
      letter-spacing: -0.05em;
      pointer-events: none;
      user-select: none;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      white-space: nowrap;
    }
    .coming-soon-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--primary, #ff6b2b);
      color: #fff;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      padding: 6px 16px;
      border-radius: 999px;
      margin-bottom: 28px;
    }
    .coming-soon-badge .dot {
      width: 7px; height: 7px;
      border-radius: 50%;
      background: #fff;
      animation: pulse 1.4s ease-in-out infinite;
    }
    @keyframes pulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.4; transform: scale(0.7); }
    }
    .coming-soon-title {
      font-size: clamp(2rem, 6vw, 3.8rem);
      font-weight: 800;
      line-height: 1.15;
      color: var(--text-dark);
      margin: 0 0 16px;
      letter-spacing: -0.02em;
    }
    .coming-soon-title span { color: var(--primary, #ff6b2b); }
    .coming-soon-desc {
      font-size: 1.05rem;
      color: var(--text-muted);
      max-width: 520px;
      line-height: 1.7;
      margin: 0 0 36px;
    }
    .coming-soon-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      justify-content: center;
      margin-bottom: 40px;
    }
    .coming-soon-tag {
      background: var(--bg-gray, rgba(0,0,0,0.06));
      border: 1px solid var(--border, rgba(0,0,0,0.1));
      color: var(--text-body);
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.05em;
      padding: 5px 14px;
      border-radius: 6px;
      font-family: monospace;
    }
    .coming-soon-back {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 12px 28px;
      background: var(--primary, #ff6b2b);
      color: #fff;
      border-radius: 10px;
      font-weight: 700;
      font-size: 0.95rem;
      text-decoration: none;
      transition: transform 0.2s, box-shadow 0.2s;
      box-shadow: 0 4px 20px rgba(255,107,43,0.3);
    }
    .coming-soon-back:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 28px rgba(255,107,43,0.4);
    }
    .coming-soon-logo {
      position: absolute;
      top: 24px;
      left: 32px;
    }
    .coming-soon-logo img { height: 36px; }

/* ==================== Subpage Styles: /news ==================== */
.page-hero{
    min-height:320px; display:flex; align-items:center; justify-content:center; text-align:center;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 60%, var(--bg-gray) 100%);
    padding:130px 20px 50px; position:relative; overflow:hidden;
  }
  .page-hero::before{
    content:''; position:absolute; inset:0;
    background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(250,129,45,0.08) 0%, transparent 70%);
    pointer-events:none;
  }
  .page-hero h1{font-size:clamp(2.2rem,5vw,3.4rem); font-family:var(--font-heading); color:var(--text-dark); margin-bottom:14px; letter-spacing:-0.03em;}
  .page-hero p{font-size:1.05rem; color:var(--text-muted); max-width:600px; margin:0 auto;}

  .news-filters{display:flex; gap:10px; flex-wrap:wrap; justify-content:center; margin:0 auto 40px; max-width:900px;}
  .news-filter-btn{
    padding:9px 18px; border-radius:30px; border:1.5px solid rgba(148,163,184,.3);
    background:transparent; color:var(--text-muted); font-size:.85rem; font-weight:600; cursor:pointer; transition:.2s;
  }
  .news-filter-btn:hover, .news-filter-btn.active{
    border-color:#fa812d; color:#fa812d; background:rgba(250,129,45,.08);
  }
  
  /* Use a single column flex layout to let the horizontal card expand fully */
  
  /* Use a single column flex layout to let the horizontal card expand fully */
  
  .news-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 600px), 1fr));
    gap: 32px;
    max-width: 1400px;
    margin: 0 auto;
  }
  
  /* Reset the flex-basis that was causing the massive height in a column layout */
  .news-list-grid .nonprofit-card {
    flex: none !important; /* Extremely important! Resets the 760px height */
    width: 100% !important;
    height: auto !important;
    min-height: 280px !important;
  }
  
  .news-list-grid .project-thumb {
    position: relative;
  }
  
  .news-list-grid .project-img {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  
  @media(max-width: 768px) {
    .news-list-grid .nonprofit-card {
      flex-direction: column !important;
    }
    .news-list-grid .project-thumb {
      width: 100% !important;
      padding-top: 56.25%;
      min-height: 0 !important;
    }
  }


  .news-empty{text-align:center; color:var(--text-muted); padding:60px 20px; grid-column:1/-1;}
  .content-section{padding:70px 20px 100px; background:var(--bg-white);}

/* ==================== Subpage Styles: /article ==================== */
/* 笏笏 Reading progress bar 笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏 */
  .read-progress {
    position: fixed; top: 0; left: 0; height: 3px; z-index: 9999;
    background: linear-gradient(90deg, #fa812d, #ff6b6b);
    width: 100%; transform: scaleX(0); transform-origin: left;
    box-shadow: 0 0 8px rgba(250,129,45,.6);
  }

  /* 笏笏 Article hero 窶・full width cover 笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏 */
  .art-hero {
    position: relative; width: 100%; min-height: 520px;
    display: flex; align-items: flex-end;
    overflow: hidden; background: #0d0e14;
  }
  .art-hero-img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: .55;
    transition: transform 8s ease; transform: scale(1.04);
  }
  .art-hero:hover .art-hero-img { transform: scale(1); }
  .art-hero-gradient {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(5,6,10,.92) 0%, rgba(5,6,10,.5) 40%, transparent 100%);
  }
  .art-hero-content {
    position: relative; z-index: 2;
    width: 100%; max-width: 900px; margin: 0 auto;
    padding: 60px 32px 56px;
  }
  .art-breadcrumb {
    display: flex; align-items: center; gap: 8px;
    color: rgba(255,255,255,.6); font-size: .78rem; font-weight: 500;
    margin-bottom: 20px; text-transform: uppercase; letter-spacing: .06em;
  }
  .art-breadcrumb a { color: rgba(255,255,255,.6); text-decoration: none; transition: color .18s; }
  .art-breadcrumb a:hover { color: #fa812d; }
  .art-breadcrumb svg { flex-shrink: 0; opacity: .5; }
  .art-tag {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(250,129,45,.2); border: 1px solid rgba(250,129,45,.35);
    color: #fa812d; font-size: .72rem; font-weight: 700; letter-spacing: .06em;
    text-transform: uppercase; padding: 5px 12px; border-radius: 20px;
    margin-bottom: 16px;
  }
  .art-hero-title {
    font-family: 'Inter', sans-serif; font-weight: 800;
    font-size: clamp(1.8rem, 5vw, 3rem);
    color: #fff; line-height: 1.18; letter-spacing: -.03em;
    margin: 0 0 22px; max-width: 750px;
    text-shadow: 0 2px 20px rgba(0,0,0,.4);
  }
  .art-meta {
    display: flex; align-items: center; flex-wrap: wrap; gap: 18px;
    color: rgba(255,255,255,.65); font-size: .83rem; font-weight: 500;
  }
  .art-meta-item {
    display: flex; align-items: center; gap: 6px;
  }
  .art-meta-item svg { opacity: .7; }

  /* 笏笏 No-cover hero (text only) 笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏 */
  .art-hero--nocov {
    min-height: auto; background: none;
    padding: 130px 32px 0;
  }
  .art-hero--nocov .art-hero-content {
    padding: 0 0 40px;
  }
  .art-hero--nocov .art-hero-title { color: var(--text-dark); text-shadow: none; }
  .art-hero--nocov .art-breadcrumb { color: var(--text-muted); }
  .art-hero--nocov .art-breadcrumb a { color: var(--text-muted); }
  .art-hero--nocov .art-meta { color: var(--text-muted); }

  /* 笏笏 Article body 笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏 */
  .art-wrap {
    max-width: 760px; margin: 0 auto; padding: 56px 24px 100px;
  }
  .art-body {
    font-family: 'Lora', Georgia, serif;
    font-size: 1.08rem; line-height: 1.92;
    color: var(--text-dark);
  }
  .art-body p { margin: 0 0 1.5em; }
  .art-body h2 {
    font-family: 'Inter', sans-serif; font-weight: 800;
    font-size: 1.55rem; letter-spacing: -.025em;
    color: var(--text-dark); margin: 2.2em 0 .7em;
    border-left: 3px solid #fa812d; padding-left: 16px;
  }
  .art-body h3 {
    font-family: 'Inter', sans-serif; font-weight: 700;
    font-size: 1.2rem; color: var(--text-dark);
    margin: 1.8em 0 .6em;
  }
  .art-body img {
    width: 100%; border-radius: 14px; margin: 1.8em 0;
    box-shadow: 0 12px 40px rgba(0,0,0,.12);
  }
  .art-body a { color: #fa812d; text-decoration: underline; text-underline-offset: 3px; }
  .art-body ul, .art-body ol { padding-left: 1.5em; margin: 0 0 1.4em; }
  .art-body li { margin-bottom: .5em; }
  .art-body blockquote {
    margin: 1.8em 0; padding: 20px 24px 20px 28px;
    border-left: 4px solid #fa812d;
    background: var(--bg-light); border-radius: 0 10px 10px 0;
    font-style: italic; color: var(--text-muted);
  }
  .art-body code {
    font-family: ui-monospace, monospace; font-size: .88em;
    background: var(--bg-gray); padding: 2px 6px; border-radius: 4px;
  }
  .art-body pre {
    background: #0a0b0f; color: #e2e8f0;
    padding: 20px 24px; border-radius: 12px; overflow-x: auto;
    margin: 1.4em 0; font-size: .87rem; line-height: 1.65;
  }

  /* 笏笏 Back / share bar 笏笏笏笏笏笏笏笏笏笏・ｽ・ｽ笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏 */
  .art-footer-bar {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 14px;
    padding: 28px 0 0; margin-top: 48px;
    border-top: 1px solid var(--border);
  }
  .art-back-btn {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--text-muted); text-decoration: none; font-size: .85rem;
    font-weight: 600; font-family: 'Inter', sans-serif;
    padding: 10px 16px; border-radius: 10px;
    border: 1px solid var(--border); background: var(--bg-card);
    transition: all .18s;
  }
  .art-back-btn:hover { color: #fa812d; border-color: rgba(250,129,45,.4); background: rgba(250,129,45,.06); }
  .art-share { display: flex; align-items: center; gap: 8px; }
  .art-share-label { font-size: .78rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-right: 4px; }
  .art-share-btn {
    width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--border);
    background: var(--bg-card); color: var(--text-muted);
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all .18s; text-decoration: none;
  }
  .art-share-btn:hover { color: #fa812d; border-color: rgba(250,129,45,.4); background: rgba(250,129,45,.06); }

  /* 笏笏 Not found / loading 笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏笏 */
  .art-placeholder {
    text-align: center; padding: 180px 20px 120px;
    color: var(--text-muted); font-family: 'Inter', sans-serif;
  }
  .art-placeholder h2 { font-size: 1.3rem; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
  .art-placeholder p { font-size: .9rem; margin-bottom: 20px; }

      
  @media (max-width: 640px) {
    .art-hero-content { padding: 40px 20px 40px; }
    .art-wrap { padding: 36px 18px 60px; }
    .art-body { font-size: 1rem; }
  }

/* ==================== Subpage Styles: /team ==================== */
.dt-header {
      text-align: center;
      margin-bottom: 50px;
    }

    .dt-header h1 {
      font-size: 2.5rem;
      color: var(--text-dark);
      margin-bottom: 16px;
    }

    .dt-header p {
      font-size: 1.05rem;
      color: var(--text-muted);
      max-width: 600px;
      margin: 0 auto;
      line-height: 1.6;
    }

    .dt-wrap {
      max-width: 1000px;
      margin: 0 auto;
      padding: 60px 20px 100px;
    }

    /* Enforce strictly equal card sizes and uniform photo dimensions */
    .dt-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 22px;
      align-items: stretch;
      grid-auto-rows: 1fr;
    }

    .dt-featured,
    .dt-card {
      display: flex;
      align-items: stretch;
      min-height: 154px;
      height: 100%;
      border: 1px solid var(--border);
      border-radius: 14px;
      overflow: hidden;
      cursor: pointer;
      background: var(--bg-white);
      box-shadow: none;
      transition: transform 0.25s ease, border-color 0.25s ease;
    }

    .dt-featured {
      margin-bottom: 24px;
      max-width: 580px;
    }

    .dt-card:hover,
    .dt-featured:hover {
      transform: translateY(-4px);
      border-color: rgba(250, 129, 45, 0.35);
      box-shadow: none;
    }

    .dt-card .dt-photo,
    .dt-featured .dt-photo {
      width: 140px;
      min-width: 140px;
      max-width: 140px;
      height: 100%;
      min-height: 100%;
      align-self: stretch;
      flex-shrink: 0;
      object-fit: cover;
      object-position: center 20%;
      display: block;
    }

    .dt-card .dt-info,
    .dt-featured .dt-info {
      flex: 1;
      min-width: 0;
      padding: 20px 24px;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .dt-tag {
      font-size: 0.7rem;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--text-muted);
      font-weight: 700;
      margin-bottom: 4px;
    }

    .dt-name {
      font-family: var(--font-heading);
      font-size: 1.15rem;
      font-weight: 800;
      color: var(--text-dark);
      margin-bottom: 4px;
      line-height: 1.3;
    }

    .dt-role {
      font-size: 0.85rem;
      color: var(--text-muted);
      line-height: 1.45;
    }

    .storage-showcase--right .storage-bg-video {
  object-position: left center;
}

.storage-showcase--right .storage-scrim {
  background:
    linear-gradient(270deg, #000000 0%, rgba(0, 0, 0, 0.92) 38%, rgba(0, 0, 0, 0.55) 66%, rgba(0, 0, 0, 0.15) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, transparent 20%, transparent 80%, rgba(0, 0, 0, 0.75) 100%);
}

.storage-showcase--right .storage-inner {
  margin-left: auto;
}

.radio-sticky-track {
  position: relative;
  height: 360vh;
  width: 100%;
  background-color: #000000;
}

.radio-sticky-track #radio-astronomy {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 100vh;
  border-top: none;
  border-bottom: none;
  padding: 80px 5% 80px calc(5% - 16px);
}

@media (max-width: 768px) {
      .dt-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
      }

      .dt-featured,
      .dt-card {
        flex-direction: column;
        min-height: auto;
        height: auto;
        max-width: 100%;
      }

      .dt-featured .dt-photo,
      .dt-card .dt-photo {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        height: 180px;
        min-height: 180px;
        border-right: none;
        border-bottom: 1px dashed var(--border);
      }
    }

/* ==================== Subpage Styles: /recruitment ==================== */
/* 笏笏 Positions Page 笏笏 */
  #positions {
    padding-top: 120px;
    padding-bottom: 90px;
    min-height: 60vh;
  }

  /* 笏笏 Section generic 笏笏 */
  .recruit-section { padding: 70px 0; background: var(--bg-white); }

  /* 笏笏 Open Positions 笏笏 */
  .positions-filter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 36px 0 28px;
  }
  .filter-btn {
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-body);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-body);
  }
  .filter-btn.active, .filter-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
  }
  .jobs-list { display: flex; flex-direction: column; gap: 18px; }
  .job-card {
    background: var(--bg-glass-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    backdrop-filter: blur(12px);
    flex-wrap: wrap;
  }
  .job-card:hover {
    transform: translateX(6px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
  }
  .job-left { flex: 1; min-width: 220px; }
  .job-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
  .job-tag {
    font-size: 0.73rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 10px;
    border-radius: 50px;
    background: var(--primary-light);
    color: var(--primary-dark);
    border: 1px solid rgba(59,130,246,0.25);
  }
  .job-tag.eng { background: rgba(253, 193, 130,0.12); color: #a78bfa; border-color: rgba(253, 193, 130,0.25); }
  .job-tag.ai  { background: rgba(16,185,129,0.12); color: #34d399; border-color: rgba(16,185,129,0.25); }
  .job-tag.hw  { background: rgba(245,158,11,0.12); color: #fbbf24; border-color: rgba(245,158,11,0.25); }
  .job-card h3 { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
  .job-meta { display: flex; gap: 18px; flex-wrap: wrap; }
  .job-meta span { font-size: 0.84rem; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }
  .job-meta i { color: var(--primary); }
  .job-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
  .job-salary { font-weight: 700; font-size: 0.95rem; color: var(--text-dark); }
  .job-apply {
    padding: 10px 24px;
    border-radius: 50px;
    background: var(--primary);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: background var(--transition), transform var(--transition);
    white-space: nowrap;
  }
  .job-apply:hover { background: var(--accent); transform: scale(1.04); }

  /* 笏笏 Spontaneous Application Box 笏笏 */
  .apply-box {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 36px;
    scroll-margin-top: 100px;
    transition: border-color var(--transition), box-shadow var(--transition);
  }
  .apply-box:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
  }
  .apply-box-left {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
  }
  .apply-box-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(255, 107, 0, 0.12);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
  }
  .apply-box-text h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 4px;
  }
  .apply-box-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.45;
  }
  .apply-box-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
  }
  .apply-box-actions .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  /* 笏笏 Responsive 笏笏 */
  .storage-showcase--right .storage-bg-video {
  object-position: left center;
}

.storage-showcase--right .storage-scrim {
  background:
    linear-gradient(270deg, #000000 0%, rgba(0, 0, 0, 0.92) 38%, rgba(0, 0, 0, 0.55) 66%, rgba(0, 0, 0, 0.15) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, transparent 20%, transparent 80%, rgba(0, 0, 0, 0.75) 100%);
}

.storage-showcase--right .storage-inner {
  margin-left: auto;
}

.radio-sticky-track {
  position: relative;
  height: 360vh;
  width: 100%;
  background-color: #000000;
}

.radio-sticky-track #radio-astronomy {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 100vh;
  border-top: none;
  border-bottom: none;
  padding: 80px 5% 80px calc(5% - 16px);
}

@media (max-width: 768px) {
    .job-right { align-items: flex-start; }
    .apply-box {
      flex-direction: column;
      align-items: flex-start;
      padding: 20px;
      gap: 16px;
    }
    .apply-box-actions {
      width: 100%;
      flex-direction: column;
      gap: 10px;
    }
    .apply-box-actions .btn {
      width: 100%;
    }
  }

  /* 笏笏 Cultural requirement note 笏笏 */
  .recruit-req-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-light);
    border: 1px solid rgba(250, 129, 45, 0.25);
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 0.88rem;
    color: var(--text-dark);
    margin-top: 14px;
    text-align: left;
  }
  .recruit-req-note i { color: var(--primary); font-size: 0.9rem; flex-shrink: 0; }

/* ==================== Subpage Styles: /hieu ==================== */
.chair-hero {
    min-height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 60%, var(--bg-gray) 100%);
    padding: 150px 20px 70px;
    position: relative;
    overflow: hidden;
  }
  .chair-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(250, 129, 45,0.10) 0%, transparent 70%);
    pointer-events: none;
  }
  .chair-hero-inner { position: relative; max-width: 780px; margin: 0 auto; }
  .chair-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 26px;
    border: 3px solid var(--primary);
    padding: 5px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  }
  .chair-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
  }
  .chair-hero span.section-label { display: inline-block; margin-bottom: 14px; }
  .chair-hero h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.3rem);
    font-family: var(--font-heading);
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.15;
    letter-spacing: -0.03em;
  }
  .chair-alias {
    font-size: 1.15rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 18px;
  }
  .chair-roles { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 6px; }
  .chair-roles span {
    background: var(--bg-glass-card);
    border: 1px solid var(--border);
    padding: 7px 16px;
    border-radius: 8px;
    font-size: .85rem;
    color: var(--text-body);
  }
  .content-section { padding: 70px 20px; background: var(--bg-white); }
  .content-section.alt { background: var(--bg-light); }
  .chair-quote {
    max-width: 780px;
    margin: 0 auto 10px;
    text-align: center;
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.7;
    position: relative;
    padding: 0 30px;
  }
  .chair-quote::before, .chair-quote::after { color: var(--primary); font-size: 2.2rem; opacity: .5; }
  .bio-grid { max-width: 820px; margin: 40px auto 0; }
  .bio-grid p {
    font-size: 1.08rem;
    color: var(--text-body);
    line-height: 1.9;
    margin-bottom: 22px;
  }
  .info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto 50px;
  }
  .info-cards .glass-card { text-align: center; }
  .info-cards .glass-card i { font-size: 1.6rem; color: var(--primary); margin-bottom: 12px; display: block; }
  .info-cards .glass-card h4 { color: var(--text-dark); font-size: 1rem; margin-bottom: 6px; }
  .info-cards .glass-card p { color: var(--text-muted); font-size: .92rem; margin: 0; }
  .skills-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 30px 0 10px; }
  .skills-row span {
    background: var(--primary-light);
    color: var(--primary);
    padding: 8px 18px;
    border-radius: 8px;
    font-size: .88rem;
    font-weight: 600;
  }
  .chair-socials { display: flex; justify-content: center; gap: 14px; margin-top: 40px; }
  .chair-socials a {
    width: 46px; height: 46px;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-glass-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-body);
    text-decoration: none;
    transition: var(--transition);
  }
  .chair-socials a:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-3px); }  .personal-quote {
    max-width: 700px;
    margin: 8px auto 26px;
    padding: 26px 32px;
    border-left: 3px solid var(--primary);
    background: var(--bg-glass-card);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  }
  .personal-quote p {
    font-style: italic;
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin: 0 0 6px !important;
  }
  .personal-quote p.jp {
    font-size: .92rem;
    color: var(--text-muted);
    font-style: normal;
  }

/* ==================== Subpage Styles: /privacy ==================== */
.legal-container {
    max-width: 800px;
    margin: 120px auto 80px;
    padding: 40px;
    background: var(--bg-white);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
  }
  .legal-container h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--text-dark);
  }
  .legal-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 40px;
    display: block;
  }
  .legal-container h2 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin: 30px 0 15px;
  }
  .legal-container p, .legal-container li {
    font-size: 1.05rem;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 15px;
  }
  .legal-container ul {
    margin-left: 20px;
    margin-bottom: 15px;
  }

/* ==================== Subpage Styles: /terms ==================== */
.legal-container {
    max-width: 800px;
    margin: 120px auto 80px;
    padding: 40px;
    background: var(--bg-white);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
  }
  .legal-container h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--text-dark);
  }
  .legal-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 40px;
    display: block;
  }
  .legal-container h2 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin: 30px 0 15px;
  }
  .legal-container p, .legal-container li {
    font-size: 1.05rem;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 15px;
  }
  .legal-container ul {
    margin-left: 20px;
    margin-bottom: 15px;
  }


/* ── Opening Boot Logo Overlay ─────────────────────────────────────── */
#bootContainer {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-color: #000000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999999;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.5s ease;
}
#bootContainer.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
#bootCanvas {
  max-width: min(90vw, 480px);
  height: auto;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}
.boot-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(255, 107, 0, 0.15);
  border-top-color: #ff6b00;
  border-radius: 50%;
  animation: bootSpin 0.75s linear infinite;
  margin-top: 24px;
}
@keyframes bootSpin {
  to { transform: rotate(360deg); }
}
.boot-copyright {
  position: absolute;
  bottom: 24px;
  font-size: 0.75rem;
  color: #64748b;
  letter-spacing: 0.06em;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
