@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("./fonts/montserrat-latin.v1.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #ffffff;
  --surface: #f7f7f5;
  --surface-strong: #efefec;
  --text: #444;
  --heading: #222;
  --muted: #6f6f6f;
  --line: #e3e3de;
  --accent: #0892cd;
  --accent-dark: #036f9d;
  --accent-deep: #067eb0;
  --overlay: rgba(206, 206, 206, 0.3);
  --overlay-soft: rgba(242, 242, 242, 0.5);
  --shadow: 0 14px 34px rgba(0, 0, 0, 0.06);
  --radius: 2px;
  --container: 1180px;
  --copy: "Montserrat", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --display: "Montserrat", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

#solution,
#how,
#why {
  scroll-margin-top: 82px;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--copy);
  font-size: 16px;
  line-height: 1.7;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.reveal-left {
  transform: translate3d(-42px, 0, 0);
}

.reveal-right {
  transform: translate3d(42px, 0, 0);
}

.reveal-left.is-visible,
.reveal-right.is-visible {
  transform: translate3d(0, 0, 0);
}

.hero__content {
  opacity: 1;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-shell > main {
  flex: 1 0 auto;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

.section {
  padding: 75px 0;
}

.section-tight {
  padding: 70px 0;
}

.surface {
  background: var(--surface);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "logo nav tools";
  align-items: center;
  gap: 22px;
  min-height: 82px;
}

.site-header__logo {
  grid-area: logo;
  justify-self: start;
  display: inline-flex;
  align-items: center;
}

.site-header__logo img {
  width: 64px;
  height: auto;
}

.nav,
.header-tools {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav {
  grid-area: nav;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  color: #222;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  justify-self: end;
  justify-content: flex-end;
  width: 100%;
}

.nav a {
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav a.is-active::after {
  transform: scaleX(1);
}

.header-tools {
  grid-area: tools;
  justify-self: end;
  justify-content: flex-end;
  gap: 10px;
}

.lang-switch {
  display: flex;
  gap: 8px;
}

.lang-switch a {
  border: 2px solid #222;
  padding: 8px 18px;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #222;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.lang-switch a.is-active,
.lang-switch a:hover {
  background: #222;
  color: #fff;
  border-color: #222;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--accent);
}

.menu-toggle svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.menu-toggle {
  display: none;
}

.mobile-nav {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(360px, 100vw);
  padding: 28px 24px;
  background: var(--accent);
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.12);
  transform: translateX(102%);
  transition: transform 0.22s ease;
  z-index: 80;
}

.mobile-nav.is-open {
  transform: translateX(0);
}

.mobile-nav__close {
  display: inline-flex;
  margin-left: auto;
  color: #fff;
}

.mobile-nav__links,
.mobile-nav__langs {
  display: grid;
  gap: 16px;
  color: #fff;
}

.mobile-nav__links {
  margin: 28px 0 24px;
  font-family: var(--display);
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mobile-nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 70;
}

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

.hero {
  position: relative;
  min-height: 760px;
  padding: 0;
  color: var(--heading);
  overflow: hidden;
}

.hero > .container {
  position: relative;
  z-index: 2;
  min-height: 760px;
  display: flex;
  align-items: flex-start;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0.28) 42%, rgba(255, 255, 255, 0.64) 64%, rgba(255, 255, 255, 0.82) 100%);
}

.hero--soft::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.24) 38%, rgba(255, 255, 255, 0.62) 60%, rgba(255, 255, 255, 0.84) 100%);
}

.hero__content {
  position: relative;
  width: min(560px, 100%);
  margin-left: auto;
  padding-top: 128px;
  padding-right: 16px;
  text-align: right;
}

.hero__content--jp {
  text-align: left;
}

.hero__content--jp .hero__logo {
  margin: 0 0 30px 0;
}

.hero__content--jp .split-heading {
  justify-items: start;
}

.hero__content--jp .split-heading h1,
.hero__content--jp .split-heading h3 {
  text-align: left;
}

.hero__logo {
  width: 140px;
  height: auto;
  margin: 0 0 30px auto;
}

.split-heading {
  display: grid;
  gap: 4px;
  max-width: 560px;
  justify-items: end;
}

.split-heading h1,
.split-heading h3 {
  margin: 0;
  font-family: var(--display);
  line-height: 0.82;
  color: #2f2f2f;
  white-space: nowrap;
  text-transform: uppercase;
}

.split-heading h1 {
  font-size: clamp(58px, 8vw, 78px);
  font-weight: 300;
  letter-spacing: 0.04em;
}

.split-heading h3 {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 300;
  letter-spacing: 0.04em;
}

.hero__lead {
  margin-top: 26px;
  max-width: 430px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.95);
}

.media-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: -52px;
  width: min(calc(100% - 64px), 1320px);
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
}

.media-card {
  overflow: hidden;
  background: transparent;
}

.media-card img {
  width: 100%;
  aspect-ratio: 1 / 0.72;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.section-title {
  margin: 0 0 10px;
  text-align: center;
  font-family: var(--display);
  font-size: 36px;
  color: var(--heading);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 0.95;
}

.divider {
  width: 135px;
  height: 4px;
  margin: 0 auto 26px;
  background: var(--accent);
  transform-origin: center;
  transition:
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.7s ease;
}

.divider.reveal {
  opacity: 0;
  transform: scaleX(0.4);
}

.divider.reveal.is-visible {
  opacity: 1;
  transform: scaleX(1);
}

.divider--left {
  margin-left: 0;
}

.copy-block {
  max-width: 790px;
  margin: 0 auto;
  text-align: center;
  color: #666;
  font-size: 18px;
}

.copy-block p {
  margin: 0 0 14px;
}

.solution-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 58px;
  align-items: center;
  margin-top: 44px;
}

.solution-grid img {
  width: 100%;
}

.eyebrow {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
}

.solution-copy h3,
.cta-panel__text h3 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: 34px;
  color: var(--heading);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 0.95;
}

.solution-copy p {
  margin: 0 0 14px;
  color: var(--muted);
}

.solution-copy--left,
.solution-copy--left h3,
.solution-copy--left p {
  text-align: left;
}

.solution-copy--right,
.solution-copy--right h3,
.solution-copy--right p {
  text-align: right;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 34px;
}

.feature-card,
.value-card {
  background: transparent;
  box-shadow: none;
}

.feature-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-card:hover img {
  transform: scale(1.04);
}

.feature-card__body,
.value-card__body {
  padding: 18px 8px 0;
}

.feature-card h4,
.value-card h4 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 19px;
  color: var(--heading);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.05;
}

.feature-card p,
.value-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}

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

.value-card__body {
  padding-top: 10px;
}

.value-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  color: var(--accent);
}

.value-card__icon svg {
  width: 52px;
  height: 52px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.team-grid--three {
  grid-template-columns: repeat(3, 1fr);
}

.team-card {
  background: transparent;
  box-shadow: none;
}

.team-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.team-card:hover img {
  transform: scale(1.04);
}

.team-card__body h4,
.site-footer__brand h3,
.site-footer h4,
.cta-panel__text h6,
.button-outline,
.footer-apply {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.team-card__body {
  padding: 16px 6px 0;
}

.team-card h4 {
  margin: 0;
  font-family: var(--display);
  font-size: 18px;
  color: var(--heading);
  text-align: center;
  line-height: 1.05;
}

.cta-band {
  position: relative;
  background: #f2f2f2;
  overflow: hidden;
}

.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
}

.cta-band::before {
  background: url("./mother.v1.webp") left center / cover no-repeat;
}

.cta-band::after {
  background: var(--overlay-soft);
}

.cta-band__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  padding: clamp(84px, 10vw, 120px) 0;
}

.cta-panel {
  max-width: 360px;
}

.cta-panel__text h6 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--accent);
  text-transform: none;
}

.button-outline {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 50px;
  padding: 0 20px;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.button-outline:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}

.button-outline svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform 0.22s ease;
}

.button-outline:hover svg {
  transform: translateX(3px);
}

.page-hero {
  padding: 132px 0 28px;
  text-align: center;
}

.page-hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: 42px;
  font-weight: 300;
  color: var(--heading);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 0.92;
}

.page-card {
  width: min(calc(100% - 48px), 920px);
  margin: 0 auto 90px;
  padding: 40px;
  background: #fff;
  border: 1px solid #ecece8;
  box-shadow: none;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table th,
.company-table td {
  padding: 18px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.company-table th {
  width: 26%;
  font-family: var(--display);
  color: var(--heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.05;
}

.back-home {
  margin-top: 34px;
}

.form-stack {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  color: var(--heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.05;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid #d6d6d6;
  background: #fff;
  padding: 14px 15px;
  color: var(--text);
}

.field textarea {
  min-height: 190px;
  resize: vertical;
}

.field input[type="file"] {
  padding: 12px;
}

.form-note {
  color: var(--muted);
  font-size: 14px;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.form-status {
  min-height: 1.5em;
  margin: -4px 0 0;
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.form-status[data-state="loading"] {
  color: var(--muted);
}

.form-status[data-state="success"] {
  color: var(--accent-dark);
}

.form-status[data-state="error"] {
  color: #b63f2d;
}

.submit-row {
  padding-top: 8px;
}

.submit-row button {
  background: var(--accent);
  color: #fff;
  padding: 14px 28px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.submit-row button[disabled] {
  opacity: 0.72;
  cursor: wait;
}

.site-footer {
  background: var(--accent);
  color: #fff;
}

.site-footer__main {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 30px;
  padding: 52px 0 36px;
}

.site-footer__brand img {
  width: 150px;
  height: auto;
}

.site-footer__brand .footer-logo {
  filter: brightness(0) invert(1);
}

.site-footer h3 {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: 20px;
  color: #fff;
}

.site-footer h4 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: 18px;
  color: #fff;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

.footer-apply {
  display: inline-block;
  margin-top: 4px;
  padding: 9px 16px;
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 18px 0 26px;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  background: var(--accent-deep);
}

@media (max-width: 1190px) {
  .site-header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-header__logo {
    justify-self: start;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid,
  .team-grid--three {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer__main {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: 680px;
  }

  .hero > .container {
    min-height: 680px;
  }

  .media-trio,
  .solution-grid,
  .cta-band__inner,
  .site-footer__main {
    grid-template-columns: 1fr;
  }

  .media-trio {
    margin-top: -36px;
  }

  .page-card {
    padding: 26px;
  }

  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
    padding: 12px 0;
  }

  .company-table tr {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .company-table th,
  .company-table td {
    border-bottom: 0;
  }

}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .site-header__inner {
    min-height: 68px;
    gap: 8px;
  }

  .lang-switch {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .hero > .container {
    min-height: 760px;
    justify-content: center;
  }

  .split-heading h1,
  .split-heading h3 {
    white-space: normal;
  }

  .hero__logo {
    width: 132px;
    margin: 0 auto 26px;
  }

  .hero__content--jp .hero__logo {
    margin: 0 auto 26px;
  }

  .hero__content {
    width: min(100%, 420px);
    margin: 0 auto;
    padding-top: 118px;
    padding-right: 0;
    transform: none;
    text-align: center;
  }

  .hero__image {
    object-position: center top;
  }

  .hero__content--jp,
  .hero__content--jp .split-heading h1,
  .hero__content--jp .split-heading h3 {
    text-align: center;
  }

  .hero__content--jp .split-heading {
    justify-items: center;
  }

  .split-heading {
    max-width: 100%;
    justify-items: center;
    gap: 12px;
  }

  .media-trio {
    width: 100vw;
    margin-top: 0;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .split-heading h1 {
    font-size: 44px;
  }

  .split-heading h3 {
    font-size: 24px;
    line-height: 1.25;
  }

  .section-title {
    font-size: 32px;
  }

  .feature-grid,
  .value-grid,
  .team-grid,
  .team-grid--three {
    grid-template-columns: 1fr;
  }

  .copy-block {
    font-size: 17px;
  }

  .solution-copy h3,
  .cta-panel__text h3 {
    font-size: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
  }
}
