/* =====================================================
   home.css — page-level patterns used on the home page
   (index.html). Currently holds the MESSAGE section, the
   WHY US editorial layout, and the COMPANY info card.
   Hero / WebGL / form fields stay in index.html inline
   for now because they're tightly coupled to JS state.
   ===================================================== */

/* === MESSAGE — brand statement.
   Section-head matches every other section (English eyebrow +
   Japanese h2). Below it sits an asymmetric two-column block:
   a manifesto statement on the left, a body paragraph on the
   right, separated by a vertical accent line. === */
#message {
  position: relative;
  z-index: 1;
}

.message-content {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: clamp(2.5rem, 4vw, 4.5rem);
  align-items: start;
  max-width: 1180px;
  margin: clamp(3.5rem, 5vw, 5rem) auto 0;
  padding: 0 clamp(1rem, 3vw, 2rem);
}

.message-statement {
  position: relative;
  padding-left: clamp(1.25rem, 1.8vw, 2rem);
}

.message-statement::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 3px;
  height: clamp(40px, 5vw, 56px);
  border-radius: 2px;
  background: linear-gradient(180deg, #1350d4, #5d96ff);
}

.message-tagline {
  font-size: clamp(1rem, 1.15vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin: 0 0 clamp(0.75rem, 1vw, 1rem);
}

.message-tagline-sub {
  font-size: 0.82em;
  font-weight: 400;
  letter-spacing: 0.04em;
  opacity: 0.85;
}

.message-headline {
  font-size: clamp(1.65rem, 3.2vw, 3.2rem);
  line-height: 1.45;
  font-weight: 800;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, #002e84 0%, #1350d4 55%, #5d96ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  text-shadow: 0 0 32px rgba(255, 255, 255, 0.6);
}

.message-divider {
  width: 1px;
  align-self: stretch;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(93, 150, 255, 0.35) 20%,
    rgba(93, 150, 255, 0.35) 80%,
    transparent
  );
  min-height: 200px;
}

.message-body {
  font-size: clamp(1rem, 1.1vw, 1.15rem);
  line-height: 2.1;
  color: #1d2939;
  font-weight: 500;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.7);
}

.message-body p {
  margin: 0 0 clamp(1rem, 1.5vw, 1.5rem);
}

.message-body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .message-content {
    grid-template-columns: 1fr;
    gap: clamp(2rem, 4vw, 3rem);
    padding: 0;
  }
  .message-divider {
    display: none;
  }
  .message-statement {
    padding-left: clamp(1rem, 1.4vw, 1.5rem);
  }
  .message-headline {
    font-size: clamp(1.5rem, 6vw, 2.4rem);
  }
}

@media (max-width: 640px) {
  .message-body {
    font-size: 0.98rem;
    line-height: 1.95;
  }
}

/* === WHY US — editorial open layout, no card boxes === */
.why-us-container {
  background-color: transparent;
  width: 100%;
  margin-left: 0;
  padding: 0;
}

.why-us-section-head {
  color: inherit;
}

.why-us-grid3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2.5rem, 4vw, 4.5rem);
  margin: clamp(4rem, 6vw, 7rem) 0 0;
  padding: 0 clamp(2rem, 6vw, 8rem);
}

.why-us-card-container {
  position: relative;
  width: 100%;
  min-width: 0;
  padding: clamp(2rem, 2.6vw, 3rem) 0 clamp(2rem, 2.6vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 1vw, 1rem);
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.why-us-card-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(48px, 6vw, 72px);
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #1350d4, #5d96ff);
}

.why-us-card-container::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(93, 150, 255, 0.45),
    rgba(93, 150, 255, 0.08) 60%,
    transparent
  );
}

.why-us-card-container:hover {
  transform: translateY(-3px);
}

.why-us-number {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(3.25rem, 5.8vw, 7rem);
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #1350d4 0%, #5d96ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 4px 16px rgba(19, 80, 212, 0.22));
  margin: 0.5rem 0 0;
}

.why-us-title {
  font-size: clamp(1.4rem, 1.9vw, 2.1rem);
  font-weight: 700;
  color: #001a4d;
  letter-spacing: 0.02em;
  margin: 0;
  text-shadow: 0 0 24px rgba(245, 248, 255, 0.7);
}

.why-us-title::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2px;
  background: linear-gradient(90deg, #1350d4, #5d96ff);
  vertical-align: middle;
  margin: 0 0.6rem 0.25em 0;
}

.why-us-description {
  font-size: clamp(0.95rem, 1.05vw, 1.08rem);
  line-height: 2;
  color: #2c3a4d;
  margin: 0;
  text-shadow: 0 0 16px rgba(245, 248, 255, 0.65);
}

@media (max-width: 900px) {
  .why-us-grid3 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding: 0 1rem;
  }
  .why-us-card-container {
    padding: 1.5rem 0 1.5rem;
    gap: 0.5rem;
  }
}

@media (max-width: 640px) {
  .why-us-grid3 {
    padding: 0 0.5rem;
  }
  .why-us-number {
    font-size: 2.5rem;
  }
  .why-us-title {
    font-size: 1.2rem;
  }
  .why-us-description {
    font-size: 0.95rem;
    line-height: 1.7;
  }
}

/* === COMPANY — single-column basic info glass card === */
.company-info-card {
  position: relative;
  overflow: hidden;
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(2rem, 3vw, 3rem) clamp(2rem, 3.5vw, 3.5rem);
  border-radius: 24px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.55),
    rgba(232, 240, 255, 0.32) 50%,
    rgba(255, 255, 255, 0.55)
  );
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 28px 70px rgba(15, 23, 42, 0.1),
    0 0 0 1px rgba(93, 150, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -40px 60px -20px rgba(93, 150, 255, 0.12);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.company-info-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 28%,
    rgba(255, 255, 255, 0.55) 45%,
    rgba(255, 255, 255, 0.18) 52%,
    transparent 68%
  );
  opacity: 0.3;
  mix-blend-mode: screen;
  pointer-events: none;
}

.company-info-list {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  padding: 0;
  max-width: 460px;
}

.company-info-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: clamp(1rem, 2vw, 2rem);
  align-items: baseline;
  padding: clamp(0.85rem, 1vw, 1rem) 0;
  border-top: 1px solid rgba(93, 150, 255, 0.15);
  font-size: clamp(0.95rem, 1.05vw, 1.1rem);
}

.company-info-row:first-child {
  border-top: none;
}

.company-info-row dt {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.company-info-row dd {
  margin: 0;
  color: var(--text);
}

@media (max-width: 720px) {
  .company-info-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  .company-info-row dt {
    font-size: 0.85rem;
  }
}
