/* ===========================================================
   VBSCRELAB PORTFOLIO — PREMIUM EDITION v2
   Elevated editorial system with refined interactions
   =========================================================== */

:root {
  --bg: #f4f0ea;
  --bg-soft: #faf7f2;
  --bg-warm: #ede6dc;
  --ink: #1a1613;
  --ink-soft: #6b5f56;
  --ink-muted: #9a8e84;
  --line: rgba(26, 22, 19, 0.12);
  --line-strong: rgba(26, 22, 19, 0.22);
  --brand: #a45735;
  --brand-deep: #8b4424;
  --brand-soft: #d4b5a4;
  --brand-glow: rgba(164, 87, 53, 0.12);
  --white: #fff;
  --dark: #1c1612;
  --dark-soft: #2a231d;

  --font-body: "Be Vietnam Pro", "Noto Sans", sans-serif;
  --font-display: "Playfair Display", "Noto Serif", "Times New Roman", serif;

  --shadow-sm: 0 4px 16px rgba(20, 15, 12, 0.05);
  --shadow-md: 0 16px 48px rgba(20, 15, 12, 0.08);
  --shadow-lg: 0 32px 72px rgba(28, 20, 14, 0.14);
  --shadow-card:
    0 24px 60px rgba(28, 20, 14, 0.12), 0 2px 8px rgba(28, 20, 14, 0.06);
  --shadow-card-hover:
    0 36px 80px rgba(28, 20, 14, 0.18), 0 4px 12px rgba(28, 20, 14, 0.08);

  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 28px;

  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse at 80% 5%, rgba(164, 87, 53, 0.1), transparent 45%),
    radial-gradient(
      ellipse at 15% 65%,
      rgba(212, 181, 164, 0.3),
      transparent 50%
    ),
    radial-gradient(
      ellipse at 50% 100%,
      rgba(164, 87, 53, 0.06),
      transparent 40%
    ),
    var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}

body.is-loading {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-body);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
}

p,
li,
span,
a,
button {
  font-family: var(--font-body);
}

a {
  color: inherit;
  text-decoration: none;
  cursor: none;
}

img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.container {
  width: min(1200px, calc(100% - 56px));
  margin-inline: auto;
}

.section {
  padding: 140px 0 0;
}

/* -- Custom Cursor -- */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  will-change: transform;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--brand);
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(164, 87, 53, 0.4);
  transition:
    width 0.35s var(--ease-out),
    height 0.35s var(--ease-out),
    border-color 0.3s;
}

.cursor-ring.is-hover {
  width: 56px;
  height: 56px;
  border-color: rgba(164, 87, 53, 0.7);
}

/* -- Ambient Particles -- */
.ambient-particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
}

/* -- Grain Overlay (CSS-only, no SVG filter) -- */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.028;
  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.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* -- Ambient Layer -- */
.ambient-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: linear-gradient(
    to right,
    transparent 0,
    transparent calc(50% - 600px),
    rgba(26, 22, 19, 0.03) calc(50% - 600px),
    rgba(26, 22, 19, 0.03) calc(50% - 599px),
    transparent calc(50% - 599px),
    transparent calc(50% + 599px),
    rgba(26, 22, 19, 0.03) calc(50% + 599px),
    rgba(26, 22, 19, 0.03) calc(50% + 600px),
    transparent calc(50% + 600px),
    transparent 100%
  );
}

/* -- Loading Screen -- */
.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: grid;
  place-items: center;
  background: rgba(244, 240, 234, 0.96);
  backdrop-filter: blur(8px);
  transition:
    opacity 0.65s ease,
    visibility 0.65s ease;
}

.loading-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-panel {
  width: min(440px, calc(100% - 48px));
  padding: 48px 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.loading-logo {
  width: 180px;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}

.loading-text {
  margin-top: 16px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
}

.loading-bar {
  margin-top: 28px;
  width: 100%;
  height: 3px;
  border-radius: 99px;
  background: rgba(26, 22, 19, 0.08);
  overflow: hidden;
}

.loading-bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-deep), var(--brand), #c9845f);
  transition: width 0.3s ease;
}

/* -- Header -- */
.site-header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1200px, calc(100% - 56px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 20px;
  z-index: 1000;
  transition: all 0.4s var(--ease-smooth);
  overflow: hidden;
}

/* Scroll progress bar */
.scroll-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(
    90deg,
    var(--brand-deep),
    var(--brand),
    var(--brand-soft)
  );
  border-radius: 0 2px 2px 0;
  will-change: width;
  transition: width 0.1s linear;
  opacity: 0;
}

.site-header.scrolled .scroll-progress {
  opacity: 1;
}

.site-header.scrolled {
  background: rgba(250, 247, 242, 0.82);
  border-color: var(--line);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(25, 16, 11, 0.06);
}

.logo-link {
  display: flex;
  align-items: center;
}

.header-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  position: relative;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}

.nav-links a:hover {
  color: var(--brand);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-links a.is-active {
  color: var(--brand);
}

/* -- Language Switch -- */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 6px 14px;
  cursor: none;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: all 0.3s ease;
}

.lang-switch:hover {
  border-color: var(--brand-soft);
  color: var(--brand);
  background: rgba(164, 87, 53, 0.04);
}

.lang-switch__vi,
.lang-switch__en {
  transition:
    color 0.3s ease,
    opacity 0.3s ease;
}

.lang-switch[data-lang="vi"] .lang-switch__vi {
  color: var(--brand);
  opacity: 1;
}

.lang-switch[data-lang="vi"] .lang-switch__en {
  opacity: 0.4;
}

.lang-switch[data-lang="en"] .lang-switch__en {
  color: var(--brand);
  opacity: 1;
}

.lang-switch[data-lang="en"] .lang-switch__vi {
  opacity: 0.4;
}

.lang-switch__divider {
  width: 1px;
  height: 12px;
  background: var(--line-strong);
}

/* -- Hamburger -- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: none;
  padding: 0;
  transition: border-color 0.3s ease;
  position: relative;
  z-index: 1001;
}

.hamburger:hover {
  border-color: var(--brand-soft);
}

.hamburger__line {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.4s var(--ease-out);
  transform-origin: center;
}

.hamburger.is-active .hamburger__line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger.is-active .hamburger__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.is-active .hamburger__line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* -- Mobile Menu Overlay -- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(244, 240, 234, 0.97);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.5s var(--ease-out),
    visibility 0.5s var(--ease-out);
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.mobile-menu__link {
  font-family: var(--font-body);
  font-size: clamp(32px, 8vw, 48px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  padding: 8px 0;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.5s var(--ease-out),
    transform 0.5s var(--ease-out),
    color 0.3s ease;
}

.mobile-menu.is-open .mobile-menu__link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.is-open .mobile-menu__link:nth-child(1) {
  transition-delay: 0.1s;
}
.mobile-menu.is-open .mobile-menu__link:nth-child(2) {
  transition-delay: 0.15s;
}
.mobile-menu.is-open .mobile-menu__link:nth-child(3) {
  transition-delay: 0.2s;
}
.mobile-menu.is-open .mobile-menu__link:nth-child(4) {
  transition-delay: 0.25s;
}
.mobile-menu.is-open .mobile-menu__link:nth-child(5) {
  transition-delay: 0.3s;
}

.mobile-menu__link::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}

.mobile-menu__link:hover {
  color: var(--brand);
}

.mobile-menu__link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.mobile-menu__footer {
  margin-top: 48px;
  opacity: 0;
  transition: opacity 0.5s ease 0.35s;
}

.mobile-menu.is-open .mobile-menu__footer {
  opacity: 1;
}

.mobile-menu__footer p {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-muted);
  letter-spacing: 0.06em;
}

/* -- Hero -- */
.hero {
  min-height: 100svh;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(440px, 0.94fr);
  gap: 64px;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 100px;
}

.hero-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.decor-line {
  position: absolute;
  background: var(--line);
}

.decor-line--v {
  width: 1px;
  height: 120px;
  top: 80px;
  right: 48%;
}

.decor-line--h {
  height: 1px;
  width: 80px;
  bottom: 15%;
  left: 0;
}

.decor-corner {
  position: absolute;
  top: 100px;
  right: 0;
  width: 48px;
  height: 48px;
  border-top: 1px solid var(--brand-soft);
  border-right: 1px solid var(--brand-soft);
}

.heading-eyebrow {
  margin-bottom: 20px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 700;
}

.hero-title {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.36;
  font-weight: 800;
  text-wrap: balance;
  letter-spacing: -0.015em;
}

html[lang="en"] .hero-title {
  font-size: clamp(30px, 3.5vw, 46px);
}

.title-line {
  display: block;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
}

/* Split chars within title lines */
/* Word-level wrapper — prevents line break within a word */
.title-line .split-word {
  display: inline-block;
  white-space: nowrap;
}

/* Space between words — this IS the valid line-break point */
.title-line .split-space {
  display: inline;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}

.hero-copy.is-visible .title-line .split-space {
  opacity: 1;
}

.title-line .split-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px) rotateX(-40deg);
  transition:
    opacity 0.5s var(--ease-out),
    transform 0.6s var(--ease-spring);
}

.hero-copy.is-visible .title-line {
  opacity: 1;
  transform: translateY(0);
}

.hero-copy.is-visible .title-line .split-char {
  opacity: 1;
  transform: translateY(0) rotateX(0);
}

.hero-copy.is-visible .title-line:nth-child(1) {
  transition-delay: 0.15s;
}

.hero-copy.is-visible .title-line:nth-child(2) {
  transition-delay: 0.3s;
}

.hero-title .title-line {
  color: var(--brand);
}

.hero-title .accent {
  color: var(--brand);
}

.kinetic-text {
  background-image: linear-gradient(
    92deg,
    var(--ink) 12%,
    var(--brand) 50%,
    #c9845f 88%
  );
  background-size: 200% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-bottom: 0.08em;
  transition: background-position 0.25s ease-out;
}

.hero-desc {
  margin-top: 28px;
  max-width: 52ch;
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--ink-soft);
  line-height: 1.8;
}

.hero-meta {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-meta span {
  padding: 10px 18px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
  transition: all 0.3s ease;
}

.hero-meta span:hover {
  border-color: var(--brand-soft);
  background: rgba(164, 87, 53, 0.06);
  color: var(--brand);
}

.hero-media {
  position: relative;
  min-height: 560px;
  will-change: transform;
  transition: transform 0.4s var(--ease-out);
}

.kinetic-ring-container {
  position: absolute;
  width: 240px;
  aspect-ratio: 1;
  top: -18px;
  right: -18px;
  display: grid;
  place-items: center;
  color: rgba(26, 22, 19, 0.55);
  border-radius: 50%;
  border: 1px solid rgba(26, 22, 19, 0.1);
  background: rgba(255, 255, 255, 0.7);
  z-index: 3;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(6px);
  overflow: hidden;
}

.kinetic-ring-container svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: ring-spin 24s linear infinite;
  will-change: transform;
}

.kinetic-ring-container text {
  font-family: var(--font-body);
}

.ring-core-text {
  font-family: var(--font-display);
  font-size: 42px;
  letter-spacing: 0.08em;
  color: var(--brand);
}

.image-card {
  position: absolute;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 10, 9, 0.25), transparent 50%);
  pointer-events: none;
}

.image-main {
  inset: 60px 0 0 80px;
}

.image-sub {
  width: 44%;
  height: 46%;
  left: 0;
  bottom: 8px;
}

.image-card img {
  transition: transform 1s var(--ease-out);
}

.hero-media:hover .image-card img {
  transform: scale(1.04);
}

/* -- Marquee Band -- */
.marquee-band {
  position: relative;
  z-index: 2;
  margin-top: 8px;
  border-top: 1px solid var(--dark);
  border-bottom: 1px solid var(--dark);
  background: var(--dark);
  color: #f5efe8;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 28px;
  animation: marquee-run 36s linear infinite;
  padding: 16px 0;
  will-change: transform;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: var(--font-body);
  font-size: clamp(11px, 1.2vw, 13px);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-dot {
  width: 4px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--brand-soft);
}

/* -- Section Heads -- */
.section-head {
  max-width: 1000px;
}

.section-title {
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.2;
  font-weight: 800;
  text-wrap: balance;
}

.section-desc {
  margin-top: 18px;
  max-width: 640px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.8;
}

/* -- Core Grid (Philosophy) -- */
.about-pano {
  margin-top: 40px;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  height: 420px;
}

.about-pano img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.4s var(--ease-out);
}

.about-pano:hover img {
  transform: scale(1.03);
}

.about-pano figcaption {
  position: absolute;
  left: 20px;
  bottom: 20px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  font-size: 13px;
  color: var(--ink-soft);
  border: 1px solid rgba(255, 255, 255, 0.4);
  max-width: 480px;
}

.core-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.core-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  min-height: 280px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition:
    box-shadow 0.4s ease,
    border-color 0.3s,
    transform 0.4s var(--ease-out);
}

.core-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: var(--brand-soft);
  transform: translateY(-4px);
}

.core-index {
  font-family: var(--font-body);
  font-size: 48px;
  line-height: 1;
  font-weight: 700;
  color: var(--brand-soft);
  opacity: 0.7;
}

.core-card h3 {
  margin-top: 16px;
  font-size: 28px;
}

.core-card p {
  margin-top: 12px;
  color: var(--ink-soft);
  line-height: 1.75;
}

/* -- Card Shine Effect (3D Tilt) -- */
.tilt-card {
  will-change: transform;
}

.card-shine {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--shine-x, 50%) var(--shine-y, 50%),
    rgba(255, 255, 255, 0.15) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.tilt-card:hover .card-shine {
  opacity: 1;
}

/* -- Stats Band -- */
.stats-band {
  margin-top: 120px;
  padding: 72px 0;
  background: var(--dark);
  color: #f5efe8;
  position: relative;
  overflow: hidden;
}

.stats-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 20% 50%,
      rgba(164, 87, 53, 0.15),
      transparent 50%
    ),
    radial-gradient(ellipse at 80% 50%, rgba(164, 87, 53, 0.1), transparent 50%);
  pointer-events: none;
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 20px 16px;
}

.stat-number {
  font-family: var(--font-body);
  font-size: clamp(48px, 7vw, 72px);
  line-height: 1;
  color: #fff;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.stat-suffix {
  font-family: var(--font-body);
  font-size: clamp(32px, 4vw, 48px);
  color: var(--brand-soft);
  font-weight: 400;
}

.stat-item p {
  margin-top: 12px;
  font-size: 13px;
  color: #b8a99c;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.stat-divider {
  width: 1px;
  height: 80px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

/* -- Solution Section -- */
.solution-layout {
  margin-top: 52px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 24px;
  align-items: stretch;
}

.solution-cards {
  display: grid;
  gap: 20px;
}

.solution-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition:
    box-shadow 0.4s ease,
    border-color 0.3s,
    transform 0.4s var(--ease-out);
}

.solution-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: var(--brand-soft);
  transform: translateY(-4px);
}

.solution-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 700;
  padding: 4px 12px;
  border: 1px solid var(--brand-soft);
  border-radius: 99px;
}

.solution-card h3 {
  margin-top: 14px;
  font-size: clamp(26px, 3.2vw, 34px);
}

.solution-card p {
  margin-top: 12px;
  color: var(--ink-soft);
  line-height: 1.75;
}

.solution-list {
  margin-top: 16px;
  list-style: none;
  display: grid;
  gap: 10px;
}

.solution-list li {
  position: relative;
  padding-left: 20px;
  color: var(--ink);
  font-weight: 500;
}

.solution-list li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 2px;
  width: 7px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--brand);
}

.solution-images {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}

.solution-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  min-height: 280px;
}

.solution-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s var(--ease-out);
}

.solution-image:hover img {
  transform: scale(1.05);
}

.solution-image figcaption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(10px);
  font-size: 13px;
  color: var(--ink-soft);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.pillar-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.pillar-card {
  background: rgba(255, 255, 255, 0.65);
  padding: 24px 20px;
  transition: background 0.3s ease;
}

.pillar-card:hover {
  background: rgba(164, 87, 53, 0.06);
}

.pillar-card span {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 700;
}

.pillar-card h4 {
  margin-top: 8px;
  font-size: clamp(14px, 1.35vw, 17px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* -- Pull Quote Band -- */
.quote-band {
  margin-top: 120px;
  padding: 100px 0;
  position: relative;
  background: linear-gradient(135deg, var(--bg-warm), var(--bg));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quote-band::before {
  content: "\201C";
  position: absolute;
  top: 40px;
  left: calc(50% - 600px);
  font-family: var(--font-display);
  font-size: 280px;
  line-height: 1;
  color: var(--brand-soft);
  opacity: 0.18;
  pointer-events: none;
}

.pull-quote {
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
}

.pull-quote p {
  font-family: var(--font-body);
  font-size: clamp(22px, 3.2vw, 32px);
  line-height: 1.5;
  color: var(--ink);
  font-weight: 500;
  font-style: italic;
}

.pull-quote em {
  color: var(--brand);
  font-style: italic;
}

.pull-quote cite {
  display: block;
  margin-top: 28px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-style: normal;
  font-weight: 600;
}

/* -- Values Team Portraits -- */
.values-team-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 0.88fr 1fr 0.88fr;
  gap: 24px;
  align-items: center;
}

.values-portrait {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  transition:
    box-shadow 0.4s ease,
    border-color 0.3s,
    transform 0.4s var(--ease-out);
}

.values-portrait:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: var(--brand-soft);
  transform: translateY(-6px);
}

.portrait-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.portrait-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 1.4s var(--ease-out);
}

.values-portrait:hover .portrait-img-wrap img {
  transform: scale(1.05);
}

.values-team-caption {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
  line-height: 1.6;
}

.value-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.value-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  min-height: 240px;
  background: rgba(255, 255, 255, 0.5);
  overflow: hidden;
  transition:
    box-shadow 0.4s ease,
    border-color 0.3s,
    transform 0.4s var(--ease-out);
}

.value-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: var(--brand-soft);
  transform: translateY(-4px);
}

.value-icon {
  width: 44px;
  height: 44px;
  color: var(--brand);
  margin-bottom: 18px;
}

.value-icon svg {
  width: 100%;
  height: 100%;
}

.value-card h3 {
  font-size: 26px;
}

.value-card p {
  margin-top: 12px;
  color: var(--ink-soft);
  line-height: 1.75;
}

/* -- Commitment Section -- */
.commit-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
}

.commit-card {
  background: rgba(255, 255, 255, 0.6);
  padding: 40px 32px;
  min-height: 220px;
  position: relative;
  transition: background 0.4s ease;
}

.commit-card:hover {
  background: rgba(255, 255, 255, 0.85);
}

.commit-number {
  font-family: var(--font-body);
  font-size: 56px;
  line-height: 1;
  color: var(--brand-soft);
  opacity: 0.5;
  font-weight: 700;
}

.commit-card h3 {
  margin-top: 16px;
  font-size: 24px;
}

.commit-card p {
  margin-top: 12px;
  color: var(--ink-soft);
  line-height: 1.75;
}

/* -- CTA Band -- */
.cta-band {
  margin-top: 120px;
  padding: 0 0 0;
}

.cta-inner {
  position: relative;
  text-align: center;
  padding: 80px 40px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(
      ellipse at 30% 0%,
      rgba(164, 87, 53, 0.12),
      transparent 60%
    ),
    radial-gradient(
      ellipse at 70% 100%,
      rgba(212, 181, 164, 0.2),
      transparent 50%
    ),
    var(--dark);
  color: #f5efe8;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-lg);
}

.cta-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: 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.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px;
  opacity: 0.03;
  pointer-events: none;
}

.cta-eyebrow {
  color: var(--brand-soft);
}

.cta-title {
  font-family: var(--font-body);
  font-size: clamp(36px, 5.5vw, 60px);
  line-height: 1.2;
  font-weight: 800;
  color: #fff;
  margin-top: 8px;
}

.cta-desc {
  margin-top: 20px;
  font-size: 17px;
  color: #c9bbb0;
  max-width: 560px;
  margin-inline: auto;
  line-height: 1.75;
}

.cta-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 99px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all 0.35s var(--ease-out);
  cursor: none;
}

.cta-btn--primary {
  background: linear-gradient(135deg, var(--brand), #c9845f);
  color: #fff;
  border: none;
  box-shadow: 0 8px 32px rgba(164, 87, 53, 0.35);
}

.cta-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(164, 87, 53, 0.5);
}

.cta-btn--primary svg {
  transition: transform 0.3s var(--ease-out);
}

.cta-btn--primary:hover svg {
  transform: translateX(4px);
}

.cta-btn--outline {
  background: transparent;
  color: #f5efe8;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

/* -- Back to Top -- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  color: var(--brand);
  z-index: 900;
  cursor: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition:
    opacity 0.4s var(--ease-out),
    visibility 0.4s var(--ease-out),
    transform 0.4s var(--ease-out),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--brand-soft);
  background: #fff;
}

/* -- Footer -- */
.site-footer {
  margin-top: 140px;
  background: var(--dark);
  color: #efe7df;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  padding: 80px 0 40px;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1) sepia(0.2) saturate(0.5);
  opacity: 0.7;
}

.footer-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.footer-tag {
  color: var(--brand-soft);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  text-wrap: balance;
  line-height: 1.6;
}

.footer-intro p:last-child {
  margin-top: 16px;
  color: #c9bbb0;
  line-height: 1.7;
}

.contact-list {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-row span {
  color: #9a8a7c;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.contact-row a {
  transition: color 0.3s ease;
}

.contact-row a:hover {
  color: var(--brand-soft);
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #7a6e64;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #43b27a;
  box-shadow: 0 0 0 0 rgba(67, 178, 122, 0.6);
  animation: pulse 2s infinite;
}

/* -- Reveal Animations -- */
.reveal-fade-up,
.reveal-slide-left,
.reveal-slide-right,
.reveal-scale-up,
.reveal-clip-up {
  will-change: transform, opacity;
}

.reveal-fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition:
    transform 0.8s var(--ease-out),
    opacity 0.8s var(--ease-out);
}

.reveal-fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

.reveal-slide-left {
  opacity: 0;
  transform: translateX(-40px);
  transition:
    transform 0.8s var(--ease-out),
    opacity 0.8s var(--ease-out);
}

.reveal-slide-left.is-visible {
  opacity: 1;
  transform: translateX(0);
  will-change: auto;
}

.reveal-slide-right {
  opacity: 0;
  transform: translateX(40px);
  transition:
    transform 0.8s var(--ease-out),
    opacity 0.8s var(--ease-out);
}

.reveal-slide-right.is-visible {
  opacity: 1;
  transform: translateX(0);
  will-change: auto;
}

.reveal-scale-up {
  opacity: 0;
  transform: scale(0.92);
  transition:
    transform 0.8s var(--ease-out),
    opacity 0.8s var(--ease-out);
}

.reveal-scale-up.is-visible {
  opacity: 1;
  transform: scale(1);
  will-change: auto;
}

.reveal-clip-up {
  clip-path: inset(100% 0 0 0);
  opacity: 0;
  transition:
    clip-path 1s var(--ease-out),
    opacity 0.6s var(--ease-out);
}

.reveal-clip-up.is-visible {
  clip-path: inset(0 0 0 0);
  opacity: 1;
  will-change: auto;
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

/* -- i18n transition -- */
[data-i18n] {
  transition: opacity 0.25s ease;
}

.lang-switching [data-i18n] {
  opacity: 0;
}

/* -- Bilingual text stability --
   EN text is generally longer than VI.
   These rules prevent layout shifts on language switch. */
.core-card p,
.solution-card p,
.value-card p,
.commit-card p,
.cta-desc {
  overflow-wrap: break-word;
  hyphens: none;
}

.pillar-card h4 {
  min-height: unset;
}

.solution-card h3,
.core-card h3,
.value-card h3 {
  min-height: 1.3em;
}

.hero-title .title-line {
  display: inline;
  min-height: 0;
  white-space: nowrap;
}

.hero-title .title-line.accent {
  display: block;
  margin-top: 0.15em;
  white-space: normal;
}

.hero-desc {
  min-height: 3.5em;
}

/* -- Keyframes -- */
@keyframes ring-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes marquee-run {
  to {
    transform: translateX(-33.33%);
  }
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 8px rgba(67, 178, 122, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(67, 178, 122, 0);
  }
}

@keyframes loading-breathe {
  50% {
    transform: translateY(-2px);
    opacity: 0.84;
  }
}

/* -- Training Gallery Section -- */
.gallery-mosaic {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 5fr 4fr;
  grid-template-rows: 300px 260px;
  gap: 12px;
}

.gallery-cell {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

.gallery-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s var(--ease-out);
}

.gallery-cell:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  left: 16px;
  bottom: 16px;
}

.gallery-overlay span {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(10px);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

/* 4-cell layout: A=tall-left, B=top-right, C=bottom-left, D=bottom-right */
.gc-a {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

.gc-b {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}

.gc-c {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
}

.gc-d {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}

.gallery-stat-row {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gallery-stat-block {
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gstat-brand {
  background: linear-gradient(140deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff;
}

.gstat-dark {
  background: var(--dark);
  color: #f5efe8;
}

.gstat-warm {
  background: var(--bg-warm);
  border: 1px solid var(--line-strong);
  color: var(--ink);
}

.gallery-stat-n-wrap {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.gallery-stat-n-wrap .stat-number {
  font-family: var(--font-display);
  font-size: clamp(52px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  /* override stats-band color so it inherits block color */
  color: inherit;
}

.gallery-stat-suf {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1;
  opacity: 0.65;
}

.gallery-stat-block p {
  font-size: clamp(13px, 1.15vw, 15px);
  font-weight: 500;
  line-height: 1.55;
  opacity: 0.88;
  max-width: 240px;
}

/* -- Responsive -- */
@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 72px;
  }

  .hero-title {
    max-width: 100%;
  }

  .hero-title .title-line {
    white-space: normal;
  }

  .hero-media {
    min-height: 480px;
  }

  .image-main {
    inset: 68px 0 0 76px;
  }

  .hero-decor {
    display: none;
  }

  .solution-layout {
    grid-template-columns: 1fr;
  }

  .solution-images {
    grid-template-rows: auto auto;
  }

  .solution-image {
    min-height: 260px;
  }

  .gallery-mosaic {
    grid-template-rows: 240px 220px;
  }

  .about-pano {
    height: 340px;
  }

  .values-team-grid {
    gap: 16px;
  }

  .gallery-stat-block {
    padding: 28px 24px;
  }

  .core-grid,
  .value-grid,
  .pillar-grid,
  .commit-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid {
    flex-wrap: wrap;
  }

  .stat-item {
    flex: 0 0 50%;
  }

  .stat-divider:nth-child(4) {
    display: none;
  }
}

@media (max-width: 760px) {
  body {
    cursor: auto;
  }

  a {
    cursor: auto;
  }

  .cursor-dot,
  .cursor-ring {
    display: none;
  }

  .grain-overlay {
    display: none;
  }

  .ambient-particles {
    display: none;
  }

  .loading-panel {
    backdrop-filter: none;
    background: rgba(255, 255, 255, 0.9);
  }

  .site-header.scrolled {
    backdrop-filter: blur(8px);
  }

  .tilt-card {
    will-change: auto;
  }

  .container {
    width: min(1200px, calc(100% - 32px));
  }

  .site-header {
    width: calc(100% - 32px);
    top: 10px;
    padding: 8px 16px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .header-logo {
    height: 30px;
  }

  .hero {
    padding-top: 100px;
    min-height: unset;
  }

  .hero-title {
    font-size: clamp(36px, 10vw, 54px);
    max-width: 100%;
    word-break: keep-all;
    hyphens: none;
  }

  .hero-media {
    min-height: 320px;
    overflow: hidden;
  }

  .kinetic-ring-container {
    width: 130px;
    top: 0;
    right: 0;
  }

  .ring-core-text {
    font-size: 24px;
  }

  .image-main {
    inset: 48px 0 0 32px;
  }

  .image-sub {
    width: 44%;
    height: 40%;
  }

  .section {
    padding-top: 100px;
  }

  .section-title {
    font-size: clamp(24px, 6.5vw, 36px);
  }

  .core-grid,
  .value-grid,
  .pillar-grid,
  .footer-grid,
  .commit-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    flex-direction: column;
    gap: 8px;
  }

  .stat-divider {
    width: 60px;
    height: 1px;
  }

  .stat-number {
    font-size: 48px;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .footer-brand-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .quote-band {
    padding: 72px 0;
    margin-top: 100px;
  }

  .quote-band::before {
    display: none;
  }

  .pull-quote p {
    font-size: clamp(18px, 5vw, 24px);
  }

  .site-footer {
    margin-top: 100px;
  }

  .stats-band {
    margin-top: 80px;
  }

  .gallery-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: 240px 220px 200px 200px;
    height: auto;
  }

  .gc-a {
    grid-column: 1;
    grid-row: 1;
  }

  .gc-b {
    grid-column: 1;
    grid-row: 2;
  }

  .gc-c {
    grid-column: 1;
    grid-row: 3;
  }

  .gc-d {
    grid-column: 1;
    grid-row: 4;
  }

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

  .about-pano {
    height: 260px;
  }

  .about-pano figcaption {
    font-size: 12px;
    left: 12px;
    bottom: 12px;
    padding: 8px 14px;
    max-width: 300px;
  }

  .values-team-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 24px;
    margin-inline: -16px;
    padding-inline: 16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .values-team-grid::-webkit-scrollbar {
    display: none;
  }

  .values-portrait {
    flex: 0 0 calc(85vw - 48px);
    scroll-snap-align: center;
    max-width: 320px;
  }

  .portrait-img-wrap {
    aspect-ratio: 3 / 4;
  }

  .values-team-caption {
    font-size: 13px;
  }

  .loading-logo {
    width: 140px;
  }

  .cta-inner {
    padding: 56px 24px;
    border-radius: var(--radius);
  }

  .cta-title {
    font-size: clamp(28px, 8vw, 40px);
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-btn {
    width: 100%;
    justify-content: center;
    max-width: 320px;
  }

  .cta-band {
    margin-top: 80px;
  }

  /* Relax bilingual min-height on mobile (single column) */
  .core-card,
  .value-card,
  .commit-card {
    min-height: unset;
  }

  .pillar-card h4 {
    min-height: unset;
  }

  .hero-desc {
    min-height: unset;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }

  .lang-switch {
    cursor: auto;
  }

  .hamburger {
    cursor: auto;
  }

  .cta-btn {
    cursor: auto;
  }

  .back-to-top {
    cursor: auto;
  }
}

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

  .cursor-dot,
  .cursor-ring {
    display: none;
  }

  body {
    cursor: auto;
  }
}
