/* =========================================
   Valtrise Corporate Site
   White-based / Modern / Tech / Animated
   ========================================= */

:root {
  --c-text: #0d1530;
  --c-text-soft: #4b5973;
  --c-muted: #8a93a8;
  --c-border: #e6ebf2;
  --c-bg: #ffffff;
  --c-bg-soft: #f6f9fc;
  --c-bg-soft2: #eef3fa;
  --c-brand: #1f4ea1;
  --c-brand-2: #2bb8d9;
  --c-brand-deep: #0d2c5e;
  --grad-brand: linear-gradient(135deg, #0d2c5e 0%, #1f4ea1 45%, #2bb8d9 100%);
  --shadow-sm: 0 2px 10px rgba(20, 40, 80, 0.05);
  --shadow-md: 0 10px 30px rgba(20, 40, 80, 0.08);
  --shadow-lg: 0 24px 60px rgba(20, 40, 80, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --ease: cubic-bezier(0.7, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: auto;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  font-family: "Inter", "Noto Sans JP", -apple-system, BlinkMacSystemFont,
    "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.7;
  font-feature-settings: "palt";
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: 0.25s; }
ul { list-style: none; padding: 0; margin: 0; }

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

.pc-only { display: inline; }
@media (max-width: 720px) { .pc-only { display: none; } }

/* Skip link (accessibility) */
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 9999;
  background: var(--c-text);
  color: #fff;
  padding: 12px 20px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 16px;
  outline: 2px solid var(--c-brand-2);
  outline-offset: 2px;
}

/* =========================================
   Page loader
   ========================================= */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transition: opacity 0.5s 0.2s var(--ease), visibility 0.7s 0.2s;
}
body:not(.loading) .page-loader {
  opacity: 0;
  visibility: hidden;
}
.loader-mark {
  font-family: "Inter", sans-serif;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  overflow: hidden;
}
.loader-mark span {
  display: inline-block;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transform: translateY(110%);
  animation: loaderLetter 0.8s var(--ease-out) forwards;
}
.loader-mark span:nth-child(1) { animation-delay: 0.05s; }
.loader-mark span:nth-child(2) { animation-delay: 0.1s; }
.loader-mark span:nth-child(3) { animation-delay: 0.15s; }
.loader-mark span:nth-child(4) { animation-delay: 0.2s; }
.loader-mark span:nth-child(5) { animation-delay: 0.25s; }
.loader-mark span:nth-child(6) { animation-delay: 0.3s; }
.loader-mark span:nth-child(7) { animation-delay: 0.35s; }
.loader-mark span:nth-child(8) { animation-delay: 0.4s; }
@keyframes loaderLetter {
  to { transform: translateY(0); }
}
.loader-bar {
  width: 220px;
  height: 2px;
  background: var(--c-bg-soft2);
  overflow: hidden;
  border-radius: 999px;
}
.loader-bar-fill {
  width: 0%;
  height: 100%;
  background: var(--grad-brand);
  transition: width 0.3s var(--ease);
}

/* =========================================
   Scroll progress
   ========================================= */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--grad-brand);
  z-index: 200;
  transition: width 0.1s linear;
}

/* =========================================
   Header
   ========================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: 0.4s var(--ease);
  transform: translateY(-100%);
}
body:not(.loading) .site-header {
  transform: translateY(0);
  transition-delay: 0.5s;
}
.site-header.scrolled {
  border-bottom-color: var(--c-border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.logo img {
  height: 36px;
  width: auto;
  transition: 0.3s var(--ease);
}
.logo:hover img { opacity: 0.7; }
.nav {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--c-text-soft);
  position: relative;
  overflow: hidden;
}
.nav a:not(.nav-cta) > span {
  display: inline-block;
  transition: transform 0.5s var(--ease-out);
}
.nav a:not(.nav-cta)::before {
  content: attr(data-text);
}
.nav a:not(.nav-cta):hover { color: var(--c-brand); }
.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.4s var(--ease-out);
}
.nav a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  background: var(--c-text);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  transition: 0.3s var(--ease);
}
.nav-cta:hover {
  background: var(--c-brand);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  background: none;
  border: 0;
  width: 36px;
  height: 36px;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--c-text);
  margin: 5px 0;
  transition: 0.3s;
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    inset: 80px 0 auto 0;
    flex-direction: column;
    background: #fff;
    padding: 32px 24px 40px;
    gap: 24px;
    border-bottom: 1px solid var(--c-border);
    transform: translateY(-120%);
    transition: 0.4s var(--ease);
  }
  .nav.open { transform: translateY(0); }
  .hamburger { display: block; }
}

/* =========================================
   Reveal animations
   ========================================= */

/* Line reveal — robust opacity + translate (no overflow clipping) */
.line {
  display: block;
  line-height: 1.15;
}
.js [data-reveal="line"] {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.js [data-reveal="line"].in {
  opacity: 1;
  transform: translateY(0);
}

.js [data-reveal="up"] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.js [data-reveal="up"].in {
  opacity: 1;
  transform: translateY(0);
}

.js [data-reveal="fade"] {
  opacity: 0;
  transition: opacity 0.9s var(--ease-out);
}
.js [data-reveal="fade"].in {
  opacity: 1;
}

.js [data-reveal="clip"] {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.4s var(--ease-out);
}
.js [data-reveal="clip"].in {
  clip-path: inset(0 0 0 0);
}

.js [data-reveal="line-h"] {
  position: relative;
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.js [data-reveal="line-h"].in {
  opacity: 1;
  transform: translateX(0);
}

/* =========================================
   Hero (ACES-style minimal)
   ========================================= */
.hero {
  position: relative;
  padding: 220px 0 80px;
  overflow: hidden;
  background: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.hero-bg {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(40% 40% at 80% 30%, rgba(43, 184, 217, 0.12), transparent 60%),
    radial-gradient(35% 45% at 15% 70%, rgba(31, 78, 161, 0.1), transparent 60%);
  filter: blur(40px);
  z-index: 0;
  animation: heroBg 18s ease-in-out infinite alternate;
}
@keyframes heroBg {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-3%, 2%) scale(1.05); }
}
.hero-inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
}

.hero-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  align-items: center;
}
.hero-copy { min-width: 0; position: relative; z-index: 4; }

.hero-title {
  font-size: clamp(38px, 6vw, 76px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 0;
  font-feature-settings: "palt";
  word-break: keep-all;
  line-break: strict;
  overflow-wrap: normal;
  position: relative;
  z-index: 4;
}
.hero-title .line {
  white-space: nowrap;
}

/* Scramble decode animation — binary → text */
.scramble {
  display: inline-block;
  white-space: nowrap;
}
.scramble-char {
  display: inline-block;
  text-align: center;
  min-width: 0.65em;
  font-variant-numeric: tabular-nums;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.scramble-char.scrambling {
  color: var(--c-brand-2);
  opacity: 0.8;
  font-weight: 700;
}
.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: 0.4s var(--ease);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}
.btn > span {
  position: relative;
  z-index: 2;
}
.btn-primary {
  background: var(--c-text);
  color: #fff;
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-brand);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease-out);
  z-index: 1;
}
.btn-primary:hover {
  transform: translateY(-2px);
}
.btn-primary:hover::before { transform: translateY(0); }
.btn-ghost {
  background: transparent;
  color: var(--c-text);
  border-color: var(--c-text);
}
.btn-ghost::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--c-text);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease-out);
  z-index: 1;
}
.btn-ghost:hover { color: #fff; }
.btn-ghost:hover::before { transform: translateY(0); }
.btn-lg { padding: 22px 48px; font-size: 16px; }

/* Hero footer (ACES-style minimal label + scroll) */
.hero-foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--c-border);
}
.hero-foot-label {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c-text);
}
.hfl-key { color: var(--c-text); }
.hfl-line {
  width: 28px;
  height: 1px;
  background: var(--c-text);
}

/* Scroll indicator (now inline in hero-foot) */
.hero-scroll {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--c-muted);
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.32em;
}
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: var(--c-border);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: var(--c-text);
  animation: scrollLine 2s var(--ease) infinite;
}
@keyframes scrollLine {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(330%); }
}
.hero-scroll:hover { color: var(--c-text); }

/* Hero visual */
.hero-visual {
  position: relative;
  height: 600px;
  overflow: visible;
}

/* Background watermark — clipped to visual column, no copy overlap */
.hv-watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.hv-watermark span {
  font-family: "Inter", sans-serif;
  font-size: clamp(100px, 18vw, 200px);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(13, 21, 48, 0.08);
  white-space: nowrap;
  display: inline-block;
}
/* Big logo stage — overflows only to the RIGHT, never overlaps copy */
.hv-stage {
  position: absolute;
  top: 50%;
  right: -320px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  z-index: 3;
}
.hv-stage-mark {
  width: clamp(360px, 50vw, 620px);
  height: clamp(360px, 50vw, 620px);
  position: relative;
  z-index: 4;
  filter: drop-shadow(0 50px 100px rgba(20, 40, 80, 0.22));
  animation: stageFloat 8s ease-in-out infinite;
  object-fit: contain;
  max-width: none;
  flex-shrink: 0;
}
@keyframes stageFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-16px) rotate(-1.5deg); }
}
.hv-stage-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 110%;
  height: 110%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle, rgba(43, 184, 217, 0.28) 0%, rgba(31, 78, 161, 0.12) 35%, transparent 70%);
  filter: blur(50px);
  z-index: 1;
  animation: stageGlow 7s ease-in-out infinite;
}
@keyframes stageGlow {
  0%, 100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1;   transform: translate(-50%, -50%) scale(1.1); }
}

/* Bottom caption */
.hv-caption {
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 5;
}
.hv-caption-line {
  width: 40px;
  height: 1px;
  background: var(--c-text);
}
.hv-caption-text {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--c-text);
  text-transform: uppercase;
}

/* Decorative + marks */
.hv-plus {
  position: absolute;
  width: 14px;
  height: 14px;
  color: var(--c-brand);
  opacity: 0.45;
  z-index: 1;
}
.hv-plus--1 { top: 60px;  right: 80px; animation: plusFade 4s ease-in-out infinite; }
.hv-plus--2 { top: 200px; left: 50%; transform: translateX(-50%); animation: plusFade 4s 1s ease-in-out infinite; }
.hv-plus--3 { bottom: 90px; right: 30px; animation: plusFade 4s 2s ease-in-out infinite; }
.hv-plus--4 { bottom: 150px; left: 240px; animation: plusFade 4s 3s ease-in-out infinite; }
@keyframes plusFade {
  0%, 100% { opacity: 0.2; transform: scale(1) translateX(var(--tx, 0)); }
  50%      { opacity: 0.7; transform: scale(1.3) translateX(var(--tx, 0)); }
}
.hv-plus--2 { --tx: -50%; }


@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual {
    height: 380px;
    overflow: hidden;
  }
  .hv-stage {
    right: -8%;
  }
  .hv-stage-mark {
    width: 360px;
    height: 360px;
  }
  .hv-watermark span {
    font-size: 120px;
  }
  .hero-scroll { display: none; }
}
@media (max-width: 560px) {
  .hero-visual { height: 320px; }
  .hv-stage-mark { width: 280px; height: 280px; }
}

/* Marquee */
.hero-marquee {
  margin-top: 40px;
  overflow: hidden;
  position: relative;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: 18px 0;
}
.marquee-track {
  display: flex;
  gap: 32px;
  animation: marquee 50s linear infinite;
  width: max-content;
}
.marquee-track span {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--c-muted);
  white-space: nowrap;
  text-transform: uppercase;
}
.marquee-track span:nth-child(2n) {
  color: var(--c-border);
  font-weight: 400;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* =========================================
   Section common
   ========================================= */
.section {
  padding: 140px 0;
  position: relative;
}
.section-light {
  background: var(--c-bg-soft);
}
.section-head {
  text-align: left;
  margin-bottom: 40px;
}
.section-head.center { text-align: center; }
.section-num {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--c-muted);
  margin-bottom: 12px;
  padding-left: 38px;
  position: relative;
  text-transform: uppercase;
}
.section-num::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 28px;
  height: 1px;
  background: var(--c-muted);
}
.section-title {
  font-family: "Inter", sans-serif;
  font-size: clamp(48px, 7.5vw, 96px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0 0 10px;
  color: var(--c-text);
}
.section-sub {
  font-size: 15px;
  color: var(--c-muted);
  margin: 0;
  letter-spacing: 0.04em;
}

/* =========================================
   About
   ========================================= */
.about-grid {
  max-width: 880px;
}
.about-h {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -0.01em;
  margin: 0 0 28px;
}
.about-h .line { line-height: 1.45; }
.about-text p {
  color: var(--c-text-soft);
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 2;
}
.about-stats {
  display: grid;
  gap: 14px;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 4px;
  padding: 32px 36px;
  display: flex;
  align-items: baseline;
  gap: 24px;
  transition: 0.5s var(--ease);
}
.stat-card:hover {
  border-color: var(--c-text);
  transform: translateX(8px);
}
.stat-num {
  font-family: "Inter", sans-serif;
  font-size: 56px;
  font-weight: 900;
  margin: 0;
  letter-spacing: -0.04em;
  flex-shrink: 0;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.stat-label {
  margin: 0;
  font-weight: 700;
  font-size: 16px;
}
.stat-label span {
  display: block;
  font-weight: 400;
  font-size: 12px;
  color: var(--c-muted);
  margin-top: 6px;
  letter-spacing: 0.04em;
}

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

/* =========================================
   What we do (Capability cards — typographic)
   ========================================= */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--c-border);
  border: 1px solid var(--c-border);
}
.capability-card {
  background: #fff;
  padding: 80px 60px;
  position: relative;
  transition: 0.5s var(--ease);
}
.capability-card:hover {
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
}
.cap-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--c-border);
}
.cap-num {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--c-muted);
}
.cap-en {
  font-family: "Inter", sans-serif;
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--c-text);
}
.capability-card:nth-child(1) .cap-en {
  background: linear-gradient(135deg, #1f4ea1, #2bb8d9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.capability-card:nth-child(2) .cap-en {
  background: linear-gradient(135deg, #0d2c5e, #1f4ea1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cap-title {
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 800;
  margin: 0 0 28px;
  line-height: 1.5;
  letter-spacing: -0.01em;
}
.cap-desc {
  color: var(--c-text-soft);
  margin: 0 0 32px;
  font-size: 15px;
  line-height: 2;
}
.cap-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cap-tags li {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--c-text-soft);
  border: 1px solid var(--c-border);
  padding: 7px 14px;
  border-radius: 999px;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .capability-grid { grid-template-columns: 1fr; }
  .capability-card { padding: 60px 28px; }
}

/* Compact products list (text-only, no app icons) */
.products-mini {
  margin-top: 120px;
}
.products-mini-label {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 0.28em;
  font-weight: 600;
  color: var(--c-muted);
  margin: 0 0 12px;
  text-transform: uppercase;
}
.products-mini-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--c-text);
  margin: 0 0 40px;
}
.product-lines {
  border-top: 1px solid var(--c-border);
}
.product-line {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 8px;
  border-bottom: 1px solid var(--c-border);
  transition: 0.4s var(--ease);
  text-decoration: none;
  color: inherit;
  position: relative;
}
.product-line:hover {
  padding-left: 16px;
  background: rgba(255, 255, 255, 0.6);
}
.product-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  border: 1px solid var(--c-border);
  flex-shrink: 0;
  transition: 0.4s var(--ease);
}
.product-icon--solid {
  background: #fff;
  padding: 6px;
}
.product-line:hover .product-icon {
  border-color: var(--brand);
  transform: scale(1.05);
}
.product-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 160px;
  flex-shrink: 0;
}
.product-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.005em;
}
.product-en {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--c-muted);
  text-transform: uppercase;
}
.product-desc {
  font-size: 14px;
  color: var(--c-text-soft);
  flex: 1;
}
.product-status {
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 10%, transparent);
  padding: 5px 10px;
  border-radius: 999px;
  flex-shrink: 0;
  text-transform: uppercase;
}
.product-arrow {
  width: 36px;
  height: 36px;
  border: 1px solid var(--c-border);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-muted);
  flex-shrink: 0;
  transition: 0.35s var(--ease);
}
.product-line:hover .product-arrow {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  transform: rotate(0deg) translateX(4px);
}

@media (max-width: 860px) {
  .product-line {
    flex-wrap: wrap;
    gap: 14px 18px;
    padding: 20px 8px;
  }
  .product-desc {
    flex: 1 1 100%;
    margin-left: 60px;
  }
  .product-status { order: 4; }
  .product-arrow { order: 5; }
}
@media (max-width: 480px) {
  .product-line:hover { padding-left: 8px; }
  .product-desc { margin-left: 0; }
}

/* =========================================
   Vision (typographic)
   ========================================= */
.vision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--c-border);
  border: 1px solid var(--c-border);
}
.vision-card {
  background: #fff;
  padding: 60px 40px;
  text-align: left;
  transition: 0.5s var(--ease);
  position: relative;
  overflow: hidden;
}
.vision-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}
.vision-card:hover::before { transform: scaleX(1); }
.vision-card:hover {
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
}
.vision-num {
  font-family: "Inter", sans-serif;
  font-size: 100px;
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.05em;
  margin: 0 0 28px;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.85;
}
.vision-card h3 {
  font-family: "Inter", sans-serif;
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.vision-card p {
  margin: 0;
  color: var(--c-text-soft);
  font-size: 14.5px;
  line-height: 1.85;
}

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

/* =========================================
   Leadership / Co-Founders
   ========================================= */
.leader-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--c-border);
  border: 1px solid var(--c-border);
}
.leader-card {
  background: #fff;
  padding: 70px 56px 64px;
  position: relative;
  transition: 0.5s var(--ease);
}
.leader-card:hover {
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
}
.leader-card::before {
  content: "";
  position: absolute;
  top: 70px;
  left: 56px;
  width: 36px;
  height: 1px;
  background: var(--c-text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}
.leader-card.in::before { transform: scaleX(1); transition-delay: 0.4s; }

.leader-head {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--c-border);
}
.leader-num {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--c-muted);
  margin: 24px 0 14px;
  text-transform: uppercase;
}
.leader-role {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--c-brand);
  margin: 0 0 18px;
  text-transform: uppercase;
}
.leader-name {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}
.leader-name span {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.leader-name-en {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--c-muted);
  text-transform: uppercase;
  margin-left: 4px;
}

.leader-quote {
  margin: 0;
  position: relative;
  padding-left: 24px;
}
.leader-quote::before {
  content: "\201C";
  position: absolute;
  top: -10px;
  left: -8px;
  font-family: Georgia, serif;
  font-size: 64px;
  color: var(--c-brand);
  opacity: 0.18;
  line-height: 1;
}
.leader-quote p {
  margin: 0 0 1.4em;
  font-size: 15px;
  line-height: 2;
  color: var(--c-text);
}
.leader-quote p:last-child { margin-bottom: 0; }
.leader-quote p:first-child {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 1.6em;
}

/* Pending placeholder for missing leader message */
.leader-pending {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
  min-height: 280px;
  color: var(--c-muted);
}
.leader-pending-mark {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-muted);
  position: relative;
  margin-bottom: 18px;
}
.leader-pending-mark::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--c-muted);
  opacity: 0.5;
  animation: pulseRing 2.5s ease-out infinite;
}
.leader-pending p {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  letter-spacing: 0.24em;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0 0 8px;
  color: var(--c-text-soft);
}
.leader-pending small {
  font-size: 12px;
  letter-spacing: 0.16em;
}
@keyframes pulseRing {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50%      { transform: scale(2); opacity: 0; }
}

@media (max-width: 860px) {
  .leader-grid { grid-template-columns: 1fr; }
  .leader-card { padding: 50px 28px; }
  .leader-card::before { left: 28px; top: 50px; }
}

/* =========================================
   Company
   ========================================= */
.company-table {
  max-width: 880px;
  margin: 0 auto;
}
.company-table dl {
  margin: 0;
  border-top: 1px solid var(--c-border);
}
.company-table > dl > div {
  display: grid;
  grid-template-columns: 240px 1fr;
  border-bottom: 1px solid var(--c-border);
  transition: 0.4s var(--ease);
}
.company-table > dl > div:hover {
  background: #fff;
  padding-left: 12px;
}
.company-table dt,
.company-table dd {
  padding: 28px 8px;
  margin: 0;
}
.company-table dt {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  color: var(--c-muted);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.company-table dd {
  color: var(--c-text);
  font-size: 15px;
  font-weight: 500;
}
.company-table dd a {
  color: var(--c-brand);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}

@media (max-width: 720px) {
  .company-table > dl > div {
    grid-template-columns: 1fr;
  }
  .company-table dt { padding: 16px 8px 4px; font-size: 11px; }
  .company-table dd { padding: 4px 8px 22px; }
}

/* =========================================
   Contact
   ========================================= */
.section-contact { background: var(--c-bg); }
.contact-card {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border: 1px solid var(--c-border);
  padding: 80px 40px;
  position: relative;
}
.contact-card::before,
.contact-card::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  border: 1px solid var(--c-text);
}
.contact-card::before {
  top: -1px;
  left: -1px;
  border-right: 0;
  border-bottom: 0;
}
.contact-card::after {
  bottom: -1px;
  right: -1px;
  border-left: 0;
  border-top: 0;
}
.contact-lead {
  color: var(--c-text-soft);
  margin: 0 0 40px;
  font-size: 15px;
  line-height: 2;
}

/* Contact form */
.contact-form {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-label {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-text-soft);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.form-label em {
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--c-brand);
  background: rgba(31, 78, 161, 0.08);
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: inherit;
  font-size: 15px;
  color: var(--c-text);
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: 4px;
  padding: 14px 16px;
  width: 100%;
  transition: 0.25s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.contact-form select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238a93a8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 40px;
  cursor: pointer;
}
.contact-form textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.7;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--c-text);
  box-shadow: 0 0 0 4px rgba(13, 21, 48, 0.06);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--c-muted);
}
.form-honey {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.form-submit {
  align-self: flex-start;
  margin-top: 8px;
  min-width: 200px;
}
.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.form-note {
  color: var(--c-muted);
  font-size: 11px;
  letter-spacing: 0.04em;
  line-height: 1.8;
  margin: 16px 0 0;
}
.form-note strong {
  color: var(--c-text-soft);
  font-weight: 600;
}

/* Success state */
.form-success {
  text-align: center;
  padding: 40px 20px;
  animation: successFade 0.6s var(--ease-out);
}
@keyframes successFade {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.form-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 16px 40px rgba(31, 78, 161, 0.28);
}
.form-success h3 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.form-success p {
  margin: 0;
  color: var(--c-text-soft);
  font-size: 14px;
  line-height: 1.9;
}

.contact-note {
  color: var(--c-muted);
  font-size: 11px;
  letter-spacing: 0.06em;
  margin: 28px 0 0;
}

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-card { padding: 56px 24px; }
}

/* =========================================
   Footer
   ========================================= */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--c-border);
  padding-top: 80px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 60px;
}
.footer-brand p {
  margin: 18px 0 0;
  color: var(--c-text-soft);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.footer-logo { height: 36px; width: auto; }
.footer-nav {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 13px;
  color: var(--c-text-soft);
  font-weight: 500;
  letter-spacing: 0.04em;
  position: relative;
}
.footer-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.4s var(--ease-out);
}
.footer-nav a:hover { color: var(--c-text); }
.footer-nav a:hover::after { width: 100%; }
.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid var(--c-border);
  color: var(--c-muted);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* =========================================
   Mobile responsive — consolidated overrides
   ========================================= */

/* Tablet & below */
@media (max-width: 980px) {
  .container { padding: 0 24px; }
  .section { padding: 110px 0; }
  .section-head { margin-bottom: 36px; }
}

/* Mobile (landscape/small tablet) */
@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 28px; }

  /* Header */
  .header-inner { height: 68px; }
  .logo img { height: 30px; }
  .nav-cta { padding: 9px 18px; font-size: 12px; }

  /* Hero */
  .hero {
    padding: 120px 0 50px;
    min-height: auto;
  }
  .hero-title { font-size: clamp(30px, 8.5vw, 46px); line-height: 1.3; }
  .hero-visual { height: 320px; overflow: hidden; }
  .hv-stage { right: -8%; }
  .hv-stage-mark { width: 280px; height: 280px; }
  .hv-watermark span { font-size: 100px; }
  .hero-foot {
    margin-top: 28px;
    padding-top: 18px;
    flex-wrap: wrap;
    gap: 16px;
  }
  .hero-foot-label { font-size: 10px; gap: 12px; }
  .hero-marquee {
    margin-top: 24px;
    padding: 14px 0;
  }
  .marquee-track span { font-size: 11px; letter-spacing: 0.12em; }

  /* Section heads */
  .section-num { font-size: 10px; padding-left: 32px; margin-bottom: 10px; }
  .section-num::before { width: 22px; }
  .section-title { font-size: clamp(38px, 11vw, 64px); }
  .section-sub { font-size: 14px; }

  /* About */
  .about-h { font-size: 21px; line-height: 1.55; margin-bottom: 22px; }
  .about-text p { font-size: 14.5px; line-height: 1.9; }

  /* Capability cards */
  .capability-card { padding: 50px 24px; }
  .cap-head { gap: 12px; margin-bottom: 32px; padding-bottom: 20px; }
  .cap-en { font-size: 42px; }
  .cap-title { font-size: 22px; margin-bottom: 22px; }
  .cap-desc { font-size: 14.5px; line-height: 1.85; }

  /* Vision cards */
  .vision-card { padding: 44px 26px; }
  .vision-num { font-size: 72px; margin-bottom: 20px; }
  .vision-card h3 { font-size: 20px; }
  .vision-card p { font-size: 14px; }

  /* Leadership */
  .leader-card { padding: 44px 24px; }
  .leader-card::before { left: 24px; top: 44px; }
  .leader-name { font-size: 26px; }
  .leader-quote { padding-left: 16px; }
  .leader-quote::before { font-size: 48px; top: -6px; }
  .leader-quote p { font-size: 14.5px; line-height: 1.85; }

  /* Products mini */
  .products-mini { margin-top: 64px; }
  .products-mini-title { font-size: 17px; margin-bottom: 24px; }
  .product-line {
    flex-wrap: wrap;
    gap: 12px 16px;
    padding: 18px 4px;
  }
  .product-line:hover { padding-left: 4px; }
  .product-icon { width: 40px; height: 40px; }
  .product-meta { min-width: 0; }
  .product-name { font-size: 16px; }
  .product-en { font-size: 10px; }
  .product-desc { font-size: 13px; flex: 1 1 100%; margin-left: 0; }
  .product-status { font-size: 9px; padding: 4px 8px; }
  .product-arrow { width: 32px; height: 32px; }

  /* Company table */
  .company-table > dl > div { padding: 4px 0; }
  .company-table dt { padding: 14px 4px 4px; font-size: 11px; }
  .company-table dd { padding: 4px 4px 18px; font-size: 14px; }

  /* Contact form */
  .contact-card { padding: 50px 22px; }
  .contact-card::before, .contact-card::after {
    width: 28px; height: 28px;
  }
  .contact-lead { font-size: 14px; }
  .form-submit { width: 100%; }
  .btn-lg { padding: 18px 28px; font-size: 15px; }
  .form-success { padding: 20px 0; }
  .form-success-icon { width: 60px; height: 60px; margin-bottom: 18px; }
  .form-success h3 { font-size: 19px; }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    padding-bottom: 40px;
  }
  .footer-logo { height: 32px; }
  .footer-brand p { font-size: 12px; }
  .footer-nav { gap: 14px 22px; }
  .footer-nav a { font-size: 12px; }
  .footer-bottom { padding: 20px 0; font-size: 10px; }
}

/* Small phones */
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .section { padding: 64px 0; }

  .header-inner { height: 60px; }
  .logo img { height: 26px; }
  .nav-cta { padding: 8px 14px; font-size: 11px; }

  .hero { padding: 100px 0 36px; }
  .hero-title { font-size: clamp(26px, 9.5vw, 38px); line-height: 1.32; }
  .hero-visual { height: 240px; }
  .hv-stage-mark { width: 220px; height: 220px; }
  .hv-watermark span { font-size: 76px; }

  .section-title { font-size: clamp(32px, 12vw, 50px); }

  .capability-card { padding: 40px 20px; }
  .cap-en { font-size: 36px; }

  .vision-card { padding: 36px 22px; }
  .vision-num { font-size: 60px; }

  .leader-card { padding: 36px 20px; }
  .leader-card::before { left: 20px; top: 36px; }

  .contact-card { padding: 40px 18px; }
  .contact-form { gap: 16px; }
  .form-row { gap: 16px; }
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    padding: 12px 14px;
    font-size: 14px;
  }
  .form-label { font-size: 10px; }

  .marquee-track { gap: 24px; }

  /* Page loader on tiny screens */
  .loader-mark { font-size: clamp(28px, 10vw, 44px); }
  .loader-bar { width: 160px; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
