@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Noto+Sans+JP:wght@300;400;500;600;700;800;900&display=swap");

:root {
  --blue-hero-start: #b3e0ff;
  --blue-hero-mid: #6cb8f5;
  --blue-hero-end: #3b9cf5;
  --blue-solid: #3b6ee8;
  --blue-dark: #2d5ac7;
  --blue-light: #e4edfb;
  --blue-wash: #f0f5ff;
  --accent: #7c6aef;
  --white: #ffffff;
  --gray-50: #f6f7f9;
  --gray-100: #eef0f3;
  --gray-200: #dde1e7;
  --gray-400: #8c95a4;
  --gray-600: #555e6e;
  --gray-800: #1e2636;
  --gray-900: #0e1520;
  --font: "Outfit", "Noto Sans JP", -apple-system, sans-serif;
  --shadow-sm: 0 1px 3px rgba(30,38,54,0.06);
  --shadow-md: 0 4px 16px rgba(30,38,54,0.08);
  --shadow-lg: 0 12px 40px rgba(30,38,54,0.10);
  --shadow-blue: 0 8px 32px rgba(59,110,232,0.12);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); color: var(--gray-800); line-height: 1.6; overflow-x: hidden; background: var(--white); position: relative; }



/* Skip to content */
.skip-link { position: absolute; top: -100%; left: 16px; z-index: 99999; padding: 12px 24px; background: var(--gray-900); color: white; border-radius: 0 0 8px 8px; font-weight: 600; transition: top 0.2s; }
.skip-link:focus { top: 0; }

/* Blue side gradients */
body::before, body::after {
  content: ""; position: fixed; top: 0; bottom: 0; width: 80px; z-index: 1;
  pointer-events: none; opacity: 0.10;
}
body::before {
  left: 0;
  background: linear-gradient(90deg, #3b9cf5 0%, rgba(59,156,245,0.3) 40%, transparent 100%);
}
body::after {
  right: 0;
  background: linear-gradient(270deg, #3b9cf5 0%, rgba(59,156,245,0.3) 40%, transparent 100%);
}

/* Full-page cloud overlay + grain */
.page-clouds {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 1; overflow: hidden;
}
.page-clouds::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); background-repeat: repeat; background-size: 180px; opacity: 0.022; }
.page-cloud-layer {
  position: absolute; width: 100%; height: 100%;
  display: flex; align-items: flex-start; justify-content: center;
}
.page-cloud-layer img {
  width: 140%; max-width: none; object-fit: cover; opacity: 0.06;
  animation: page-cloud-drift 60s ease-in-out infinite alternate;
}
.page-cloud-layer:nth-child(2) img {
  width: 120%; opacity: 0.04; animation-duration: 80s;
  animation-direction: alternate-reverse; margin-top: 200px;
}
.page-cloud-layer:nth-child(3) img {
  width: 160%; opacity: 0.03; animation-duration: 100s;
  margin-top: 600px;
}
.page-cloud-layer:nth-child(4) img {
  width: 130%; opacity: 0.05; animation-duration: 70s;
  animation-direction: alternate-reverse; margin-top: 1000px;
}
@keyframes page-cloud-drift {
  0% { transform: translateX(-2%); }
  100% { transform: translateX(2%); }
}
:lang(ja) { font-feature-settings: "palt" 1; word-break: normal; letter-spacing: 0.02em; }
:lang(ja) body { line-height: 1.85; }
:lang(ja) .section-text { max-width: 680px; }
:lang(ja) .hero-sub { max-width: 640px; }
:lang(ja) .section-title { letter-spacing: -0.01em; }
:lang(ja) .cta-title { letter-spacing: -0.01em; }
:lang(ja) h1 { letter-spacing: -0.01em; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--blue-solid); color: white; }

.container { max-width: 1400px; margin: 0 auto; padding: 0 32px; overflow-wrap: break-word; }
@media (min-width: 1024px) { .container { padding: 0 56px; } }
@media (min-width: 1440px) { .container { padding: 0 80px; } }

/* ===== NAV — NAS.COM STYLE MORPHING NAVBAR ===== */
:root {
  --scroll-progress: 0;
}

.nav {
  position: fixed;
  top: calc(24px - 10px * var(--scroll-progress, 0));
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  
  /* Nas.com dynamic sidewise shrinking */
  --nav-wide: 1260px;
  --nav-shrunk: 860px;
  width: min(
    calc(var(--nav-wide) - (var(--nav-wide) - var(--nav-shrunk)) * var(--scroll-progress, 0)),
    calc(100vw - 40px)
  );
  padding: 0;
  pointer-events: none;
  will-change: width, top;
}

.nav .nav-pill {
  pointer-events: auto;
  width: 100%;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px 6px 26px;
  border-radius: 999px;
  box-sizing: border-box;
  
  /* Nas.com frosted glass aesthetic */
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 0 1px rgba(19, 20, 23, 0.05),
              0 14px 34px -10px rgba(18, 20, 23, 0.12),
              0 2px 6px rgba(18, 20, 23, 0.03);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.nav.hero-mode .nav-pill {
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 6px 24px -2px rgba(18, 20, 23, 0.07),
              inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.nav-inner { display: contents; }

/* Logo: enlarged, crisp, modern */
.nav-logo-text {
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-900);
  transition: opacity 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  display: flex;
  align-items: center;
}
.nav-logo-text:hover {
  opacity: 0.8;
}

/* Nav links: increased size ("make text little big"), smooth pill capsules */
.nav-links {
  display: none;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}
.nav-links a {
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--gray-700);
  padding: 8px 16px;
  border-radius: 999px;
  transition: all 0.18s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}
.nav-links a:hover {
  color: var(--gray-900);
  background: rgba(19, 20, 23, 0.06);
}
.nav.hero-mode .nav-links a {
  color: var(--gray-900);
}
.nav.hero-mode .nav-links a:hover {
  color: #000000;
  background: rgba(255, 255, 255, 0.45);
}

/* Right side actions */
.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Language toggle button: enlarged text and padded pill */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(19, 20, 23, 0.12);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.9);
  color: var(--gray-700);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}
.lang-toggle:hover {
  border-color: rgba(19, 20, 23, 0.22);
  background: #ffffff;
  color: var(--gray-900);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}
.lang-toggle .active {
  color: var(--gray-900);
  font-weight: 700;
}
.lang-toggle .sep {
  opacity: 0.35;
  font-weight: 400;
}
.lang-toggle .inactive {
  opacity: 0.45;
  font-weight: 500;
}
.nav.hero-mode .lang-toggle {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.82);
  color: var(--gray-800);
}
.nav.hero-mode .lang-toggle:hover {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(255, 255, 255, 0.9);
}

.login-btn {
  padding: 8px 20px;
  border-radius: 999px;
  background: var(--gray-900);
  color: white;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.login-btn:hover { background: #000; }

.hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(19, 20, 23, 0.08);
  cursor: pointer;
  padding: 8px;
  border-radius: 999px;
  transition: all 0.2s ease;
}
@media (min-width: 1024px) {
  .hamburger {
    display: none;
  }
}
.hamburger:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(19, 20, 23, 0.2);
}
.hamburger svg {
  width: 20px;
  height: 20px;
  color: var(--gray-900);
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 100px 32px 40px;
}
.mobile-menu.open {
  display: flex;
  flex-direction: column;
}
.mobile-menu a {
  display: block;
  font-size: 26px;
  font-weight: 600;
  color: var(--gray-900);
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-200);
  transition: color 0.2s ease, transform 0.2s ease;
}
.mobile-menu a:hover {
  color: var(--blue-solid);
  transform: translateX(4px);
}
.mobile-menu .close-btn {
  position: absolute;
  top: 24px;
  right: 28px;
  background: rgba(0, 0, 0, 0.04);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gray-900);
  transition: background 0.2s ease;
}
.mobile-menu .close-btn:hover {
  background: rgba(0, 0, 0, 0.08);
}

/* Tablet & Mobile responsive adjustments */
@media (max-width: 1023px) {
  .nav {
    --nav-wide: calc(100vw - 24px);
    --nav-shrunk: calc(100vw - 44px);
    width: min(
      calc(var(--nav-wide) - (var(--nav-wide) - var(--nav-shrunk)) * var(--scroll-progress, 0)),
      720px
    );
  }
  .nav .nav-pill {
    padding: 6px 10px 6px 20px;
    height: 56px;
  }
  .nav-logo-text {
    font-size: 15.5px;
  }
}

/* ===== HERO — Relay-style light blue gradient ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
  background: linear-gradient(180deg, #a0d4ff 0%, #78c4f8 35%, #55b2f5 65%, #3b9cf5 100%);
  z-index: 2;
}

/* Soft radial glow */
.hero::before {
  content: ""; position: absolute;
  width: 900px; height: 600px; top: 5%; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(255,255,255,0.2) 0%, transparent 70%);
  pointer-events: none;
}

/* ===== HERO VIDEO ===== */
.hero-video {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1;
}
@keyframes cloud-drift {
  0% { transform: translateX(0); }
  100% { transform: translateX(30px); }
}

.hero-content { position: relative; z-index: 10; max-width: 900px; padding: 120px 32px 80px; }
:lang(ja) .hero-content { max-width: 1000px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 999px;
  background: rgba(255,255,255,0.85); border: 1px solid rgba(255,255,255,0.6);
  font-size: 13px; font-weight: 600; color: var(--gray-800);
  margin-bottom: 32px; box-shadow: 0 2px 12px rgba(30,38,54,0.08);
  backdrop-filter: blur(8px);
}
.hero-badge .arrow { color: var(--blue-solid); font-weight: 700; }

.hero h1 {
  font-family: var(--font); font-weight: 800;
  font-size: clamp(40px, 6.5vw, 76px); line-height: 1.08;
  letter-spacing: -0.035em; color: white;
}

.hero-sub {
  margin-top: 20px; font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.7; color: rgba(255,255,255,0.88);
  max-width: 580px; margin-left: auto; margin-right: auto;
  font-weight: 400;
}

.hero-ctas { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-trust {
  margin-top: 28px; display: flex; flex-wrap: wrap; gap: 20px;
  justify-content: center;
}
.hero-trust .trust-item { color: var(--gray-900); }
.hero-trust .trust-dot { background: var(--blue-solid); }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px; padding: 13px 28px;
  font-size: 15px; font-weight: 600; border: none; cursor: pointer;
  background: var(--blue-solid); color: white;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(59,110,232,0.25);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(59,110,232,0.3); }
.btn-primary:active { transform: translateY(1px) scale(0.98); box-shadow: 0 2px 8px rgba(59,110,232,0.2); transition-duration: 0.08s; }
.btn-primary:focus-visible { outline: 2px solid var(--blue-solid); outline-offset: 3px; }

.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px; padding: 13px 28px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  background: white; color: var(--gray-800);
  border: 1px solid var(--gray-200);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-white:hover { border-color: var(--gray-400); box-shadow: var(--shadow-md); }
.btn-white:active { transform: scale(0.98); transition-duration: 0.08s; }
.btn-white:focus-visible { outline: 2px solid var(--blue-solid); outline-offset: 3px; }

/* Hero bottom seamless fade into white */
.hero::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0;
  height: 250px; z-index: 2;
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.3) 30%, rgba(255,255,255,0.7) 60%, rgba(255,255,255,0.95) 85%, #ffffff 100%);
  pointer-events: none;
}

/* ===== TRUST STRIP ===== */
.trust {
  background: white; border-bottom: 1px solid var(--gray-200);
  padding: 20px 0;
}
.trust-inner {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px 24px; align-items: center;
}
@media (min-width: 768px) { .trust-inner { gap: 8px 40px; } }
.trust-item {
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gray-400);
  display: flex; align-items: center; gap: 10px;
}
.trust-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--blue-solid); flex-shrink: 0; }

/* ===== SECTIONS ===== */
.section-white { padding: 100px 0 90px; background: white; position: relative; z-index: 2; }
@media (max-width: 768px) {
  .section-white, .section-light, .section-blue-bg { padding: 72px 0; }
  .hero h1 { font-size: clamp(32px, 8vw, 48px); }
  .section-title { font-size: clamp(24px, 5.5vw, 36px); }
  .cta-title { font-size: clamp(24px, 6vw, 40px); }
  .why-emphasis h3 { font-size: clamp(32px, 9vw, 56px); }
  .section-text { max-width: 100%; }
  :lang(ja) .section-text { max-width: 100%; }
  .container { padding: 0 20px; }
}

.section-light { padding: 90px 0 100px; background: var(--gray-50); position: relative; z-index: 2; }

.section-blue-bg {
  padding: 100px 0 90px;
  background: linear-gradient(180deg, #e8f4ff 0%, #dbeafe 100%);
  position: relative; z-index: 2;
}

.section-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--blue-solid); margin-bottom: 14px;
  text-decoration: underline; text-decoration-color: var(--blue-light);
  text-underline-offset: 4px; text-decoration-thickness: 2px;
  display: inline-block;
}
:lang(ja) .section-eyebrow { letter-spacing: 0.12em; font-size: 13px; }
.section-eyebrow.white { color: rgba(255,255,255,0.7); }

.section-title {
  font-family: var(--font); font-weight: 800;
  font-size: clamp(26px, 3.5vw, 44px); line-height: 1.15;
  letter-spacing: -0.03em; color: var(--gray-900);
}
.section-title.white { color: white; }

.section-text {
  margin-top: 16px; font-size: 16px; line-height: 1.7;
  color: var(--gray-600); max-width: 640px;
  font-weight: 400;
}
:lang(ja) .section-text { max-width: 720px; }
.section-text.white { color: rgba(255,255,255,0.8); }

/* ===== INTRO ===== */
.intro-grid {
  display: grid; gap: 48px; align-items: start;
}
@media (min-width: 1024px) { .intro-grid { grid-template-columns: 1fr 1.1fr; gap: 56px; } }

.intro-text-col { padding-top: 20px; }

.intro-visual-col { position: relative; }

.intro-card {
  background: white; border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(30,38,54,0.08), 0 2px 8px rgba(30,38,54,0.04);
  overflow: hidden; border: 1px solid var(--gray-200);
}

.intro-blueprint {
  position: relative; overflow: hidden;
  background: white;
}
.blueprint-img {
  width: 100%; height: auto; display: block;
}

/* ===== SKETCH REVEAL ANIMATION ===== */
.sketch-reveal-wrap {
  position: relative;
  overflow: hidden;
  background: white;
}

/* Back layer: hand sketch — always visible underneath */
.sketch-back {
  display: block;
  width: 100%; height: auto;
  position: relative;
  z-index: 0;
}

/* Front layer: digital print — clipped to cover from top down to scan-line position */
.sketch-front-layer {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
  /* clip-path controlled by animation: starts covering full image (100%), sweeps to 0% then back */
  clip-path: inset(0 0 0 0);
  animation: sketch-reveal-clip 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.sketch-front-layer img,
.sketch-front-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* Blue glowing scan line — moves top→bottom→top in sync with the clip */
.sketch-scan-line {
  position: absolute;
  left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, rgba(34,211,238,0.3) 8%, #22d3ee 30%, #3b6ee8 50%, #22d3ee 70%, rgba(34,211,238,0.3) 92%, transparent 100%);
  box-shadow:
    0 0 8px 2px rgba(34,211,238,0.9),
    0 0 24px 8px rgba(34,211,238,0.55),
    0 0 60px 20px rgba(59,110,232,0.25),
    0 0 120px 40px rgba(34,211,238,0.1);
  z-index: 3;
  pointer-events: none;
  /* top position animated to match the clip edge */
  animation: sketch-line-move 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* 
  Timeline (6s loop):
  0%–8%   : line at top, digital fully visible
  8%–46%  : line sweeps DOWN → sketch revealed above the line (clip bottom shrinks = digital covers less)
  46%–54% : pause at bottom — full sketch visible
  54%–92% : line sweeps UP → digital recovers from top
  92%–100%: pause at top — full digital visible

  clip-path: inset(0 0 bottom% 0)
    bottom=100% → digital layer is 0px tall (all sketch visible)
    bottom=0%   → digital layer is full height (all digital visible)
  So: line goes DOWN ↔ bottom% goes 0%→100%
      line goes UP   ↔ bottom% goes 100%→0%
*/
@keyframes sketch-line-move {
  0%   { top: -0.3%; opacity: 1; }
  8%   { top: -0.3%; opacity: 1; }
  46%  { top: 99.7%; opacity: 1; }
  54%  { top: 99.7%; opacity: 1; }
  92%  { top: -0.3%; opacity: 1; }
  100% { top: -0.3%; opacity: 1; }
}

@keyframes sketch-reveal-clip {
  /*
    clip-path: inset(top% 0 0 0)
    The digital front layer is clipped FROM THE TOP by top%:
      top=0%   → full digital visible (line at very top)
      top=100% → digital fully hidden  (line at bottom, full sketch visible)
    As line sweeps DOWN: top% increases 0→100%, sketch revealed from top.
    As line sweeps UP:   top% decreases 100→0%, digital covers back from top.
  */
  0%   { clip-path: inset(0%   0 0 0); }  /* full digital */
  8%   { clip-path: inset(0%   0 0 0); }  /* pause at top */
  46%  { clip-path: inset(100% 0 0 0); }  /* full sketch */
  54%  { clip-path: inset(100% 0 0 0); }  /* pause at bottom */
  92%  { clip-path: inset(0%   0 0 0); }  /* full digital */
  100% { clip-path: inset(0%   0 0 0); }
}

/* ===== APPLE GLASS STACK HIGHLIGHT CARDS ===== */
.highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 14px;
  background: #f8fafc;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.highlight-card {
  position: relative;
  padding: 20px 18px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 14px;
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.03),
    inset 0 1px 1.5px rgba(255, 255, 255, 0.95),
    inset 0 -1px 1px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.35s ease,
              border-color 0.35s ease;
  z-index: 1;
}

/* Glass shine pass-through sweep */
.highlight-card::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 0; right: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 40%,
    rgba(255, 255, 255, 0.6) 50%,
    transparent 60%,
    transparent 100%
  );
  transform: translateX(-100%);
  transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
  z-index: 2;
}

.highlight-grid .highlight-card:hover,
.highlight-card.visible:hover,
.highlight-card:hover {
  transform: translateY(-5px) scale(1.015);
  background: linear-gradient(135deg, rgba(224, 242, 254, 0.88) 0%, rgba(186, 230, 253, 0.85) 100%);
  border-color: rgba(125, 211, 252, 0.75);
  box-shadow: 
    0 16px 30px -4px rgba(14, 165, 233, 0.22),
    0 4px 12px rgba(0, 0, 0, 0.04),
    inset 0 1px 1.5px rgba(255, 255, 255, 1);
  z-index: 3;
}

.highlight-card:hover::after {
  transform: translateX(100%);
}

.highlight-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), inset 0 1px 1px white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  margin-bottom: 4px;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover .highlight-icon {
  background: rgba(255, 255, 255, 0.95);
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.18), inset 0 1px 1px white;
}

.highlight-label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: 0.02em;
}

.highlight-value {
  font-size: 12px;
  color: var(--gray-600);
  font-weight: 500;
  transition: color 0.3s ease;
}

.highlight-card:hover .highlight-value {
  color: #0369a1;
}

/* ===== SERVICES — FRAMER SERVICETILES (Compact & Fit-to-Screen) ===== */
#services.section-light {
  padding: 28px 0 24px;
}

#services .section-eyebrow {
  font-size: 11px;
  margin-bottom: 2px;
  letter-spacing: 0.12em;
}

#services .section-title {
  font-size: 44px;
  line-height: 1.15;
  margin-bottom: 4px;
}

#services .section-text {
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 14px;
  max-width: 600px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 0;
  align-items: stretch;
}
@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}
@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

.st-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  color: var(--gray-900, #191919);
  background: #ffffff;
  border: 1px solid #e4e4de;
  border-radius: 14px;
  text-decoration: none;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s cubic-bezier(0.2, 0.75, 0.25, 1),
              box-shadow 0.3s ease,
              border-color 0.25s ease;
  cursor: pointer;
}

.st-media {
  position: relative;
  height: 94px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--st-accent, #bae6fd);
  border-radius: 13px 13px 0 0;
}

.st-image {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.5s cubic-bezier(0.2, 0.75, 0.25, 1), opacity 0.3s ease;
}

.st-number {
  position: absolute;
  top: 7px;
  left: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 20px;
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #191919;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  z-index: 2;
}

.st-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  padding: 10px 14px 10px;
}

.st-eyebrow {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  margin-bottom: 3px;
  color: #686863;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.st-dot {
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--st-accent, #3b6ee8);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.st-title {
  margin: 0;
  color: #191919;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.st-description {
  margin: 3px 0 0;
  color: #686863;
  font-size: 11.5px;
  line-height: 1.4;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.st-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 5px;
}

.st-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  max-width: 100%;
  background: #f3f3ef;
  color: #555e6e;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.st-footer {
  margin-top: auto;
  padding-top: 8px;
  min-width: 0;
}

.st-detail {
  margin-bottom: 4px;
  color: #8c95a4;
  font-size: 10.5px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.st-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 30px;
  padding: 5px 10px;
  overflow: hidden;
  isolation: isolate;
  background: #f3f3ef;
  color: #191919;
  border-radius: 7px;
  font-size: 11.5px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.st-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--st-accent, #3b6ee8);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s cubic-bezier(0.2, 0.75, 0.25, 1);
  z-index: -1;
}

.st-cta-label {
  min-width: 0;
  overflow-wrap: anywhere;
}

.st-arrow {
  display: inline-flex;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.2, 0.75, 0.25, 1);
}
.st-arrow svg {
  width: 14px;
  height: 14px;
}

/* Framer ServiceTiles Hover and Focus states */
@media (hover: hover) and (pointer: fine) {
  .services-grid .st-card:hover,
  .st-card.visible:hover,
  .st-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1), 0 4px 10px rgba(0, 0, 0, 0.04);
    border-color: rgba(59, 110, 232, 0.25);
    z-index: 2;
  }

  .st-card:hover .st-image {
    transform: scale(1.06);
  }

  .st-card:hover .st-cta {
    color: #191919;
  }

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

  .st-card:hover .st-arrow {
    transform: rotate(-35deg);
  }
}

.st-card:focus-visible {
  outline: 2px solid var(--blue-solid);
  outline-offset: 3px;
  transform: translateY(-4px);
}
.st-card:focus-visible .st-cta::before {
  transform: scaleX(1);
}
.st-card:focus-visible .st-arrow {
  transform: rotate(-35deg);
}

@media (prefers-reduced-motion: reduce) {
  .st-card,
  .st-image,
  .st-cta,
  .st-cta::before,
  .st-arrow {
    transition: none !important;
  }
  .st-card,
  .st-image,
  .st-arrow {
    transform: none !important;
  }
}

/* Perfect fit for viewports with height <= 820px (e.g. 1536x730, 1366x768, 1080p laptops) */
@media (max-height: 820px) and (min-width: 1024px) {
  #services.section-light {
    padding: 20px 0 16px;
  }
  #services .section-title {
    margin-bottom: 2px;
  }
  #services .section-text {
    margin-bottom: 10px;
    font-size: 12.5px;
  }
  .services-grid {
    gap: 10px;
  }
  .st-card {
    border-radius: 12px;
  }
  .st-media {
    height: 80px;
    border-radius: 11px 11px 0 0;
  }
  .st-body {
    padding: 8px 12px 8px;
  }
  .st-title {
    font-size: 15px;
  }
  .st-description {
    font-size: 11px;
    margin-top: 2px;
  }
  .st-tags {
    margin-top: 4px;
    gap: 3px;
  }
  .st-tag {
    font-size: 9.5px;
    padding: 1px 5px;
  }
  .st-footer {
    padding-top: 6px;
  }
  .st-detail {
    font-size: 10px;
    margin-bottom: 2px;
  }
  .st-cta {
    min-height: 26px;
    padding: 3px 8px;
    font-size: 11px;
    border-radius: 6px;
  }
  .st-arrow svg {
    width: 13px;
    height: 13px;
  }
}

/* ===== WHY ===== */
.why-points { display: grid; gap: 20px; margin-top: 48px; }
@media (min-width: 768px) { .why-points { grid-template-columns: 1fr 1fr; } }

.why-point {
  position: relative;
  padding: 32px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 
    0 4px 18px rgba(0, 0, 0, 0.03),
    inset 0 1px 1.5px rgba(255, 255, 255, 1);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease,
              background 0.35s ease;
  overflow: hidden;
  cursor: pointer;
  z-index: 1;
}
.why-point:nth-child(2n) { border-radius: var(--radius-lg); }

/* Glass shine pass-through sweep */
.why-point::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 0; right: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 40%,
    rgba(255, 255, 255, 0.6) 50%,
    transparent 60%,
    transparent 100%
  );
  transform: translateX(-100%);
  transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
  z-index: 2;
}

.why-points .why-point:hover,
.why-point.visible:hover,
.why-point:hover,
.why-point.is-tapped,
.why-point:active {
  background: linear-gradient(135deg, rgba(224, 242, 254, 0.92) 0%, rgba(186, 230, 253, 0.95) 100%);
  border-color: #7dd3fc;
  box-shadow: 
    0 22px 42px -6px rgba(14, 165, 233, 0.26),
    0 8px 18px -2px rgba(14, 165, 233, 0.12),
    inset 0 1px 1.5px rgba(255, 255, 255, 1);
  transform: translateY(-8px) scale(1.01);
  z-index: 3;
}
.why-point:hover::after,
.why-point.is-tapped::after,
.why-point:active::after {
  transform: translateX(100%);
}
.why-point:hover .why-desc,
.why-point.is-tapped .why-desc {
  color: #1e293b;
}
.why-point:hover .why-num,
.why-point.is-tapped .why-num {
  color: #0284c7;
}
.why-num { font-size: 11px; font-weight: 700; color: var(--blue-solid); letter-spacing: 0.15em; margin-bottom: 14px; }
.why-title { font-size: 20px; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.why-desc { font-size: 14px; line-height: 1.7; color: var(--gray-600); }

.why-emphasis {
  margin-top: 80px; text-align: center; padding: 80px 40px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #3b9cf5 0%, #6366f1 50%, #8b5cf6 100%);
  color: white; position: relative; overflow: hidden;
  box-shadow: 0 20px 60px rgba(59,156,245,0.25), 0 4px 16px rgba(99,102,241,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.why-emphasis::before {
  content: ""; position: absolute; inset: 0;
  background: url('pictures/cloud.jpg') center/cover no-repeat;
  opacity: 0.15;
  pointer-events: none;
}
.why-emphasis::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(59,156,245,0.9) 0%, rgba(99,102,241,0.85) 50%, rgba(139,92,246,0.8) 100%);
  pointer-events: none;
}
.why-emphasis h3 {
  font-weight: 900; font-size: clamp(44px, 7vw, 80px);
  line-height: 1.05; letter-spacing: -0.03em; position: relative; z-index: 2;
}
.why-emphasis .sub {
  margin-top: 12px; font-weight: 600;
  font-size: clamp(20px, 3vw, 32px); position: relative; z-index: 2;
  color: rgba(255,255,255,0.85);
}

/* Mobile responsive adjustments for Why section */
@media (max-width: 768px) {
  .why-points {
    gap: 14px;
    margin-top: 32px;
  }
  .why-point {
    padding: 24px 20px;
    border-radius: var(--radius-md) !important;
  }
  .why-points .why-point:hover,
  .why-point.visible:hover,
  .why-point:hover,
  .why-point.is-tapped,
  .why-point:active {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 14px 28px -4px rgba(14, 165, 233, 0.22), 0 4px 12px rgba(0, 0, 0, 0.04), inset 0 1px 1.5px rgba(255, 255, 255, 1);
  }
  .why-title {
    font-size: 18px;
    margin-bottom: 6px;
  }
  .why-desc {
    font-size: 13.5px;
    line-height: 1.6;
  }
  .why-emphasis {
    margin-top: 48px;
    padding: 48px 20px;
    border-radius: var(--radius-md);
  }
  .why-emphasis:active {
    transform: scale(0.985);
  }
  .why-emphasis h3 {
    font-size: clamp(30px, 8.5vw, 44px);
    line-height: 1.1;
  }
  .why-emphasis .sub {
    font-size: clamp(15px, 4.2vw, 20px);
    margin-top: 10px;
  }
}

/* ===== OWNER ===== */
.owner-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1024px) { .owner-grid { grid-template-columns: 1.1fr 0.9fr; gap: 64px; } }

.owner-credentials { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--gray-200); }
.cred-label { font-size: 12px; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; color: var(--blue-solid); margin-bottom: 14px; }
.cred-inst { font-size: 20px; font-weight: 700; color: var(--gray-900); line-height: 1.4; }
.cred-center { font-size: 17px; color: var(--gray-600); margin-top: 6px; line-height: 1.5; }
.cred-role { font-size: 17px; color: var(--blue-solid); margin-top: 6px; }
:lang(ja) .cred-inst { font-size: 18px; line-height: 1.5; }
:lang(ja) .cred-center { font-size: 16px; }
:lang(ja) .cred-role { font-size: 16px; }

.owner-card {
  padding: 40px 32px; border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--blue-wash) 0%, var(--blue-light) 100%);
  border: 1px solid var(--blue-light); position: relative;
  box-shadow: var(--shadow-blue);
}
.owner-name { font-size: 28px; font-weight: 800; color: var(--gray-900); }
.owner-nameja { font-size: 18px; color: var(--gray-600); margin-top: 4px; }
.owner-role {
  display: inline-block; margin-top: 14px; padding: 5px 14px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--blue-solid);
  border: 1px solid var(--blue-solid); border-radius: 999px;
}
.owner-brand { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--blue-light); }
.brand-name { font-weight: 800; font-size: 17px; letter-spacing: 0.18em; color: var(--gray-900); }
.brand-tag { font-size: 10px; letter-spacing: 0.15em; color: var(--gray-400); text-transform: uppercase; margin-top: 6px; }

/* ===== JAPAN × NEPAL ===== */
.jn-icons {
  display: flex; justify-content: center; gap: 56px;
  margin: 48px auto 0; max-width: 700px;
}
.jn-icon-wrap {
  position: relative; display: flex; flex-direction: column;
  align-items: center; gap: 16px; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.jn-icon-glow {
  position: absolute; top: 70px; left: 50%;
  width: 110px; height: 110px; border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid transparent;
  background: transparent;
  opacity: 0; transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  pointer-events: none; z-index: 0;
}
.jn-icon-svg {
  width: 150px; height: 150px;
  position: relative; z-index: 1;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s;
  filter: drop-shadow(0 2px 8px rgba(30,38,54,0.06));
}
.jn-icon-text {
  font-size: 14px; font-weight: 700; letter-spacing: 0.18em;
  color: var(--gray-600); text-transform: uppercase;
  transition: color 0.3s;
}

@media (hover: hover) and (pointer: fine) {
  .jn-icons.animate .jn-icon-wrap:not(.active):hover {
    opacity: 0.85;
    transform: scale(0.95);
  }
}

/* Staggered entry animation */
.jn-icon-wrap { opacity: 0; transform: translateY(24px); transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.jn-icons.animate .jn-icon-wrap {
  animation: jn-pop-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.jn-icons.animate .jn-icon-wrap:nth-child(1) { animation-delay: 0.1s; }
.jn-icons.animate .jn-icon-wrap:nth-child(2) { animation-delay: 0.3s; }
.jn-icons.animate .jn-icon-wrap:nth-child(3) { animation-delay: 0.5s; }
@keyframes jn-pop-in {
  to { opacity: 1; transform: translateY(0); }
}
/* Cycling highlight - active state */
.jn-icons.animate .jn-icon-wrap {
  opacity: 0.5; transform: scale(0.85);
}
.jn-icons.animate .jn-icon-wrap.active {
  opacity: 1; transform: scale(1.15);
}
.jn-icons.animate .jn-icon-wrap.active .jn-icon-glow {
  opacity: 1;
  border-color: var(--blue-solid);
  transform: translate(-50%, calc(-50% - 2px)) scale(1.1);
  box-shadow: 0 0 20px 6px rgba(59,110,232,0.35), 0 0 40px 10px rgba(59,110,232,0.2), inset 0 0 16px 4px rgba(59,110,232,0.12);
  background: radial-gradient(circle, rgba(59,110,232,0.1) 0%, transparent 70%);
}
.jn-icons.animate .jn-icon-wrap.active .jn-icon-svg {
  filter: drop-shadow(0 4px 24px rgba(59,110,232,0.3));
}
.jn-icons.animate .jn-icon-wrap.active .jn-icon-text {
  color: var(--blue-solid);
}

/* Mobile: smaller icons */
@media (max-width: 768px) {
  .jn-icons { gap: 24px; flex-wrap: wrap; }
  .jn-icon-svg { width: 100px; height: 100px; }
  .jn-icon-glow { top: 48px; width: 75px; height: 75px; }
  .jn-icon-text { font-size: 11px; }
}

/* ===== WORKFLOW — Horizontal Wavy Timeline ===== */
.workflow-scroll { overflow-x: auto; overflow-y: hidden; padding: 10px 0 40px; -webkit-overflow-scrolling: touch; }
.workflow-wrapper {
  position: relative; width: 100%; margin: 0 auto;
}
.workflow-bg-svg {
  width: 100%; height: auto; display: block;
}

.workflow-svg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none; opacity: 0;
}
/* Glow dots */
.wf-glow-dot {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue-solid);
  box-shadow: 0 0 14px 5px rgba(59,110,232,0.7), 0 0 36px 12px rgba(59,110,232,0.25), 0 0 60px 20px rgba(59,110,232,0.1);
  position: absolute; z-index: 5; pointer-events: none;
  animation: glow-pulse 2s ease-in-out infinite;
}
.wf-glow-dot:last-of-type { opacity: 0.45; width: 10px; height: 10px; }
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 14px 5px rgba(59,110,232,0.7), 0 0 36px 12px rgba(59,110,232,0.25), 0 0 60px 20px rgba(59,110,232,0.1); }
  50% { box-shadow: 0 0 20px 8px rgba(59,110,232,0.8), 0 0 50px 18px rgba(59,110,232,0.3), 0 0 80px 28px rgba(59,110,232,0.15); }
}



/* ===== PROJECTS — Horizontal Row ===== */
.projects-section {
  background: var(--gray-100);
  padding: 80px 0;
  position: relative; z-index: 2;
}
.projects-row {
  display: flex; gap: 2px; margin-top: 48px;
}
.project-card {
  flex: 1; min-width: 0;
  position: relative; cursor: pointer;
  display: flex; flex-direction: column;
  border-radius: var(--radius-md);
  background: white;
  box-shadow: var(--shadow-sm);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
/* Dim other cards when one is hovered */
.projects-row:hover .project-card { opacity: 0.35; filter: brightness(0.85); }
.projects-row:hover .project-card:hover { opacity: 1; filter: brightness(1); }
.project-card .card-title-top {
  padding: 24px 20px 16px;
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 700;
  color: var(--gray-800);
  letter-spacing: -0.01em;
  line-height: 1.2;
  white-space: nowrap;
  transition: color 0.3s, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative; z-index: 6;
}
.project-card:hover .card-title-top {
  transform: translateY(-8px);
}
.project-card .card-desc {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 16px 20px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--gray-600);
  background: linear-gradient(transparent, rgba(255,255,255,0.95) 30%);
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  z-index: 5;
}
.project-card:hover .card-desc {
  transform: translateY(0); opacity: 1;
}
.project-card .card-img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
  filter: grayscale(0.2);
}
.project-card:hover .card-img {
  transform: scale(1.06) translateY(-8px);
  filter: grayscale(0);
}
.project-card .card-img-placeholder {
  width: 100%; aspect-ratio: 3/4;
  background: var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s;
}
.project-card:hover .card-img-placeholder {
  transform: scale(1.06) translateY(-8px);
  background: var(--gray-300);
}
.card-img-placeholder .placeholder-icon {
  font-size: 48px; color: var(--gray-300);
}
@media (max-width: 768px) {
  .projects-row { flex-wrap: wrap; gap: 0; }
  .project-card { flex: 0 0 50%; min-width: 150px; }
  .project-card .card-desc {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 12px 14px;
    font-size: 11px; line-height: 1.5;
    color: var(--gray-600);
    background: linear-gradient(transparent, rgba(255,255,255,0.95) 20%);
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    z-index: 5;
    pointer-events: none;
  }
  .project-card:active .card-desc,
  .project-card.show-desc .card-desc {
    transform: translateY(0); opacity: 1;
    pointer-events: auto;
  }
}

/* ===== DRAWING TO REALITY — Cursor Reveal ===== */
.dtr-reveal {
  margin-top: 48px; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 16px 48px rgba(30,38,54,0.10), 0 4px 16px rgba(30,38,54,0.06);
  position: relative; cursor: crosshair; aspect-ratio: 16/10;
}
.dtr-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.dtr-back {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}
.dtr-front {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.05s linear;
}
.dtr-cursor {
  position: absolute; top: 0; width: 3px; height: 100%;
  background: var(--blue-solid);
  box-shadow: 0 0 12px 3px rgba(59,110,232,0.5), 0 0 30px 8px rgba(59,110,232,0.2);
  left: 0; z-index: 5; pointer-events: none;
  opacity: 0; transition: opacity 0.3s;
}
.dtr-reveal:hover .dtr-cursor { opacity: 1; }
.dtr-labels {
  position: absolute; bottom: 16px; left: 0; right: 0;
  display: flex; justify-content: space-between; padding: 0 24px;
  z-index: 6; pointer-events: none;
}
.dtr-labels span {
  font-size: 11px; font-weight: 700; letter-spacing: 0.15em;
  padding: 5px 12px; border-radius: 4px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.dtr-label-left {
  background: rgba(255,255,255,0.8); color: var(--gray-600);
}
.dtr-label-right {
  background: rgba(59,110,232,0.85); color: white;
}

/* ===== CTA SKY SECTION ===== */
.cta-sky {
  position: relative;
  background: linear-gradient(180deg, #3b9cf5 0%, #6cb8f5 40%, #a0d4ff 70%, #e0f0ff 100%);
  padding: 110px 0 0;
  text-align: center;
  overflow: hidden;
  z-index: 2;
}
.cta-cloud-overlays {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  overflow: hidden;
}
.cta-cloud-overlays img {
  position: absolute; width: 140%; max-width: none; left: -20%;
  opacity: 0.12; object-fit: cover;
  animation: cta-cloud-drift 50s ease-in-out infinite alternate;
}
.cta-cloud-overlays img:nth-child(1) { top: -10%; animation-duration: 50s; }
.cta-cloud-overlays img:nth-child(2) { top: 20%; opacity: 0.08; animation-duration: 70s; animation-direction: alternate-reverse; }
@keyframes cta-cloud-drift {
  0% { transform: translateX(-3%); }
  100% { transform: translateX(3%); }
}
.cta-content { position: relative; z-index: 10; max-width: 800px; margin: 0 auto; padding: 0 32px; }
.cta-title {
  font-family: var(--font); font-weight: 800;
  font-size: clamp(28px, 4.5vw, 48px); line-height: 1.15;
  letter-spacing: -0.025em; color: white; margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.1);
}
.cta-sub {
  font-size: clamp(14px, 1.6vw, 17px); line-height: 1.7;
  color: rgba(255,255,255,0.95); max-width: 620px;
  margin: 0 auto 36px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.08);
}
.cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 70px; }
.cta-fade {
  height: 180px; margin-top: -1px; width: 100%;
  background: linear-gradient(180deg, rgba(160,212,255,0) 0%, rgba(224,240,255,0.3) 20%, rgba(240,248,255,0.6) 40%, rgba(248,252,255,0.8) 60%, rgba(255,255,255,0.95) 80%, #ffffff 100%);
  position: relative; z-index: 2;
}

/* ===== CONTACT ===== */
.contact-grid { display: grid; gap: 40px; max-width: 720px; }
:lang(ja) .contact-grid { max-width: 780px; }

.form-group { margin-bottom: 18px; }
.form-label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--gray-700); }
.form-input, .form-select, .form-textarea {
  width: 100%; border: 1px solid rgba(59,110,232,0.15); border-radius: var(--radius-sm);
  padding: 12px 16px; font-size: 15px; font-family: var(--font);
  color: var(--gray-900); background: var(--blue-wash); transition: all 0.25s;
  box-shadow: var(--shadow-sm);
}
.form-input::placeholder, .form-textarea::placeholder {
  color: var(--gray-400);
}
.form-input:hover, .form-select:hover, .form-textarea:hover {
  border-color: rgba(59,110,232,0.3); background: var(--blue-light);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--blue-solid); outline: none;
  background: white; box-shadow: 0 0 0 3px rgba(59,110,232,0.15);
}
.form-textarea { resize: none; min-height: 110px; }
.form-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-select { appearance: none; cursor: pointer; }

.contact-info h3 { font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue-solid); margin-bottom: 16px; }
.info-name { font-size: 18px; font-weight: 700; color: var(--gray-900); }
.info-nameja { font-size: 14px; color: var(--gray-400); }
.info-detail {
  display: flex; align-items: center; gap: 10px;
  margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--gray-200);
  font-size: 14px; color: var(--gray-600);
}
.info-detail svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--blue-solid); }
.info-detail a { color: var(--gray-600); transition: color 0.2s; }
.info-detail a:hover { color: var(--blue-solid); }
.nepal-placeholder .info-detail { color: var(--gray-400); }
.form-success {
  margin-top: 16px; padding: 14px 18px; border-radius: var(--radius-sm);
  background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d;
  font-size: 14px; font-weight: 500; display: none;
}
.form-success.show { display: block; }

/* ===== FOOTER ===== */
.footer { background: var(--gray-50); border-top: 1px solid var(--gray-200); padding: 56px 0 40px; position: relative; z-index: 2; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
.footer-brand .brand-logo { font-weight: 800; font-size: 17px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gray-900); }
.footer-brand .tagline { font-size: 12px; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 10px; }
.footer-nav .nav-label { font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gray-400); margin-bottom: 14px; }
.footer-nav a { display: block; font-size: 14px; color: var(--gray-600); padding: 3px 0; transition: color 0.2s; }
.footer-nav a:hover { color: var(--gray-900); }
.footer-contact .contact-label { font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gray-400); margin-bottom: 14px; }
.footer-contact p { font-size: 14px; color: var(--gray-600); line-height: 1.8; }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--gray-200); }
.footer-bottom p { font-size: 12px; color: var(--gray-400); }

/* Contact Now Button */
.contact-now-btn {
  position: fixed; bottom: 20px; right: 20px; z-index: 200;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--blue-solid); color: white;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(59,110,232,0.3), 0 0 20px rgba(59,110,232,0.2);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  animation: contact-glow 2s ease-in-out infinite alternate;
  overflow: hidden;
  white-space: nowrap;
}
.contact-icon {
  flex-shrink: 0;
  transition: margin 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.contact-text {
  max-width: 0; opacity: 0; overflow: hidden;
  font-family: var(--font); font-size: 14px; font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.contact-now-btn:hover {
  width: auto; padding: 0 20px 0 16px; border-radius: 999px;
  background: var(--blue-dark);
  box-shadow: 0 8px 24px rgba(59,110,232,0.5), 0 0 35px rgba(59,110,232,0.3);
  animation: none;
}
.contact-now-btn:hover .contact-icon {
  margin-right: 8px;
}
.contact-now-btn:hover .contact-text {
  max-width: 150px; opacity: 1;
}
@keyframes contact-glow {
  0% { box-shadow: 0 4px 16px rgba(59,110,232,0.3), 0 0 20px rgba(59,110,232,0.15); }
  100% { box-shadow: 0 4px 20px rgba(59,110,232,0.4), 0 0 30px rgba(59,110,232,0.25); }
}
.contact-now-btn:active { transform: scale(0.95); transition-duration: 0.08s; }
.contact-now-btn.blur {
  filter: blur(2px);
  transform: translateY(-4px);
  opacity: 0.8;
}
@media (max-width: 768px) {
  .contact-now-btn { bottom: 20px; right: 20px; width: 46px; height: 46px; }
  .contact-icon { width: 18px; height: 18px; }
}

/* Scroll to top */
.scroll-top {
  position: fixed; right: 24px; bottom: 80px; z-index: 150;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue-solid); color: white; border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; pointer-events: none;
  transform: translateY(10px); transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(59,110,232,0.3);
}
.scroll-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.scroll-top:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(59,110,232,0.35); }
.scroll-top:active { transform: scale(0.92); transition-duration: 0.08s; }
.scroll-top:focus-visible { outline: 2px solid var(--blue-solid); outline-offset: 3px; }

/* ===== ANIMATIONS ===== */
.fade-in { opacity: 0; transform: translateY(20px); transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fd1 { transition-delay: 0.1s; }
.fd2 { transition-delay: 0.2s; }
.fd3 { transition-delay: 0.3s; }
.fd4 { transition-delay: 0.4s; }

/* ===== PARTNERS CAROUSEL ===== */
.partners { padding: 48px 0 40px; background: white; border-bottom: 1px solid var(--gray-200); text-align: center; position: relative; z-index: 2; }
.partners-label { font-size: 14px; font-weight: 500; color: var(--gray-400); margin-bottom: 28px; }
.carousel-track-wrapper { overflow: hidden; position: relative; width: 100%; }
.carousel-track-wrapper::before, .carousel-track-wrapper::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2;
  pointer-events: none;
}
.carousel-track-wrapper::before { left: 0; background: linear-gradient(to right, white 0%, transparent 100%); }
.carousel-track-wrapper::after { right: 0; background: linear-gradient(to left, white 0%, transparent 100%); }
.carousel-track {
  display: flex; gap: 64px; align-items: center;
  animation: scroll-left 30s linear infinite;
  width: max-content;
}
.carousel-track:hover { animation-play-state: paused; }
@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.partner-item {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0; opacity: 0.35; transition: opacity 0.3s;
}
.partner-item:hover { opacity: 0.65; }
.partner-icon {
  width: 32px; height: 32px; border-radius: var(--radius-sm);
  background: var(--gray-100); display: flex;
  align-items: center; justify-content: center;
  color: var(--gray-400); font-size: 14px; flex-shrink: 0;
}
.partner-logo { flex-shrink: 0; }
.partner-name {
  font-size: 18px; font-weight: 700; color: var(--gray-600);
  white-space: nowrap; letter-spacing: -0.01em;
}