*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --red: #bc002d;
  --red-glow: rgba(188, 0, 45, 0.35);
  --red-soft: rgba(188, 0, 45, 0.12);
  --charcoal: #0e0e10;
  --charcoal-2: #141416;
  --off-white: #f0ede8;
  --warm-white: #faf8f5;
  --light-bg: #f4f1ec;
  /* Secondary text. --muted is theme-aware (redefined under .day-mode);
     --muted-dark is the light-background value used by day-mode rules. */
  --muted: #9595ad;
  --muted-dark: #030303;
  --sakura: #e8b4b8;
  --divider-dark: rgba(240, 237, 232, 0.08);
  --divider-light: rgba(20, 20, 22, 0.1);
}

html {
  scroll-behavior: smooth;
}
body {
  background: var(--charcoal);
  color: var(--off-white);
  font-family: "Roboto", sans-serif;
  overflow-x: hidden;
  cursor: none;
}

/* CURSOR */
#cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition:
    width 0.25s,
    height 0.25s;
}
#cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(188, 0, 45, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition:
    width 0.3s,
    height 0.3s,
    border-color 0.3s;
}
#cursor-glow {
  position: fixed;
  width: 220px;
  height: 220px;
  background: radial-gradient(
    circle,
    rgba(188, 0, 45, 0.07) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
  z-index: 9997;
  transform: translate(-50%, -50%);
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 60px;
  border-bottom: 1px solid var(--divider-dark);
  backdrop-filter: blur(14px);
  background: rgba(14, 14, 16, 0.5);
  transition:
    background 0.6s,
    border-color 0.6s;
}
nav.light-nav {
  background: rgba(244, 241, 236, 0.88);
  border-bottom-color: var(--divider-light);
}
nav.light-nav .logo {
  color: var(--charcoal);
}
nav.light-nav .logo-jp {
  color: var(--muted);
}
nav.light-nav .nav-links a {
  color: var(--muted-dark);
}
nav.light-nav .nav-links a:hover {
  color: var(--charcoal);
}
nav.light-nav .lang-toggle {
  background: rgba(20, 20, 22, 0.04);
  border-color: rgba(20, 20, 22, 0.2);
}
nav.light-nav .lang-toggle-en {
  color: var(--red);
}
nav.light-nav .lang-toggle-divider {
  color: rgba(20, 20, 22, 0.3);
}
nav.light-nav .lang-toggle-jp {
  color: rgba(20, 20, 22, 0.45);
}
nav.light-nav .jp-mode .lang-toggle-en,
body.jp-mode nav.light-nav .lang-toggle-en {
  color: rgba(20, 20, 22, 0.45);
}
nav.light-nav .jp-mode .lang-toggle-jp,
body.jp-mode nav.light-nav .lang-toggle-jp {
  color: var(--red);
}

/* Nav right group */
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* ═══════ THEME TOGGLE SWITCH ═══════ */
.theme-toggle {
  position: relative;
  background: none;
  border: none;
  padding: 0;
  cursor: none;
  z-index: 10;
}
.theme-toggle-track {
  position: relative;
  display: flex;
  align-items: center;
  width: 52px;
  height: 26px;
  border-radius: 13px;
  background: rgba(240, 237, 232, 0.08);
  border: 1px solid rgba(240, 237, 232, 0.12);
  transition: background 0.4s, border-color 0.4s;
  overflow: hidden;
}
.theme-toggle:hover .theme-toggle-track {
  border-color: rgba(188, 0, 45, 0.4);
  background: rgba(188, 0, 45, 0.06);
}
.theme-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--red);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
  box-shadow: 0 0 8px rgba(188, 0, 45, 0.3);
}
.theme-toggle-icon {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity 0.3s, color 0.3s;
}
.theme-toggle-icon svg {
  width: 12px;
  height: 12px;
}
.theme-icon-moon {
  color: rgba(240, 237, 232, 0.6);
  margin-left: 1px;
}
.theme-icon-sun {
  color: rgba(240, 237, 232, 0.3);
  margin-left: 1px;
}
/* Day mode — thumb slides right, sun glows gold */
body.day-mode .theme-toggle-thumb {
  transform: translateX(26px);
  background: #d4a843;
  box-shadow: 0 0 12px rgba(212, 168, 67, 0.4);
}
body.day-mode .theme-icon-sun {
  color: #d4a843;
}
body.day-mode .theme-icon-moon {
  opacity: 0.3;
}
body.day-mode .theme-toggle-track {
  background: rgba(20, 20, 22, 0.06);
  border-color: rgba(20, 20, 22, 0.15);
}

/* ═══════ LANGUAGE TOGGLE ═══════ */
.lang-toggle {
  background: rgba(240, 237, 232, 0.06);
  border: 1px solid rgba(240, 237, 232, 0.25);
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  white-space: nowrap;
  z-index: 10;
  transition: border-color 0.3s, background 0.3s;
}
.lang-toggle:hover {
  border-color: rgba(188, 0, 45, 0.5);
  background: rgba(188, 0, 45, 0.08);
}
.lang-toggle-en {
  color: var(--red);
  font-weight: 600;
  font-size: 12px;
  transition: color 0.3s, font-weight 0.3s;
}
.lang-toggle-divider {
  color: rgba(240, 237, 232, 0.4);
}
.lang-toggle-jp {
  color: rgba(240, 237, 232, 0.5);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  font-size: 12px;
  transition: color 0.3s, font-weight 0.3s;
}
/* Active JP mode */
body.jp-mode .lang-toggle-en {
  color: rgba(240, 237, 232, 0.5);
  font-weight: 300;
}
body.jp-mode .lang-toggle-jp {
  color: var(--red);
  font-weight: 600;
}
/* Day-mode overrides */
body.day-mode .lang-toggle {
  background: rgba(20, 20, 22, 0.04);
  border-color: rgba(20, 20, 22, 0.2);
}
body.day-mode .lang-toggle:hover {
  border-color: rgba(188, 0, 45, 0.5);
  background: rgba(188, 0, 45, 0.06);
}
body.day-mode .lang-toggle-en {
  color: var(--red);
}
body.day-mode .lang-toggle-divider {
  color: rgba(20, 20, 22, 0.3);
}
body.day-mode .lang-toggle-jp {
  color: rgba(20, 20, 22, 0.45);
}
body.day-mode.jp-mode .lang-toggle-en {
  color: rgba(20, 20, 22, 0.45);
}
body.day-mode.jp-mode .lang-toggle-jp {
  color: var(--red);
}
/* Hide decorative JP elements in JP mode (redundant when text is already Japanese) */
body.jp-mode .cat-card-jp,
body.jp-mode .pillar-jp,
body.jp-mode .categories-subtitle-jp,
body.jp-mode .footer-brand-jp,
body.jp-mode .footer-bottom-jp,
body.jp-mode .tag-jp,
body.jp-mode .footer-col-title-jp {
  display: none;
}

.logo {
  font-family: "Roboto", sans-serif;
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--off-white);
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.logo-mark {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.logo-jp {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  font-weight: 100;
  color: var(--muted);
  letter-spacing: 0.12em;
}
.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: var(--off-white);
}
.nav-cta {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: none;
  border: 1px solid rgba(188, 0, 45, 0.4);
  padding: 9px 22px;
  transition:
    background 0.3s,
    box-shadow 0.3s;
}
.nav-cta:hover {
  background: var(--red-soft);
  box-shadow: 0 0 20px var(--red-glow);
}

/* HERO */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.bg-video-wrap {
  position: absolute;
  inset: -60px;
  overflow: hidden;
  will-change: transform;
}
.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.1s ease;
  z-index: 1;
}
.bg-video.loaded {
  opacity: 1;
}
.bg-video-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1540959733332-eab4deabeeaf?w=2400&q=80")
    center/cover no-repeat;
  z-index: 0;
}
.bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      to bottom,
      rgba(14, 14, 16, 0.6) 0%,
      rgba(14, 14, 16, 0.75) 55%,
      rgba(14, 14, 16, 0.97) 100%
    ),
    linear-gradient(135deg, rgba(188, 0, 45, 0.04) 0%, transparent 70%);
}
.bg-noise {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0.03;
  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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.deco-lines {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}
.deco-line-v {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--divider-dark);
}
.deco-line-v:nth-child(1) {
  left: 60px;
}
.deco-line-v:nth-child(2) {
  right: 60px;
}
.jp-accent {
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 100;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(240, 237, 232, 0.12);
  writing-mode: vertical-rl;
  z-index: 5;
  user-select: none;
}
.sakura-dot {
  position: absolute;
  border-radius: 50%;
  background: var(--sakura);
  opacity: 0;
  animation: sakura-float 8s ease-in-out infinite;
  z-index: 4;
}
@keyframes sakura-float {
  0% {
    opacity: 0;
    transform: translateY(0) rotate(0deg);
  }
  10% {
    opacity: 0.35;
  }
  90% {
    opacity: 0.08;
  }
  100% {
    opacity: 0;
    transform: translateY(-90px) rotate(200deg);
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 920px;
  padding: 0 40px;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 36px;
  opacity: 0;
  animation: fade-up 0.8s ease forwards 0.3s;
}
.eyebrow-line {
  width: 40px;
  height: 1px;
  background: var(--red);
}
.eyebrow-text {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow-jp {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 10px;
  font-weight: 100;
  letter-spacing: 0.2em;
  color: rgba(188, 0, 45, 0.55);
}
.hero-headline {
  font-family: "Roboto";
  font-size: clamp(42px, 7.5vw, 90px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--off-white);
  margin-bottom: 10px;
  opacity: 0;
  animation: fade-up 0.9s ease forwards 0.5s;
}
.headline-italic {
  font-style: italic;
}
.headline-accent {
  color: var(--red);
  font-style: italic;
  position: relative;
  display: inline-block;
  background: linear-gradient(
    120deg,
    var(--red) 0%,
    #ff4060 40%,
    #ffb0b0 50%,
    #ff4060 60%,
    var(--red) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: accentShimmer 3s ease-in-out infinite;
}

/* Brush-stroke underline that sweeps in */
.headline-accent::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--red) 20%, #ff4060 80%, transparent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  animation: accentSweep 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.5s;
}

/* Re-trigger sweep on each headline rotation */
.hero-headline-slide.active .headline-accent::after {
  animation: accentSweep 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.3s;
}
.hero-headline-slide:not(.active) .headline-accent::after {
  transform: scaleX(0);
}

/* Subtle glow pulse */
.headline-accent::before {
  content: "";
  position: absolute;
  inset: -4px -8px;
  background: radial-gradient(ellipse, rgba(188, 0, 45, 0.15) 0%, transparent 70%);
  border-radius: 8px;
  animation: accentGlow 2.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes accentShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@keyframes accentSweep {
  0%   { transform: scaleX(0); opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: scaleX(1); opacity: 1; }
}

@keyframes accentGlow {
  0%, 100% { opacity: 0.3; }
  50%      { opacity: 0.8; }
}

/* Hero headline text rotation */
.hero-headline {
  position: relative;
}
.hero-headline-slide {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.hero-headline-slide.active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.hero-headline-slide.exit-up {
  transform: translateY(-22px);
  opacity: 0;
}

.hero-sub-jp {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 100;
  letter-spacing: 0.2em;
  color: rgba(240, 237, 232, 0.22);
  margin-bottom: 32px;
  opacity: 0;
  animation: fade-up 0.8s ease forwards 0.7s;
}
.divider-thin {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--red), transparent);
  margin: 0 auto 30px;
  opacity: 0;
  animation: fade-up 0.7s ease forwards 0.85s;
}
.hero-apply {
  opacity: 0;
  animation: fade-up 0.8s ease forwards 1s;
}
.hero-subheading {
  font-size: 15px;
  font-weight: 200;
  line-height: 1.85;
  color: rgba(240, 237, 232, 0.52);
  max-width: 520px;
  margin: 0 auto 52px;
  letter-spacing: 0.02em;
  opacity: 0;
  animation: fade-up 0.8s ease forwards 1s;
}
.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  opacity: 0;
  animation: fade-up 0.8s ease forwards 1.2s;
}
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--red);
  color: var(--off-white);
  text-decoration: none;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 16px 38px;
  overflow: hidden;
  transition:
    box-shadow 0.4s,
    transform 0.3s;
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primary:hover {
  box-shadow:
    0 0 40px var(--red-glow),
    0 0 80px rgba(188, 0, 45, 0.12);
  transform: translateY(-1px);
}
.btn-primary:hover::before {
  opacity: 1;
}
.btn-arrow {
  font-size: 14px;
  transition: transform 0.3s;
}
.btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: rgba(240, 237, 232, 0.55);
  text-decoration: none;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 16px 38px;
  border: 1px solid rgba(240, 237, 232, 0.15);
  transition:
    color 0.3s,
    border-color 0.3s,
    background 0.3s;
}
.btn-secondary:hover {
  color: var(--off-white);
  border-color: rgba(240, 237, 232, 0.32);
}

.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  border-top: 1px solid var(--divider-dark);
  backdrop-filter: blur(20px);
  background: rgba(14, 14, 16, 0.55);
  opacity: 0;
  animation: fade-up 0.8s ease forwards 1.5s;
}
.stat-item {
  flex: 1;
  padding: 26px 40px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-right: 1px solid var(--divider-dark);
  transition: background 0.3s;
}
.stat-item:last-child {
  border-right: none;
}
.stat-item:hover {
  background: rgba(188, 0, 45, 0.04);
}
.stat-number {
  font-family: "Roboto", sans-serif;
  font-size: 30px;
  font-weight: 300;
  color: var(--off-white);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-number span {
  font-size: 16px;
  color: var(--red);
  font-style: italic;
}
.stat-label {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.scroll-indicator {
  position: absolute;
  bottom: 115px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fade-up 0.8s ease forwards 1.8s;
}
.scroll-text {
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}
.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(
    to bottom,
    rgba(240, 237, 232, 0.3),
    transparent
  );
  animation: scroll-pulse 2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scroll-pulse {
  0%,
  100% {
    transform: scaleY(1);
    opacity: 0.4;
  }
  50% {
    transform: scaleY(0.5);
    opacity: 1;
  }
}

/* BRIDGE */
.section-bridge {
  position: relative;
  height: 110px;
  background: linear-gradient(
    to bottom,
    var(--charcoal),
    var(--charcoal)
  );
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bridge-red-line {
  width: 0;
  height: 1px;
  background: var(--red);
  transition: width 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.bridge-red-line.visible {
  width: 140px;
}

/* ======= ABOUT ======= */
#about {
  background: var(--charcoal);
  color: var(--off-white);
  position: relative;
  overflow: hidden;
}

.torii-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.torii-bg::before {
  content: "";
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 200px;
  background: linear-gradient(
    to bottom,
    rgba(188, 0, 45, 0.05),
    transparent
  );
}
.torii-bg::after {
  content: "";
  position: absolute;
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(188, 0, 45, 0.06),
    transparent
  );
}

.about-inner {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  padding: 120px 60px 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.section-tag {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 44px;
}
.tag-line {
  width: 32px;
  height: 1px;
  background: var(--red);
}
.tag-text {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
}
.tag-jp {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 10px;
  font-weight: 100;
  letter-spacing: 0.18em;
  color: rgba(188, 0, 45, 0.5);
}

.about-headline {
  font-family: "Roboto", sans-serif;
  font-size: clamp(34px, 3.5vw, 54px);
  font-weight: 300;
  line-height: 1.18;
  color: var(--off-white);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}
.about-headline em {
  font-style: italic;
  color: var(--red);
}
.about-body {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 50px;
  max-width: 500px;
}
.about-body strong {
  font-weight: 400;
  color: var(--off-white);
}

.features {
  display: flex;
  flex-direction: column;
}
.feature-row {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 22px 0;
  border-top: 1px solid var(--divider-dark);
  transition: background 0.3s;
}
.feature-row:last-child {
  border-bottom: 1px solid var(--divider-dark);
}
.feature-row:hover {
  background: rgba(188, 0, 45, 0.015);
}
.feature-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border: 1px solid rgba(188, 0, 45, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 14px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 100;
  transition:
    background 0.3s,
    border-color 0.3s;
}
.feature-row:hover .feature-icon {
  background: var(--red-soft);
  border-color: rgba(188, 0, 45, 0.5);
}
.feature-title {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--off-white);
  margin-bottom: 5px;
  text-transform: uppercase;
}
.feature-desc {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--muted);
}

/* Right — 3D Pagoda */
.about-right {
  position: relative;
}
.pagoda-canvas-wrap {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(188, 0, 45, 0.03) 0%,
    rgba(14, 14, 16, 0.6) 40%,
    rgba(188, 0, 45, 0.02) 100%
  );
}
.pagoda-canvas-wrap canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}
.pagoda-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px 24px;
  background: linear-gradient(
    to top,
    rgba(14, 14, 16, 0.6),
    transparent
  );
  z-index: 2;
}
.pagoda-caption-text {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(240, 237, 232, 0.6);
}
.pagoda-caption-jp {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 10px;
  font-weight: 100;
  color: rgba(240, 237, 232, 0.3);
  margin-top: 3px;
  letter-spacing: 0.1em;
}
.img-frame-corner {
  position: absolute;
  width: 40px;
  height: 40px;
  border-color: var(--red);
  border-style: solid;
  border-width: 0;
  z-index: 2;
}
.img-frame-corner.tl {
  top: -10px;
  left: -10px;
  border-top-width: 1px;
  border-left-width: 1px;
}
.img-frame-corner.br {
  bottom: -10px;
  right: -10px;
  border-bottom-width: 1px;
  border-right-width: 1px;
}
.year-badge {
  position: absolute;
  top: -18px;
  right: -18px;
  z-index: 3;
  width: 90px;
  height: 90px;
  background: var(--red);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.year-badge-num {
  font-family: "Roboto", sans-serif;
  font-size: 28px;
  font-weight: 300;
  color: var(--off-white);
  line-height: 1;
}
.year-badge-label {
  font-size: 8px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240, 237, 232, 0.7);
}

/* ======= TEAM SECTION — HORIZONTAL SCROLL ======= */
.team-bridge {
  height: 120px;
  background: linear-gradient(to bottom, var(--charcoal), var(--charcoal));
  position: relative;
}
.team-bridge::after {
  content: "";
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--red));
}
.team-bridge-out {
  height: 120px;
  background: linear-gradient(to bottom, var(--charcoal), var(--charcoal));
  position: relative;
}

#team {
  position: relative;
  height: 400vh;
  background: var(--charcoal);
}
#team::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='40' cy='40' r='20' fill='none' stroke='%23BC002D' stroke-width='0.4'/%3E%3Ccircle cx='40' cy='40' r='10' fill='none' stroke='%23BC002D' stroke-width='0.3'/%3E%3C/svg%3E");
  pointer-events: none;
}

.team-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Cards already fit on screen — no horizontal travel, so drop the pinned
   100vh viewport box entirely. The section takes its natural height, so full
   cards and photos are shown on any screen instead of being clipped on short
   ones. (JS adds .team-fits when the track is narrower than the viewport.) */
#team.team-fits {
  height: auto;
}
#team.team-fits .team-sticky {
  position: static;
  height: auto;
  overflow: visible;
}
#team.team-fits .team-track-wrapper {
  justify-content: center;
  overflow: visible;
}
#team.team-fits .team-progress {
  display: none;
}
#team.team-fits .team-track {
  will-change: auto;
}

.team-header {
  text-align: center;
  padding: 80px 40px 20px;
  flex-shrink: 0;
}
.team-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}
.team-eyebrow-line {
  width: 40px;
  height: 1px;
  background: var(--red);
}
.team-eyebrow-text {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--red);
}
.team-title {
  font-family: "Roboto", sans-serif;
  font-size: clamp(30px, 3.5vw, 54px);
  font-weight: 300;
  color: var(--off-white);
  line-height: 1.1;
  margin-bottom: 14px;
}
.team-title em {
  color: var(--red);
  font-style: italic;
}
.team-subtitle {
  font-size: 14px;
  font-weight: 200;
  color: var(--muted);
  letter-spacing: 0.08em;
}

/* Track */
.team-track-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  padding: 0 0 60px;
}
.team-track {
  display: flex;
  gap: 28px;
  padding: 0 max(60px, calc((100vw - 1400px) / 2));
  will-change: transform;
}

/* Card */
.team-card {
  flex-shrink: 0;
  width: 280px;
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--divider-dark);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s ease, opacity 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.team-card.active {
  transform: scale(1);
  opacity: 1;
}
.team-card:hover {
  border-color: rgba(188, 0, 45, 0.3);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(188, 0, 45, 0.08);
}

/* Red accent bar (bottom) */
.team-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red);
  z-index: 4;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.team-card:hover::after {
  transform: scaleX(1);
}

/* Image */
.team-card-img {
  position: relative;
  width: 100%;
  flex-shrink: 0;
}
.team-card-img img {
  /* No fixed box and no object-fit: the photo renders at its own natural
     proportions, so nothing is cropped and no matting bars appear */
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(20%);
  transition: filter 0.5s ease;
}
.team-card:hover .team-card-img img {
  filter: grayscale(0%);
}

/* Dark overlay (on image only) */
.team-card-overlay {
  display: none;
}

/* Info — below image */
.team-card-info {
  padding: 18px 20px 6px;
  background: var(--charcoal);
}
.team-card-name {
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--off-white);
  margin: 0 0 4px;
  letter-spacing: 0.02em;
}
.team-card-role {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

/* Director badge */
.team-card-badge {
  display: none;
}
.team-card--director .team-card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(188, 0, 45, 0.5);
  background: rgba(188, 0, 45, 0.15);
  color: var(--red);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  font-weight: 100;
  margin-bottom: 6px;
}

/* Director red left border */
.team-card--director {
  border-left: 2px solid var(--red);
}

/* Bio — below name/role */
.team-card-bio {
  padding: 8px 20px 18px;
  background: var(--charcoal);
}
.team-card-bio p {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}
.team-card-contact {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--divider-dark);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.team-card-contact span {
  font-size: 11px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.5;
}
.team-card-contact a {
  font-size: 11px;
  font-weight: 300;
  color: var(--red);
  text-decoration: none;
  transition: opacity 0.3s;
}
.team-card-contact a:hover {
  opacity: 0.7;
}

/* Progress */
.team-progress {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 18px;
}
.team-progress-track {
  width: 200px;
  height: 1px;
  background: rgba(240, 237, 232, 0.1);
  position: relative;
  overflow: hidden;
}
.team-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--red);
  transition: width 0.15s ease;
}
.team-progress-text {
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

/* ======= MISSION ======= */
#mission {
  background: var(--charcoal-2);
  color: var(--off-white);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--divider-dark);
}

.mission-sakura-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mission-sakura-bg svg {
  width: 620px;
  height: 620px;
  opacity: 0.022;
}

.mission-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 120px 60px 80px;
  text-align: center;
}

.mission-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 56px;
}
.mission-eyebrow-line {
  width: 50px;
  height: 1px;
  background: var(--red);
}
.mission-eyebrow-text {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--red);
}

.mission-statement {
  font-family: "Roboto", sans-serif;
  font-size: clamp(26px, 3.2vw, 48px);
  font-weight: 300;
  line-height: 1.45;
  color: var(--off-white);
  max-width: 860px;
  margin: 0 auto 72px;
  letter-spacing: -0.005em;
}
.mission-statement em {
  color: var(--red);
  font-style: italic;
}

.mission-divider {
  width: 0;
  height: 1px;
  background: var(--red);
  margin: 0 auto 80px;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.mission-divider.visible {
  width: 200px;
}

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--divider-dark);
  border: 1px solid var(--divider-dark);
}
.pillar {
  background: var(--charcoal);
  padding: 52px 44px;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: background 0.35s;
}
.pillar:hover {
  background: rgba(188, 0, 45, 0.04);
}
.pillar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.pillar:hover::after {
  transform: scaleX(1);
}
.pillar-number {
  font-family: "Roboto", sans-serif;
  font-size: 52px;
  font-weight: 300;
  color: rgba(188, 0, 45, 0.1);
  line-height: 1;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}
.pillar-icon-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.pillar-icon-sq {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(188, 0, 45, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 100;
  color: var(--red);
  flex-shrink: 0;
  transition: background 0.3s;
}
.pillar:hover .pillar-icon-sq {
  background: var(--red-soft);
}
.pillar-title {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--off-white);
  line-height: 1.45;
}
.pillar-desc {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 28px;
}
.pillar-jp {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 10px;
  font-weight: 100;
  letter-spacing: 0.2em;
  color: rgba(188, 0, 45, 0.3);
}

/* CTA row */
.mission-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid var(--divider-dark);
}
.mission-cta-text {
  font-family: "Roboto", sans-serif;
  font-size: 22px;
  font-weight: 300;
  font-style: italic;
  color: var(--muted);
}
.btn-primary-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--red);
  color: var(--off-white);
  text-decoration: none;
  font-family: "Roboto", sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 16px 38px;
  transition:
    box-shadow 0.4s,
    transform 0.3s;
}
.btn-primary-dark:hover {
  box-shadow: 0 0 40px var(--red-glow);
  transform: translateY(-1px);
}
.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--muted);
  text-decoration: none;
  font-family: "Roboto", sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 16px 38px;
  border: 1px solid var(--divider-dark);
  transition:
    border-color 0.3s,
    color 0.3s;
}
.btn-outline-dark:hover {
  border-color: rgba(20, 20, 22, 0.3);
  color: var(--charcoal);
}

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.85s ease,
    transform 0.85s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 {
  transition-delay: 0.12s;
}
.reveal-delay-2 {
  transition-delay: 0.26s;
}
.reveal-delay-3 {
  transition-delay: 0.42s;
}
.reveal-delay-4 {
  transition-delay: 0.58s;
}
.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ======= JOB CATEGORIES — Horizontal Scroll ======= */
.categories-bridge {
  height: 120px;
  background: linear-gradient(to bottom, var(--charcoal), var(--charcoal));
  position: relative;
}
.categories-bridge-out {
  height: 120px;
  background: linear-gradient(to bottom, var(--charcoal), var(--charcoal-2));
  position: relative;
}
.categories-bridge::after {
  content: "";
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--red));
}

#categories {
  position: relative;
  height: 500vh;
  background: var(--charcoal);
}
#categories::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 40 Q20 20 40 40 Q60 60 80 40' fill='none' stroke='%23BC002D' stroke-width='0.5'/%3E%3Cpath d='M0 60 Q20 40 40 60 Q60 80 80 60' fill='none' stroke='%23BC002D' stroke-width='0.5'/%3E%3Cpath d='M0 20 Q20 0 40 20 Q60 40 80 20' fill='none' stroke='%23BC002D' stroke-width='0.5'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.categories-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.categories-header {
  text-align: center;
  padding: 80px 40px 20px;
  flex-shrink: 0;
}
.categories-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}
.categories-eyebrow-line {
  width: 40px;
  height: 1px;
  background: var(--red);
}
.categories-eyebrow-text {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--red);
}
.categories-title {
  font-family: "Roboto", sans-serif;
  font-size: clamp(34px, 4vw, 62px);
  font-weight: 300;
  color: var(--off-white);
  line-height: 1.1;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.categories-title em {
  color: var(--red);
  font-style: italic;
}
.categories-subtitle {
  font-size: 14px;
  font-weight: 200;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.categories-subtitle-jp {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  font-weight: 100;
  letter-spacing: 0.15em;
  color: rgba(240, 237, 232, 0);
  margin-top: 8px;
}

.categories-track-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  padding: 0 0 60px;
}

.categories-track {
  display: flex;
  gap: 32px;
  padding: 0 max(60px, calc((100vw - 1400px) / 2));
  will-change: transform;
}

.cat-card {
  flex-shrink: 0;
  width: 340px;
  height: 440px;
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  cursor: none;
  transform: scale(0.92);
  opacity: 0.5;
  transition:
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.7s ease,
    box-shadow 0.5s ease;
}
.cat-card.active {
  transform: scale(1);
  opacity: 1;
}
.cat-card:hover {
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(188, 0, 45, 0.08);
}

.cat-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.cat-card:hover .cat-card-bg {
  transform: scale(1.08);
}

.cat-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(14, 14, 16, 0.95) 0%,
    rgba(14, 14, 16, 0.6) 40%,
    rgba(14, 14, 16, 0.25) 100%
  );
  transition: background 0.5s;
}
.cat-card:hover .cat-card-overlay {
  background: linear-gradient(
    to top,
    rgba(14, 14, 16, 0.92) 0%,
    rgba(14, 14, 16, 0.4) 40%,
    rgba(14, 14, 16, 0.15) 100%
  );
}

.cat-card-glow {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
  background: radial-gradient(
    600px circle at var(--glow-x, 50%) var(--glow-y, 50%),
    rgba(188, 0, 45, 0.12),
    transparent 50%
  );
}
.cat-card:hover .cat-card-glow {
  opacity: 1;
}

.cat-card-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red);
  z-index: 4;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.cat-card:hover .cat-card-accent {
  transform: scaleX(1);
}

.cat-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 36px 32px;
  transform: translateY(12px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.cat-card:hover .cat-card-content {
  transform: translateY(0);
}

.cat-card-icon {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(188, 0, 45, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 100;
  color: var(--red);
  margin-bottom: 22px;
  transition:
    background 0.4s,
    border-color 0.4s;
}
.cat-card:hover .cat-card-icon {
  background: rgba(188, 0, 45, 0.15);
  border-color: rgba(188, 0, 45, 0.6);
}

.cat-card-number {
  font-family: "Roboto", sans-serif;
  font-size: 42px;
  font-weight: 300;
  color: rgba(188, 0, 45, 0.08);
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.cat-card-title {
  font-family: "Roboto", sans-serif;
  font-size: 28px;
  font-weight: 300;
  color: var(--off-white);
  margin-bottom: 10px;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.cat-card-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  letter-spacing: 0.02em;
  line-height: 1.6;
  margin-bottom: 16px;
}

.cat-card-jp {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 10px;
  font-weight: 100;
  letter-spacing: 0.2em;
  color: rgba(188, 0, 45, 0.3);
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.5s 0.1s,
    transform 0.5s 0.1s;
}
.cat-card:hover .cat-card-jp {
  opacity: 1;
  transform: translateY(0);
}

.categories-progress {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 5;
}
.categories-progress-track {
  width: 200px;
  height: 1px;
  background: rgba(240, 237, 232, 0.1);
  position: relative;
  overflow: hidden;
}
.categories-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--red);
  transition: width 0.1s linear;
}
.categories-progress-text {
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

/* ======= FOOTER ======= */
#site-footer {
  position: relative;
  background: var(--charcoal);
  color: var(--off-white);
  overflow: hidden;
}

/* Hinomaru — Japanese flag background circle */
.footer-hinomaru {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(188, 0, 45, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Torii-inspired top divider */
.footer-torii-divider {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  padding-top: 60px;
  position: relative;
  z-index: 1;
}
.torii-pillar {
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, var(--red), transparent);
}
.torii-beam {
  width: 140px;
  height: 1px;
  background: var(--red);
  margin: 0 -1px;
  align-self: flex-start;
  margin-top: 0;
}

/* Footer grid */
.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  padding: 72px 60px 60px;
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 1fr 1fr;
  gap: 48px;
}

/* Footer map */
.footer-map {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(188, 0, 45, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.footer-map iframe {
  display: block;
  filter: grayscale(0.3) brightness(0.85);
  transition: filter 0.3s ease;
}
.footer-map:hover iframe {
  filter: grayscale(0) brightness(1);
}
body.day-mode .footer-map iframe {
  filter: grayscale(0.2) brightness(1);
}
body.day-mode .footer-map:hover iframe {
  filter: grayscale(0) brightness(1);
}
body.day-mode .footer-map {
  border-color: rgba(188, 0, 45, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Column: Brand */
.footer-col-brand {
  padding-right: 20px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  margin-bottom: 24px;
}
.footer-logo-mark {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  transition: box-shadow 0.3s;
}
.footer-logo:hover .footer-logo-mark {
  background: var(--red-soft);
  box-shadow: 0 0 20px var(--red-glow);
}
.footer-logo-text {
  font-family: "Roboto", sans-serif;
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--off-white);
}
.footer-brand-desc {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 20px;
  max-width: 320px;
}
.footer-brand-jp {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 10px;
  font-weight: 100;
  letter-spacing: 0.18em;
  color: rgba(188, 0, 45, 0.3);
}

/* Column titles */
.footer-col-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--divider-dark);
}
.footer-col-title-text {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--off-white);
}
.footer-col-title-jp {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 9px;
  font-weight: 100;
  letter-spacing: 0.15em;
  color: rgba(188, 0, 45, 0.4);
}

/* Quick links */
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-links a {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  text-decoration: none;
  position: relative;
  display: inline-block;
  transition: color 0.3s;
}
.footer-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--red);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.footer-links a:hover {
  color: var(--off-white);
}
.footer-links a:hover::after {
  width: 100%;
}

/* Contact list */
.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.65;
}
.footer-contact a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
  display: inline-block;
}
.footer-contact a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--red);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.footer-contact a:hover {
  color: var(--off-white);
}
.footer-contact a:hover::after {
  width: 100%;
}
.footer-contact-icon {
  color: var(--red);
  font-size: 12px;
  width: 18px;
  flex-shrink: 0;
  text-align: center;
  margin-top: 2px;
}

/* Social icons */
.footer-socials {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
}
.footer-social-icon {
  width: 42px;
  height: 42px;
  border: 1px solid var(--divider-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s, border-color 0.3s, background 0.3s, box-shadow 0.4s;
}
.footer-social-icon svg {
  width: 16px;
  height: 16px;
}
.footer-social-icon:hover {
  color: var(--red);
  border-color: rgba(188, 0, 45, 0.5);
  background: rgba(188, 0, 45, 0.06);
  box-shadow: 0 0 24px rgba(188, 0, 45, 0.15);
}
.footer-social-tagline {
  font-size: 11px;
  font-weight: 300;
  color: rgba(240, 237, 232, 0.25);
  letter-spacing: 0.05em;
}

/* Footer CTA */
.footer-cta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 40px 60px;
  border-top: 1px solid var(--divider-dark);
}
.footer-cta-text {
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  font-weight: 300;
  font-style: italic;
  color: var(--muted);
}
.footer-apply {
  flex-shrink: 0;
}
body.day-mode .footer-cta {
  border-top-color: var(--divider-light);
}
body.day-mode .footer-cta-text {
  color: var(--muted-dark);
}

/* Bottom bar */
.footer-bottom {
  position: relative;
  z-index: 1;
  padding: 0 60px 40px;
}
.footer-bottom-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(188, 0, 45, 0.25),
    var(--divider-dark),
    rgba(188, 0, 45, 0.25),
    transparent
  );
  margin-bottom: 28px;
}
.footer-bottom-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.footer-copyright {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.footer-bottom-jp {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 9px;
  font-weight: 100;
  letter-spacing: 0.15em;
  color: rgba(188, 0, 45, 0.25);
}

/* ═══════════════════════════════════════════════
   DAY MODE — body.day-mode overrides
   ═══════════════════════════════════════════════ */

/* Smooth transition on all theme-affected elements */
body.day-mode,
body.day-mode #hero,
body.day-mode #about,
body.day-mode #team,
body.day-mode .team-bridge,
body.day-mode .team-bridge-out,
body.day-mode #categories,
body.day-mode #mission,
body.day-mode #testimonials,
body.day-mode #site-footer,
body.day-mode nav,
body.day-mode .section-bridge,
body.day-mode .categories-bridge,
body.day-mode .categories-bridge-out,
body.day-mode .testimonials-bridge,
body.day-mode #why-choose-us,
body.day-mode .chooseus-bridge {
  transition: background 0.6s ease, color 0.6s ease, border-color 0.6s ease;
}

/* Secondary text darkens in day mode for contrast on the cream background */
body.day-mode {
  --muted: #55555f;
}

/* Body & base */
body.day-mode {
  background: var(--warm-white);
  color: var(--charcoal);
}

/* Nav — always light in day mode */
body.day-mode nav {
  background: rgba(250, 248, 245, 0.92);
  border-bottom-color: var(--divider-light);
}
body.day-mode nav .logo {
  color: var(--charcoal);
}
body.day-mode nav .logo-jp {
  color: var(--muted);
}
body.day-mode nav .nav-links a {
  color: var(--muted-dark);
}
body.day-mode nav .nav-links a:hover {
  color: var(--charcoal);
}
body.day-mode nav .nav-cta {
  color: var(--red);
  border-color: rgba(188, 0, 45, 0.35);
}

/* Hero — lighter overlay, warmer feel */
body.day-mode #hero .bg-overlay {
  background:
    linear-gradient(
      to bottom,
      rgba(250, 248, 245, 0.3) 0%,
      rgba(250, 248, 245, 0.5) 55%,
      rgba(250, 248, 245, 0.95) 100%
    ),
    linear-gradient(135deg, rgba(188, 0, 45, 0.04) 0%, transparent 50%);
}
body.day-mode .hero-headline {
  color: var(--charcoal);
}
body.day-mode .hero-sub-jp {
  color: rgba(20, 20, 22, 0.2);
}
body.day-mode .hero-subheading {
  color: var(--muted-dark);
}
body.day-mode .btn-secondary {
  color: var(--muted-dark);
  border-color: rgba(20, 20, 22, 0.2);
}
body.day-mode .btn-secondary:hover {
  color: var(--charcoal);
  border-color: rgba(20, 20, 22, 0.35);
}
body.day-mode .hero-stats {
  background: rgba(250, 248, 245, 0.85);
  border-top-color: var(--divider-light);
}
body.day-mode .stat-item {
  border-right-color: var(--divider-light);
}
body.day-mode .stat-item:hover {
  background: rgba(188, 0, 45, 0.03);
}
body.day-mode .stat-number {
  color: var(--charcoal);
}
body.day-mode .stat-label {
  color: var(--muted);
}
body.day-mode .scroll-text {
  color: var(--muted);
}
body.day-mode .scroll-line {
  background: linear-gradient(to bottom, rgba(20, 20, 22, 0.3), transparent);
}
body.day-mode .deco-line-v {
  background: var(--divider-light);
}
body.day-mode .jp-accent {
  color: rgba(20, 20, 22, 0.08);
}
body.day-mode .eyebrow-text,
body.day-mode .eyebrow-jp {
  color: var(--red);
}
body.day-mode .divider-thin {
  background: linear-gradient(to bottom, var(--red), transparent);
}

/* Bridge — day mode gradients */
body.day-mode .section-bridge {
  background: linear-gradient(to bottom, var(--warm-white), var(--warm-white));
}
body.day-mode .categories-bridge {
  background: linear-gradient(to bottom, var(--warm-white), var(--light-bg));
}
body.day-mode .categories-bridge-out {
  background: linear-gradient(to bottom, var(--light-bg), var(--light-bg));
}
body.day-mode .categories-bridge::after {
  background: linear-gradient(to bottom, transparent, var(--red));
}

/* Categories — light background */
body.day-mode #categories {
  background: var(--light-bg);
}
body.day-mode #categories::before {
  opacity: 0.025;
}
body.day-mode .categories-title {
  color: var(--charcoal);
}
body.day-mode .categories-subtitle {
  color: var(--muted-dark);
}
body.day-mode .categories-subtitle-jp {
  color: rgba(20, 20, 22, 0.12);
}
body.day-mode .categories-eyebrow-line {
  background: var(--red);
}
body.day-mode .cat-card-overlay {
  background: linear-gradient(
    to top,
    rgba(14, 14, 16, 0.88) 0%,
    rgba(14, 14, 16, 0.45) 40%,
    rgba(14, 14, 16, 0.12) 100%
  );
}
body.day-mode .categories-progress-track {
  background: rgba(20, 20, 22, 0.08);
}
body.day-mode .categories-progress-text {
  color: var(--muted-dark);
}

/* Footer — light mode */
body.day-mode #site-footer {
  background: var(--warm-white);
  color: var(--charcoal);
}
body.day-mode .footer-logo-text {
  color: var(--charcoal);
}
body.day-mode .footer-brand-desc {
  color: var(--muted-dark);
}
body.day-mode .footer-col-title {
  border-bottom-color: var(--divider-light);
}
body.day-mode .footer-col-title-text {
  color: var(--charcoal);
}
body.day-mode .footer-links a {
  color: var(--muted-dark);
}
body.day-mode .footer-links a:hover {
  color: var(--charcoal);
}
body.day-mode .footer-contact li {
  color: var(--muted-dark);
}
body.day-mode .footer-contact a {
  color: var(--muted-dark);
}
body.day-mode .footer-contact a:hover {
  color: var(--charcoal);
}
body.day-mode .footer-social-icon {
  color: var(--muted-dark);
  border-color: var(--divider-light);
}
body.day-mode .footer-social-icon:hover {
  color: var(--red);
  border-color: rgba(188, 0, 45, 0.4);
  background: rgba(188, 0, 45, 0.04);
}
body.day-mode .footer-social-tagline {
  color: rgba(20, 20, 22, 0.3);
}
body.day-mode .footer-bottom-line {
  background: linear-gradient(
    to right,
    transparent,
    rgba(188, 0, 45, 0.15),
    var(--divider-light),
    rgba(188, 0, 45, 0.15),
    transparent
  );
}
body.day-mode .footer-copyright {
  color: var(--muted);
}
body.day-mode .footer-hinomaru {
  background: radial-gradient(circle, rgba(188, 0, 45, 0.04) 0%, transparent 70%);
}

/* Cursor — darker in day mode */
body.day-mode #cursor-glow {
  background: radial-gradient(circle, rgba(188, 0, 45, 0.05) 0%, transparent 70%);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .about-inner {
    grid-template-columns: 1fr;
    gap: 60px;
    padding: 80px 40px;
  }
  .about-right {
    order: -1;
  }
  .pagoda-canvas-wrap {
    aspect-ratio: 16/9;
  }
  .team-card {
    width: 260px;
  }
  .team-track {
    padding: 0 40px;
    gap: 20px;
  }
  .team-header {
    padding: 60px 40px 16px;
  }
  .pillars {
    grid-template-columns: 1fr;
  }
  .mission-cta-row {
    flex-direction: column;
    gap: 20px;
  }
  .cat-card {
    width: 300px;
    height: 400px;
  }
  .categories-track {
    padding: 0 40px;
    gap: 24px;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 48px 40px;
    padding: 60px 40px 50px;
  }
  .footer-col-map {
    grid-column: 1 / -1;
  }
  .footer-col-brand {
    grid-column: 1 / -1;
    padding-right: 0;
  }
  .footer-brand-desc {
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  nav {
    padding: 20px 24px;
  }
  .nav-links {
    display: none;
  }
  .nav-cta {
    display: none;
  }
  .nav-right {
    gap: 10px;
  }
  .lang-toggle {
    padding: 5px 10px;
    font-size: 10px;
    gap: 5px;
  }
  .lang-toggle-en,
  .lang-toggle-jp {
    font-size: 10px;
  }
  .deco-line-v,
  .jp-accent {
    display: none;
  }
  .hero-stats {
    flex-wrap: wrap;
  }
  .stat-item {
    min-width: 50%;
  }
  .about-inner {
    padding: 60px 24px;
  }
  .team-card {
    width: 240px;
  }
  .team-track {
    padding: 0 24px;
    gap: 16px;
  }
  .team-header {
    padding: 50px 24px 12px;
  }
  .mission-inner {
    padding: 80px 24px 60px;
  }
  .categories-header {
    padding: 60px 24px 16px;
  }
  .cat-card {
    width: 270px;
    height: 380px;
  }
  .categories-track {
    padding: 0 24px;
    gap: 18px;
  }
  .cat-card-content {
    padding: 28px 24px;
  }
  .cat-card-title {
    font-size: 24px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 24px 40px;
  }
  .footer-bottom {
    padding: 0 24px 32px;
  }
  .footer-bottom-inner {
    flex-direction: column;
    gap: 8px;
  }
  .footer-socials {
    gap: 10px;
  }
  .footer-social-icon {
    width: 38px;
    height: 38px;
  }
  .footer-hinomaru {
    width: 300px;
    height: 300px;
  }
}

/* ═══════════════════════════════════════════════
   PRELOADER — Japanese Flag (Hinomaru)
   ═══════════════════════════════════════════════ */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--warm-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Hinomaru circle container */
.preloader-hinomaru {
  position: relative;
  width: 160px;
  height: 160px;
  margin-bottom: 32px;
}

/* Soft red glow behind the circle */
.preloader-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(188, 0, 45, 0.14) 0%, transparent 65%);
  opacity: 0;
  animation: preloader-glow-in 1s ease forwards 1.3s;
}
@keyframes preloader-glow-in {
  to { opacity: 1; }
}

/* SVG circle — draw + fill */
.preloader-svg {
  position: relative;
  width: 100%;
  height: 100%;
}
.preloader-circle-fill {
  fill: var(--red);
  opacity: 0;
  transform-origin: center;
  animation: preloader-fill 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 1s;
}
@keyframes preloader-fill {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.preloader-circle-draw {
  fill: none;
  stroke: var(--red);
  stroke-width: 1;
  stroke-linecap: round;
  stroke-dasharray: 251.33;
  stroke-dashoffset: 251.33;
  animation: preloader-draw 1.2s cubic-bezier(0.65, 0, 0.35, 1) forwards 0.2s;
}
@keyframes preloader-draw {
  to { stroke-dashoffset: 0; }
}

/* Hinomaru pulse after fill */
.preloader-circle-fill {
  animation:
    preloader-fill 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 1s,
    preloader-pulse-flag 2s ease-in-out 2s infinite;
}
@keyframes preloader-pulse-flag {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(188, 0, 45, 0)); }
  50% { filter: drop-shadow(0 0 12px rgba(188, 0, 45, 0.3)); }
}

/* Brand text */
.preloader-brand {
  font-family: "Roboto", sans-serif;
  font-size: 34px;
  font-weight: 300;
  letter-spacing: 0.14em;
  color: var(--charcoal);
  opacity: 0;
  animation: fade-up 0.7s ease forwards 1.5s;
}
.preloader-sub {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 9px;
  font-weight: 100;
  letter-spacing: 0.35em;
  color: var(--muted);
  margin-top: 10px;
  opacity: 0;
  animation: fade-up 0.6s ease forwards 1.8s;
}
.preloader-line {
  width: 0;
  height: 1px;
  background: var(--red);
  margin-top: 20px;
  animation: preloader-expand 1.5s cubic-bezier(0.16, 1, 0.3, 1) 1.6s forwards;
}
@keyframes preloader-expand {
  to { width: 80px; }
}

/* ═══════════════════════════════════════════════
   SCROLL-TO-TOP BUTTON
   ═══════════════════════════════════════════════ */
.scroll-top-btn {
  position: fixed;
  bottom: 36px;
  right: 36px;
  z-index: 190;
  width: 50px;
  height: 50px;
  background: var(--red);
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.4s, visibility 0.4s, transform 0.4s, box-shadow 0.35s;
}
.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top-btn:hover {
  box-shadow: 0 0 30px var(--red-glow), 0 8px 24px rgba(0, 0, 0, 0.35);
}
.scroll-top-arrow {
  font-size: 18px;
  color: var(--off-white);
  line-height: 1;
  transition: transform 0.3s;
}
.scroll-top-btn:hover .scroll-top-arrow {
  transform: translateY(-2px);
}
.scroll-top-jp {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 8px;
  font-weight: 100;
  color: rgba(240, 237, 232, 0.6);
  letter-spacing: 0.1em;
}

/* ═══════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════ */
.testimonials-bridge {
  height: 100px;
  background: linear-gradient(to bottom, var(--charcoal-2), var(--charcoal-2));
  position: relative;
}
.testimonials-bridge::after {
  content: "";
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--red));
}

#testimonials {
  background: var(--charcoal-2);
  position: relative;
  overflow: hidden;
}
.testimonials-bg-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='40' cy='40' r='30' fill='none' stroke='%23BC002D' stroke-width='0.5'/%3E%3Ccircle cx='40' cy='40' r='20' fill='none' stroke='%23BC002D' stroke-width='0.3'/%3E%3C/svg%3E");
}

.testimonials-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 100px 60px 120px;
  position: relative;
  z-index: 1;
}
.testimonials-header {
  text-align: center;
  margin-bottom: 72px;
}
.testimonials-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}
.testimonials-eyebrow-line {
  width: 40px;
  height: 1px;
  background: var(--red);
}
.testimonials-eyebrow-text {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--red);
}
.testimonials-title {
  font-family: "Roboto", sans-serif;
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 300;
  color: var(--off-white);
  line-height: 1.1;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.testimonials-title em {
  color: var(--red);
  font-style: italic;
}
.testimonials-subtitle {
  font-size: 14px;
  font-weight: 200;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.testimonial-card {
  background: rgba(240, 237, 232, 0.025);
  border: 1px solid var(--divider-dark);
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
  transition: background 0.35s, border-color 0.35s;
}
.testimonial-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.testimonial-card:hover {
  background: rgba(240, 237, 232, 0.045);
  border-color: rgba(188, 0, 45, 0.18);
}
.testimonial-card:hover::after {
  transform: scaleX(1);
}

.testimonial-quote-icon {
  font-family: "Roboto", sans-serif;
  font-size: 52px;
  font-weight: 300;
  color: rgba(188, 0, 45, 0.18);
  line-height: 0.8;
  margin-bottom: 20px;
}
.testimonial-text {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(240, 237, 232, 0.6);
  margin-bottom: 32px;
  font-style: italic;
}
.testimonial-divider {
  width: 40px;
  height: 1px;
  background: rgba(188, 0, 45, 0.3);
  margin-bottom: 24px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(188, 0, 45, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 100;
  color: var(--red);
  flex-shrink: 0;
  transition: background 0.3s, border-color 0.3s;
}
.testimonial-card:hover .testimonial-avatar {
  background: var(--red-soft);
  border-color: rgba(188, 0, 45, 0.5);
}
.testimonial-name {
  font-size: 13px;
  font-weight: 400;
  color: var(--off-white);
  letter-spacing: 0.05em;
  margin-bottom: 3px;
}
.testimonial-role {
  font-size: 11px;
  font-weight: 300;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.testimonial-company {
  font-size: 10px;
  font-weight: 300;
  color: rgba(188, 0, 45, 0.45);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 3px;
}

/* Testimonials responsive */
@media (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
  .testimonials-inner {
    padding: 80px 40px 100px;
  }
}
@media (max-width: 768px) {
  .testimonials-inner {
    padding: 60px 24px 80px;
  }
  .testimonial-card {
    padding: 32px 24px;
  }
  .testimonials-bridge {
    height: 80px;
  }
  .scroll-top-btn {
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
  }
}

/* ═══════════════════════════════════════════════
   WHY CHOOSE US SECTION
   ═══════════════════════════════════════════════ */

/* Bridge */
.chooseus-bridge {
  height: 120px;
  background: linear-gradient(to bottom, var(--charcoal-2), var(--charcoal-2));
  position: relative;
}
.chooseus-bridge::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60%;
  background: linear-gradient(to bottom, transparent, var(--red));
  opacity: 0.4;
}

/* Section */
#why-choose-us {
  position: relative;
  background: var(--charcoal-2);
  overflow: hidden;
}
.chooseus-bg-pattern {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(188, 0, 45, 0.04) 0%, transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(188, 0, 45, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

/* Inner grid */
.chooseus-inner {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  padding: 100px 60px 120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Left content */
.chooseus-headline {
  font-family: "Roboto", sans-serif;
  font-size: clamp(32px, 3.2vw, 50px);
  font-weight: 300;
  line-height: 1.2;
  color: var(--off-white);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.chooseus-headline em {
  font-style: italic;
  color: var(--red);
}
.chooseus-body {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 40px;
  max-width: 520px;
}

/* Feature items */
.chooseus-features {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 40px;
}
.chooseus-feature {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--divider-dark);
  transition: background 0.3s;
}
.chooseus-feature:last-child {
  border-bottom: 1px solid var(--divider-dark);
}
.chooseus-feature:hover {
  background: rgba(188, 0, 45, 0.02);
}
.chooseus-feature-icon {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(188, 0, 45, 0.2);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--red);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 100;
  flex-shrink: 0;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.chooseus-feature:hover .chooseus-feature-icon {
  background: var(--red-soft);
  border-color: rgba(188, 0, 45, 0.4);
  box-shadow: 0 0 16px var(--red-glow);
}
.chooseus-feature-title {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--off-white);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.chooseus-feature-desc {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted);
}

/* CTA buttons */
.chooseus-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Right — Illustration */
.chooseus-right {
  position: relative;
}
/* ── Phone Mockup ── */
.phone-mockup {
  position: relative;
  width: 520px;
  height: 280px;
  background: #1a1a1e;
  border-radius: 44px;
  padding: 12px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  margin: 0 auto;
  transform: perspective(800px) rotateX(3deg);
  transition: transform 0.5s ease;
  animation: phoneFloat 4s ease-in-out infinite;
}
.phone-mockup:hover {
  transform: perspective(800px) rotateX(0deg);
}
@keyframes phoneFloat {
  0%, 100% { transform: perspective(800px) rotateX(3deg) translateY(0); }
  50% { transform: perspective(800px) rotateX(3deg) translateY(-10px); }
}

.phone-notch {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 100px;
  background: #1a1a1e;
  border-radius: 0 18px 18px 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-camera {
  width: 10px;
  height: 10px;
  background: #2a2a30;
  border-radius: 50%;
  border: 1px solid #3a3a40;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: #0a0a0c;
  position: relative;
}

.phone-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}

/* Sound toggle, sits on top of the phone screen */
.phone-sound {
  position: absolute;
  right: 14px;
  bottom: 18px;
  z-index: 4;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(240, 237, 232, 0.25);
  background: rgba(10, 10, 12, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1;
  cursor: none;
  padding: 0;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}
.phone-sound:hover {
  transform: scale(1.08);
  border-color: rgba(188, 0, 45, 0.7);
}
.phone-sound.is-on {
  border-color: var(--red);
  background: rgba(188, 0, 45, 0.3);
}

.phone-placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: linear-gradient(160deg, #0e0e12 0%, #1a0008 50%, #0e0e12 100%);
}
.phone-placeholder-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(188, 0, 45, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  animation: phonePulse 2.5s ease-in-out infinite;
}
.phone-placeholder-icon svg {
  width: 24px;
  height: 24px;
  margin-left: 3px;
}
@keyframes phonePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(188, 0, 45, 0.2); }
  50% { box-shadow: 0 0 0 14px rgba(188, 0, 45, 0); }
}
.phone-placeholder-title {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--off-white);
}
.phone-placeholder-jp {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 100;
  letter-spacing: 0.2em;
  color: rgba(188, 0, 45, 0.5);
}
.phone-placeholder-bar {
  width: 140px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 8px;
}
.phone-placeholder-bar-fill {
  width: 35%;
  height: 100%;
  background: var(--red);
  border-radius: 3px;
  animation: phoneBarPulse 3s ease-in-out infinite;
}
@keyframes phoneBarPulse {
  0% { width: 20%; }
  50% { width: 60%; }
  100% { width: 20%; }
}

.phone-home-bar {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  z-index: 10;
}

/* Day mode phone */
body.day-mode .phone-mockup {
  background: #e8e8ec;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
body.day-mode .phone-notch {
  background: #e8e8ec;
}
body.day-mode .phone-camera {
  background: #d0d0d4;
  border-color: #c0c0c4;
}
body.day-mode .phone-home-bar {
  background: rgba(0, 0, 0, 0.15);
}

/* Responsive — Why Choose Us */
@media (max-width: 1024px) {
  .chooseus-inner {
    grid-template-columns: 1fr;
    gap: 60px;
    padding: 80px 40px;
  }
  .chooseus-right {
    order: -1;
    max-width: 480px;
    margin: 0 auto;
  }
}
@media (max-width: 768px) {
  .chooseus-inner {
    padding: 60px 24px;
  }
  .chooseus-bridge {
    height: 80px;
  }
  .phone-mockup {
    width: 100%;
    max-width: 400px;
    height: 220px;
    border-radius: 32px;
    padding: 10px;
  }
  .phone-screen {
    border-radius: 24px;
  }
  .phone-notch {
    width: 24px;
    height: 80px;
  }
  .chooseus-cta {
    flex-direction: column;
  }
  .chooseus-cta a {
    text-align: center;
  }
}

/* ═══════════════════════════════════════════════
   DAY MODE — About, Mission, Testimonials, Why Choose Us
   ═══════════════════════════════════════════════ */

/* About — day-mode refinements */
body.day-mode #about {
  background: var(--warm-white);
}
body.day-mode .torii-bg::before {
  background: linear-gradient(to bottom, rgba(188, 0, 45, 0.04), transparent);
}
body.day-mode .torii-bg::after {
  background: linear-gradient(to right, transparent, rgba(188, 0, 45, 0.05), transparent);
}
body.day-mode .about-headline {
  color: var(--charcoal);
}
body.day-mode .about-headline em {
  color: var(--red);
}
body.day-mode .about-body {
  color: var(--muted-dark);
}
body.day-mode .about-body strong {
  color: var(--charcoal);
}
body.day-mode .feature-row {
  border-top-color: rgba(20, 20, 22, 0.07);
}
body.day-mode .feature-row:last-child {
  border-bottom-color: rgba(20, 20, 22, 0.07);
}
body.day-mode .feature-row:hover {
  background: rgba(188, 0, 45, 0.02);
}
body.day-mode .feature-icon {
  border-color: rgba(188, 0, 45, 0.18);
}
body.day-mode .feature-row:hover .feature-icon {
  background: rgba(188, 0, 45, 0.06);
  border-color: rgba(188, 0, 45, 0.4);
}
body.day-mode .feature-title {
  color: var(--charcoal);
}
body.day-mode .feature-desc {
  color: var(--muted);
}
body.day-mode .year-badge {
  box-shadow: 0 4px 24px rgba(188, 0, 45, 0.18);
}
body.day-mode .pagoda-canvas-wrap {
  background: linear-gradient(
    135deg,
    rgba(188, 0, 45, 0.02) 0%,
    var(--warm-white) 40%,
    rgba(188, 0, 45, 0.015) 100%
  );
}

/* Team — day-mode refinements */
body.day-mode #team {
  background: var(--light-bg);
}
body.day-mode #team::before {
  opacity: 0.025;
}
body.day-mode .team-bridge {
  background: linear-gradient(to bottom, var(--warm-white), var(--light-bg));
}
body.day-mode .team-bridge-out {
  background: linear-gradient(to bottom, var(--light-bg), var(--light-bg));
}
body.day-mode .team-bridge::after {
  background: linear-gradient(to bottom, transparent, var(--red));
}
body.day-mode .team-title {
  color: var(--charcoal);
}
body.day-mode .team-title em {
  color: var(--red);
}
body.day-mode .team-eyebrow-text {
  color: var(--red);
}
body.day-mode .team-subtitle {
  color: var(--muted-dark);
}
body.day-mode .team-card {
  border-color: rgba(20, 20, 22, 0.08);
}
body.day-mode .team-card:hover {
  border-color: rgba(188, 0, 45, 0.25);
}
body.day-mode .team-card--director {
  border-left-color: var(--red);
}
body.day-mode .team-card-info {
  background: var(--warm-white);
}
body.day-mode .team-card-name {
  color: var(--charcoal);
}
body.day-mode .team-card-role {
  color: var(--muted-dark);
}
body.day-mode .team-card-bio {
  background: var(--warm-white);
}
body.day-mode .team-card-bio p {
  color: var(--muted-dark);
}
body.day-mode .team-card-contact {
  border-top-color: rgba(20, 20, 22, 0.08);
}
body.day-mode .team-card-contact span {
  color: var(--muted-dark);
}
body.day-mode .team-progress-track {
  background: rgba(20, 20, 22, 0.08);
}
body.day-mode .team-progress-text {
  color: var(--muted-dark);
}

/* Mission — day-mode refinements */
body.day-mode #mission {
  background: var(--light-bg);
  border-top-color: rgba(20, 20, 22, 0.06);
}
body.day-mode .mission-sakura-bg svg {
  opacity: 0.018;
}
body.day-mode .mission-statement {
  color: var(--charcoal);
}
body.day-mode .mission-statement em {
  color: var(--red);
}
body.day-mode .pillars {
  background: rgba(20, 20, 22, 0.06);
  border-color: rgba(20, 20, 22, 0.06);
}
body.day-mode .pillar {
  background: var(--warm-white);
}
body.day-mode .pillar:hover {
  background: #fff;
}
body.day-mode .pillar-number {
  color: rgba(188, 0, 45, 0.08);
}
body.day-mode .pillar-icon-sq {
  border-color: rgba(188, 0, 45, 0.22);
}
body.day-mode .pillar:hover .pillar-icon-sq {
  background: rgba(188, 0, 45, 0.06);
}
body.day-mode .pillar-title {
  color: var(--charcoal);
}
body.day-mode .pillar-desc {
  color: var(--muted);
}
body.day-mode .pillar-jp {
  color: rgba(188, 0, 45, 0.25);
}
body.day-mode .mission-cta-row {
  border-top-color: rgba(20, 20, 22, 0.08);
}
body.day-mode .mission-cta-text {
  color: var(--muted-dark);
}
body.day-mode .btn-primary-dark {
  background: var(--red);
  color: var(--off-white);
}
body.day-mode .btn-outline-dark {
  color: var(--muted-dark);
  border-color: rgba(20, 20, 22, 0.12);
}
body.day-mode .btn-outline-dark:hover {
  color: var(--charcoal);
  border-color: rgba(20, 20, 22, 0.3);
}

/* Testimonials (Success Stories) — light background in day mode */
body.day-mode .testimonials-bridge {
  background: linear-gradient(to bottom, var(--light-bg), var(--warm-white));
}
body.day-mode .testimonials-bridge::after {
  background: linear-gradient(to bottom, transparent, var(--red));
}
body.day-mode #testimonials {
  background: var(--warm-white);
}
body.day-mode .testimonials-bg-pattern {
  opacity: 0.025;
}
body.day-mode .testimonials-title {
  color: var(--charcoal);
}
body.day-mode .testimonials-subtitle {
  color: var(--muted-dark);
}
body.day-mode .testimonial-card {
  background: rgba(20, 20, 22, 0.015);
  border-color: var(--divider-light);
}
body.day-mode .testimonial-card:hover {
  background: rgba(20, 20, 22, 0.03);
  border-color: rgba(188, 0, 45, 0.15);
}
body.day-mode .testimonial-quote-icon {
  color: rgba(188, 0, 45, 0.12);
}
body.day-mode .testimonial-text {
  color: var(--muted-dark);
}
body.day-mode .testimonial-divider {
  background: rgba(188, 0, 45, 0.18);
}
body.day-mode .testimonial-avatar {
  border-color: rgba(188, 0, 45, 0.18);
}
body.day-mode .testimonial-card:hover .testimonial-avatar {
  background: rgba(188, 0, 45, 0.05);
  border-color: rgba(188, 0, 45, 0.35);
}
body.day-mode .testimonial-name {
  color: var(--charcoal);
}
body.day-mode .testimonial-role {
  color: var(--muted);
}
body.day-mode .testimonial-company {
  color: rgba(188, 0, 45, 0.4);
}

/* Why Choose Us — day-mode refinements */
body.day-mode .chooseus-bridge {
  background: linear-gradient(to bottom, var(--warm-white), var(--light-bg));
}
body.day-mode .chooseus-bridge::after {
  background: linear-gradient(to bottom, transparent, var(--red));
}
body.day-mode #why-choose-us {
  background: var(--light-bg);
}
body.day-mode .chooseus-bg-pattern {
  opacity: 0.5;
}
body.day-mode .chooseus-headline {
  color: var(--charcoal);
}
body.day-mode .chooseus-headline em {
  color: var(--red);
}
body.day-mode .chooseus-body {
  color: var(--muted-dark);
}
body.day-mode .chooseus-feature {
  border-top-color: rgba(20, 20, 22, 0.07);
}
body.day-mode .chooseus-feature:last-child {
  border-bottom-color: rgba(20, 20, 22, 0.07);
}
body.day-mode .chooseus-feature:hover {
  background: rgba(188, 0, 45, 0.02);
}
body.day-mode .chooseus-feature-icon {
  border-color: rgba(188, 0, 45, 0.18);
}
body.day-mode .chooseus-feature:hover .chooseus-feature-icon {
  background: rgba(188, 0, 45, 0.06);
  border-color: rgba(188, 0, 45, 0.4);
}
body.day-mode .chooseus-feature-title {
  color: var(--charcoal);
}
body.day-mode .chooseus-feature-desc {
  color: var(--muted);
}
/* ═══════════════════════════════════════════════
   APPLY NOW PAGE
   ═══════════════════════════════════════════════ */

/* Nav solid — always visible on apply page (no hero video) */
nav.nav-solid {
  background: rgba(14, 14, 16, 0.95);
  border-bottom: 1px solid var(--divider-dark);
}
.nav-cta-active {
  background: var(--red-soft) !important;
  border-color: var(--red) !important;
}

/* Apply Hero */
.apply-hero {
  position: relative;
  padding: 160px 60px 80px;
  text-align: center;
  background: var(--charcoal);
  overflow: hidden;
}
.apply-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 80%, rgba(188, 0, 45, 0.06) 0%, transparent 60%);
  pointer-events: none;
}
.apply-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}
.apply-hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}
.apply-hero-eyebrow-line {
  width: 50px;
  height: 1px;
  background: var(--red);
}
.apply-hero-eyebrow-text {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--red);
  font-family: "Roboto", sans-serif;
}
.apply-hero-title {
  font-family: "Roboto", sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 300;
  color: var(--off-white);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.apply-hero-title em {
  font-style: italic;
  color: var(--red);
}
.apply-hero-subtitle {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto;
}

/* Form Section */
.apply-form-section {
  background: var(--charcoal-2);
  padding: 80px 60px 120px;
}
.apply-form-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  align-items: start;
}

/* Form Card */
.apply-form-card {
  background: var(--charcoal);
  border: 1px solid var(--divider-dark);
  border-radius: 12px;
  padding: 48px;
}
.apply-form-header {
  margin-bottom: 40px;
  text-align: center;
}
.apply-form-icon {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(188, 0, 45, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--red);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 100;
  margin: 0 auto 20px;
}
.apply-form-title {
  font-family: "Roboto", sans-serif;
  font-size: 24px;
  font-weight: 300;
  color: var(--off-white);
  margin-bottom: 8px;
}
.apply-form-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
}

/* Form Groups */
.form-group {
  margin-bottom: 24px;
}
.form-label {
  display: block;
  font-family: "Roboto", sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.form-input {
  width: 100%;
  padding: 14px 18px;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: var(--off-white);
  background: var(--charcoal-2);
  border: 1px solid var(--divider-dark);
  border-radius: 6px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.form-input::placeholder {
  color: rgba(122, 122, 128, 0.5);
}
.form-input:focus {
  border-color: rgba(188, 0, 45, 0.5);
  box-shadow: 0 0 0 3px rgba(188, 0, 45, 0.1);
}
.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Submit Button */
.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  justify-content: center;
  background: var(--red);
  color: var(--off-white);
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 18px 38px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: box-shadow 0.4s, transform 0.3s;
  margin-top: 8px;
}
.form-submit:hover {
  box-shadow: 0 0 40px var(--red-glow);
  transform: translateY(-1px);
}

/* Success message */
/* Delivery failure notice — only shown when the mail service rejects a send */
.form-error {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid rgba(188, 0, 45, 0.35);
  background: rgba(188, 0, 45, 0.07);
  border-left: 2px solid var(--red);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--off-white);
}
.form-error-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--red);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  margin-top: 2px;
}
.form-error strong {
  font-weight: 400;
}
.form-error-detail {
  color: var(--muted);
}
body.day-mode .form-error {
  color: var(--charcoal);
}

.form-success {
  text-align: center;
  padding: 60px 20px;
}
.form-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(188, 0, 45, 0.1);
  border: 2px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--red);
  margin: 0 auto 24px;
}
.form-success-title {
  font-family: "Roboto", sans-serif;
  font-size: 24px;
  font-weight: 300;
  color: var(--off-white);
  margin-bottom: 12px;
}
.form-success-text {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted);
}
body.day-mode .form-success-title {
  color: var(--charcoal);
}
body.day-mode .form-success-text {
  color: var(--muted-dark);
}

/* Sidebar */
.apply-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.apply-sidebar-card {
  background: var(--charcoal);
  border: 1px solid var(--divider-dark);
  border-radius: 10px;
  padding: 24px;
  transition: border-color 0.3s;
}
.apply-sidebar-card:hover {
  border-color: rgba(188, 0, 45, 0.25);
}
.apply-sidebar-icon {
  font-size: 18px;
  margin-bottom: 10px;
}
.apply-sidebar-title {
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--off-white);
  margin-bottom: 6px;
}
.apply-sidebar-text {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted);
}
.apply-sidebar-text a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
}
.apply-sidebar-text a:hover {
  color: var(--red);
}

/* Responsive — Apply Page */
@media (max-width: 1024px) {
  .apply-form-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .apply-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .apply-hero {
    padding: 140px 24px 60px;
  }
  .apply-form-section {
    padding: 40px 24px 80px;
  }
  .apply-form-card {
    padding: 32px 24px;
  }
  .apply-sidebar {
    grid-template-columns: 1fr;
  }
}

/* Day Mode — Apply Page */
body.day-mode nav.nav-solid {
  background: rgba(250, 248, 245, 0.95);
  border-bottom-color: var(--divider-light);
}
body.day-mode .apply-hero {
  background: var(--warm-white);
}
body.day-mode .apply-hero-title {
  color: var(--charcoal);
}
body.day-mode .apply-hero-title em {
  color: var(--red);
}
body.day-mode .apply-hero-subtitle {
  color: var(--muted-dark);
}
body.day-mode .apply-form-section {
  background: var(--light-bg);
}
body.day-mode .apply-form-card {
  background: var(--warm-white);
  border-color: var(--divider-light);
}
body.day-mode .apply-form-icon {
  border-color: rgba(188, 0, 45, 0.2);
}
body.day-mode .apply-form-title {
  color: var(--charcoal);
}
body.day-mode .apply-form-desc {
  color: var(--muted-dark);
}
body.day-mode .form-label {
  color: var(--muted-dark);
}
body.day-mode .form-input {
  background: var(--light-bg);
  border-color: var(--divider-light);
  color: var(--charcoal);
}
body.day-mode .form-input::placeholder {
  color: rgba(58, 58, 62, 0.4);
}
body.day-mode .form-input:focus {
  border-color: rgba(188, 0, 45, 0.4);
  box-shadow: 0 0 0 3px rgba(188, 0, 45, 0.08);
}
body.day-mode .apply-sidebar-card {
  background: var(--warm-white);
  border-color: var(--divider-light);
}
body.day-mode .apply-sidebar-card:hover {
  border-color: rgba(188, 0, 45, 0.2);
}
body.day-mode .apply-sidebar-title {
  color: var(--charcoal);
}
body.day-mode .apply-sidebar-text {
  color: var(--muted-dark);
}
body.day-mode .apply-sidebar-text a {
  color: var(--muted-dark);
}
