:root {
  --ink: #101c2d;
  --muted: #536276;
  --paper: #f5f7f8;
  --white: #ffffff;
  --line: #d7dde3;
  --blue: #0757c7;
  --cyan: #56d6de;
  --navy: #071a31;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Yu Gothic", sans-serif;
}

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

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  display: grid;
  width: 100%;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 24px 5vw;
  color: var(--white);
}

.brand,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 14px;
  line-height: 1.2;
}

.brand small {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

nav {
  display: flex;
  gap: 32px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

nav a {
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease;
}

nav a:hover,
nav a:focus-visible {
  border-color: var(--cyan);
}

.language-switch {
  justify-self: end;
  border: 1px solid rgba(255, 255, 255, 0.24);
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.12em;
  transition: border-color 180ms ease, color 180ms ease;
}

.language-switch:hover,
.language-switch:focus-visible {
  border-color: var(--cyan);
  color: var(--white);
}

.hero {
  position: relative;
  display: grid;
  min-height: 790px;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  align-items: center;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  padding: 148px 7vw 110px;
}

.hero::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  background: #0b2442;
  content: "";
}

.hero-copy,
.hero-visual,
.hero-index {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero .eyebrow,
.eyebrow.light {
  color: var(--cyan);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 640;
  letter-spacing: -0.055em;
  line-height: 1.13;
}

.hero h1 span {
  color: var(--cyan);
}

.lang-en .hero h1 {
  max-width: 820px;
  font-size: clamp(46px, 5.3vw, 76px);
  letter-spacing: -0.047em;
}

.hero-description {
  max-width: 630px;
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 2;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 40px;
}

.primary-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  background: var(--cyan);
  color: var(--navy);
  padding: 0 22px;
  font-size: 13px;
  font-weight: 700;
  transition: background 180ms ease, transform 180ms ease;
}

.primary-button:hover,
.primary-button:focus-visible {
  background: #83e6eb;
  transform: translateY(-2px);
}

.text-link {
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  padding: 6px 0;
  font-size: 13px;
}

.hero-visual {
  display: grid;
  place-items: center;
}

.scan-frame {
  position: relative;
  width: min(34vw, 460px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.scan-grid {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: linear-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.35) 1px, transparent 1px);
  background-size: 12.5% 12.5%;
}

.scan-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  aspect-ratio: 1;
  border: 1px solid rgba(86, 214, 222, 0.72);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.ring-one {
  width: 78%;
}

.ring-two {
  width: 55%;
  border-color: rgba(255, 255, 255, 0.42);
}

.ring-three {
  width: 29%;
  border-color: rgba(86, 214, 222, 0.42);
}

.scan-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--cyan);
  box-shadow: 0 0 30px rgba(86, 214, 222, 0.85);
  transform: translate(-50%, -50%);
}

.axis,
.scan-label {
  position: absolute;
  color: rgba(255, 255, 255, 0.48);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
}

.axis-x {
  right: 10px;
  top: calc(50% - 8px);
}

.axis-y {
  top: 10px;
  left: calc(50% + 9px);
}

.label-top {
  top: -26px;
  left: 0;
}

.label-bottom {
  right: 0;
  bottom: -26px;
}

.hero-index {
  position: absolute;
  right: 5vw;
  bottom: 32px;
  left: 5vw;
  display: flex;
  gap: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 18px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section {
  padding: 112px 7vw;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 60px;
}

.section h2 {
  margin: 0;
  font-size: clamp(36px, 4.5vw, 60px);
  letter-spacing: -0.045em;
  line-height: 1.2;
}

.section-heading > p {
  max-width: 580px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 2;
}

.research-list {
  border-top: 1px solid var(--line);
}

.research-card {
  display: grid;
  grid-template-columns: 70px 1fr 1.1fr 0.8fr;
  gap: 30px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding: 34px 0;
}

.card-number {
  color: var(--blue);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
}

.card-title p {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card-title h3 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.card-description {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tags li {
  border: 1px solid var(--line);
  padding: 7px 9px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.approach {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 9vw;
  background: var(--blue);
  color: var(--white);
}

.approach-intro > p:last-child {
  max-width: 500px;
  margin: 32px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 2;
}

.principles {
  border-top: 1px solid rgba(255, 255, 255, 0.26);
}

.principles article {
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
  padding: 24px 0 28px;
}

.principle-top {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--cyan);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.principle-top span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(86, 214, 222, 0.55);
}

.principle-top p {
  margin: 0;
}

.principles h3 {
  margin: 20px 0 10px;
  font-size: 24px;
}

.principles article > p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.85;
}

.collaboration {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 9vw;
  background: var(--white);
}

.collaboration-copy > p {
  max-width: 650px;
  margin: 3px 0 46px;
  color: var(--muted);
  font-size: 16px;
  line-height: 2;
}

.profile-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

.profile-person {
  display: flex;
  align-items: center;
  gap: 18px;
}

.profile-photo {
  width: 58px;
  height: 66px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  object-fit: cover;
}

.profile-label {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.profile-identity h3 {
  margin: 0 0 8px;
  font-size: 21px;
  letter-spacing: -0.02em;
}

.profile-identity h3 span {
  margin-left: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.profile-affiliation {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.profile-email {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.profile-email span {
  color: var(--blue);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.profile-email img {
  width: min(264px, 100%);
  height: auto;
}

.profile-links {
  display: flex;
  gap: 10px;
}

.profile-links a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 46px;
  border: 1px solid var(--line);
  padding: 0 14px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 650;
  transition: border-color 180ms ease, color 180ms ease;
}

.profile-links a:hover,
.profile-links a:focus-visible {
  border-color: var(--blue);
  color: var(--blue);
}

footer {
  display: flex;
  min-height: 160px;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: var(--navy);
  color: var(--white);
  padding: 42px 7vw;
}

.footer-brand .brand-mark {
  border-color: rgba(255, 255, 255, 0.32);
}

.footer-brand p {
  margin: 0;
  font-size: 13px;
  font-weight: 650;
}

.footer-brand small {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
}

.copyright {
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
  letter-spacing: 0.08em;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

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

  .site-header nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 150px;
    padding-bottom: 130px;
  }

  .hero::before {
    top: auto;
    bottom: 0;
    width: 100%;
    height: 37%;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 0;
  }

  .hero-visual {
    margin-top: 90px;
  }

  .scan-frame {
    width: min(72vw, 440px);
  }

  .research-card {
    grid-template-columns: 50px 1fr 1fr;
  }

  .tags {
    grid-column: 2 / -1;
  }

  .approach,
  .collaboration {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 18px 20px;
  }

  .brand strong {
    max-width: 180px;
  }

  .language-switch {
    padding: 8px 10px;
    font-size: 9px;
  }

  .hero {
    min-height: 0;
    padding: 130px 22px 126px;
  }

  .hero h1 {
    font-size: clamp(42px, 12.5vw, 62px);
  }

  .lang-en .hero h1 {
    font-size: clamp(39px, 11vw, 56px);
  }

  .hero-description {
    font-size: 14px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-index {
    right: 22px;
    bottom: 22px;
    left: 22px;
    gap: 10px;
    justify-content: space-between;
    font-size: 7px;
  }

  .section {
    padding: 82px 22px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 42px;
  }

  .research-card {
    grid-template-columns: 38px 1fr;
    gap: 20px;
  }

  .card-description,
  .tags {
    grid-column: 2;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 42px 22px;
  }

  .profile-card {
    grid-template-columns: 1fr;
  }

  .profile-person {
    align-items: flex-start;
  }

  .profile-email {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .profile-links {
    align-items: stretch;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
