:root {
  --navy: #061d3c;
  --navy-2: #0a2a51;
  --blue: #176ca5;
  --pale: #edf5fa;
  --gold: #bba16a;
  --gold-light: #d7c799;
  --ink: #14253a;
  --muted: #607083;
  --white: #fff;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --content: min(1160px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.9;
  letter-spacing: .04em;
  background: var(--white);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.mobile-only { display: none; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 8px 16px;
  background: #fff;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: 82px;
  padding: 0 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.18);
  transition: background .35s, height .35s, box-shadow .35s;
}
.site-header.scrolled {
  height: 68px;
  color: var(--ink);
  background: rgba(255,255,255,.96);
  box-shadow: 0 8px 30px rgba(9,31,59,.08);
  backdrop-filter: blur(10px);
}
.brand { display: flex; flex-direction: column; line-height: 1.35; }
.brand-ja {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: .08em;
}
.brand-ja i, .footer-brand i {
  display: inline-block;
  height: 14px;
  width: 1px;
  margin: 0 10px;
  vertical-align: -2px;
  background: var(--gold);
}
.brand-en { font-size: 8px; letter-spacing: .13em; opacity: .72; }
.global-nav { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 30px); }
.global-nav a { position: relative; font-size: 14px; font-weight: 600; }
.global-nav a:not(.nav-contact)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width .25s;
}
.global-nav a:hover::after { width: 100%; }
.nav-contact {
  padding: 10px 18px;
  border: 1px solid currentColor;
}
.menu-button { display: none; }

.hero {
  position: relative;
  min-height: 760px;
  height: 100svh;
  max-height: 980px;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero-image {
  position: absolute;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: linear-gradient(90deg, rgba(3,17,36,.95) 0%, rgba(3,20,43,.83) 42%, rgba(3,19,39,.15) 76%),
              linear-gradient(0deg, rgba(3,17,36,.35), transparent 45%);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .1;
  background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(90deg, #000, transparent 65%);
}
.hero-content {
  width: var(--content);
  margin: 0 auto;
  padding-top: clamp(185px, 25vh, 280px);
}
.eyebrow {
  margin: 0 0 15px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .28em;
}
.eyebrow.light { color: var(--gold-light); }
.hero h1, .section h2, .question h2, .developer h2 {
  font-family: var(--serif);
  font-weight: 500;
}
.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(42px, 5vw, 74px);
  line-height: 1.45;
  letter-spacing: .1em;
  text-shadow: 0 3px 30px rgba(0,0,0,.2);
}
.hero-sub { margin: 0 0 42px; font-family: var(--serif); font-size: 18px; letter-spacing: .12em; }
.button {
  min-width: 246px;
  padding: 16px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  transition: transform .25s, box-shadow .25s, background .25s;
}
.button:hover { transform: translateY(-2px); }
.button-gold { color: var(--navy); background: linear-gradient(120deg, #d2be87, #f0e3bd); }
.button-gold:hover { box-shadow: 0 12px 30px rgba(215,199,153,.2); }
.hero-mark {
  position: absolute;
  right: 5vw;
  bottom: 10vh;
  display: flex;
  flex-direction: column;
  letter-spacing: .3em;
}
.hero-mark span { font-size: 18px; }
.hero-mark small { color: #73b9e8; font-size: 8px; }
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateX(-50%);
}
.scroll-cue span { font-size: 8px; letter-spacing: .25em; writing-mode: vertical-rl; }
.scroll-cue i { display: block; width: 1px; height: 50px; margin-top: 12px; background: var(--gold-light); }

.section { padding: 110px 0; }
.section-heading { width: var(--content); margin: 0 auto 55px; }
.section-heading.centered { text-align: center; }
.section-heading h2, .global h2, .developer h2, .contact h2 {
  margin: 0;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.5;
  letter-spacing: .08em;
}
.section-heading h2::after, .developer h2::after {
  content: "";
  display: block;
  width: 42px;
  height: 1px;
  margin: 22px auto 0;
  background: var(--gold);
}

.facts { background: linear-gradient(180deg, #fff 0%, #fafcff 100%); }
.facts-grid {
  width: var(--content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.fact {
  position: relative;
  min-height: 270px;
  padding: 20px 7%;
  text-align: center;
  border-right: 1px solid #dce4eb;
}
.fact:last-child { border-right: 0; }
.fact-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 16px;
  padding: 14px;
  color: var(--gold);
  border: 1px solid var(--gold-light);
  border-radius: 50%;
}
.fact-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; }
.fact-number { position: absolute; top: 8px; left: 11%; color: #c7d1db; font-family: var(--serif); font-size: 20px; }
.fact h3 { margin: 0; font-family: var(--serif); font-size: clamp(19px, 2vw, 27px); font-weight: 500; line-height: 1.75; }
.fact h3 strong { color: var(--gold); font-size: 1.65em; font-weight: 500; }
.fact-note, .annotation { width: var(--content); margin: 25px auto 0; color: var(--muted); font-size: 10px; text-align: center; }

.question {
  position: relative;
  min-height: 650px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  background: #f4f8fb;
}
.question > img { grid-column: 2; width: 100%; height: 100%; object-fit: cover; }
.question-copy {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  width: min(510px, calc(100% - 80px));
  margin-left: max(40px, calc((100vw - 1160px) / 2));
  padding: 60px 20px 60px 0;
}
.question h2 { margin: 0 0 32px; color: var(--navy); font-size: clamp(38px, 4vw, 62px); line-height: 1.55; letter-spacing: .1em; }
.question-copy > p:not(.eyebrow) { color: #4f6073; font-size: 16px; }
.text-link {
  display: inline-flex;
  gap: 40px;
  margin-top: 22px;
  padding-bottom: 7px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  border-bottom: 1px solid var(--gold);
}
.wave-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 35px;
  height: 50px;
  opacity: .45;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60'%3E%3Cpath d='M0 30h300l15-5 10 10 12-22 10 34 14-17 12 0 10-9 12 18 12-9h793' fill='none' stroke='%23176ca5' stroke-width='1'/%3E%3C/svg%3E") center/cover no-repeat;
}

.global {
  min-height: 720px;
  color: var(--white);
  display: grid;
  grid-template-columns: minmax(300px, 460px) minmax(500px, 1fr);
  gap: 50px;
  align-items: center;
  padding-left: max(24px, calc((100vw - 1160px) / 2));
  padding-right: max(24px, calc((100vw - 1160px) / 2));
  background: radial-gradient(circle at 75% 45%, #0f3e6d 0%, var(--navy) 42%, #03142c 100%);
  overflow: hidden;
}
.global h2 { margin: 0 0 28px; font-family: var(--serif); }
.global-copy > p:not(.eyebrow,.annotation) { color: #c9d7e5; font-size: 16px; }
.patent-cards { display: flex; gap: 10px; margin-top: 35px; }
.patent-cards span {
  width: 108px;
  aspect-ratio: .76;
  padding: 20px 10px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: #f6f1e4;
  border: 5px solid #fff;
  outline: 1px solid rgba(187,161,106,.5);
  font-family: var(--serif);
  font-size: 8px;
  line-height: 1.5;
  text-align: center;
  transform: rotate(-2deg);
  box-shadow: 0 10px 20px rgba(0,0,0,.2);
}
.patent-cards span:nth-child(2) { transform: translateY(6px) rotate(2deg); }
.patent-cards span:nth-child(3) { transform: rotate(1deg); background: #d7bd6b; }
.global .annotation { width: auto; margin-top: 22px; color: #95a8bd; text-align: left; }
.world-visual { position: relative; min-height: 450px; }
.world-map, .connections { position: absolute; inset: 0; width: 100%; height: 100%; }
.world-map path { fill: rgba(120,180,220,.18); stroke: rgba(111,179,222,.35); stroke-width: 1; }
.connections .routes path { fill: none; stroke: rgba(139,198,235,.32); stroke-width: 1; }
.connections .points circle { fill: #fff2bb; filter: drop-shadow(0 0 8px #ffd470); }
.global-stat {
  position: absolute;
  right: 4%;
  bottom: 5%;
  display: flex;
  align-items: flex-end;
  gap: 12px;
}
.global-stat strong { color: var(--gold-light); font-family: var(--serif); font-size: 76px; font-weight: 400; line-height: 1; }
.global-stat span { padding-bottom: 8px; font-size: 9px; letter-spacing: .22em; }

.developer {
  width: var(--content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(45px, 7vw, 100px);
  align-items: center;
}
.developer-image { position: relative; }
.developer-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.developer-image::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -25px;
  left: -25px;
  width: 65%;
  height: 65%;
  border: 1px solid var(--gold-light);
}
.developer-image > span {
  position: absolute;
  right: 10px;
  bottom: 8px;
  padding: 3px 7px;
  color: #fff;
  background: rgba(4,25,52,.65);
  font-size: 7px;
  letter-spacing: .15em;
}
.developer h2::after { margin-left: 0; }
.developer blockquote { margin: 32px 0 20px; color: var(--navy); font-family: var(--serif); font-size: 21px; }
.developer-copy > p:not(.eyebrow) { color: #536274; font-size: 15px; }
.developer-meta {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 35px;
}
.developer-name { display: flex; flex-direction: column; }
.developer-meta span { color: var(--muted); font-size: 10px; }
.developer-meta strong { font-family: var(--serif); font-size: 18px; font-weight: 500; }
.book {
  width: 132px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.book img {
  width: 100%;
  height: auto;
  aspect-ratio: 800 / 1050;
  object-fit: cover;
  box-shadow: 8px 12px 24px rgba(10,30,50,.2);
}
.book figcaption { display: flex; align-items: baseline; gap: 9px; }
.book figcaption span { color: var(--gold); font-size: 7px; letter-spacing: .16em; }
.book figcaption strong { color: var(--navy); font-size: 13px; }

.voice { color: var(--white); background: #e9f1f7; }
.voice .section-heading { color: var(--navy); }
.quote-card {
  position: relative;
  width: min(1040px, calc(100% - 48px));
  min-height: 360px;
  margin: 0 auto;
  padding: 70px 9%;
  background: linear-gradient(105deg, rgba(5,24,49,.98), rgba(8,40,75,.92)),
              url("assets/hero-acheless-v2.png") center/cover;
  overflow: hidden;
}
.quote-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -130px;
  width: 350px;
  height: 350px;
  border: 1px solid rgba(215,199,153,.22);
  border-radius: 50%;
  box-shadow: 0 0 0 30px rgba(215,199,153,.05), 0 0 0 60px rgba(215,199,153,.04);
}
.quote-mark { position: absolute; top: 20px; left: 7%; color: var(--gold); font-family: Georgia, serif; font-size: 80px; opacity: .5; }
.quote-card blockquote { margin: 0; font-family: var(--serif); font-size: clamp(36px, 5vw, 62px); line-height: 1.55; letter-spacing: .12em; }
.quote-card p { margin: 10px 0; color: #cad6e2; font-size: 15px; }
.quote-rule { width: 70px; height: 1px; margin-top: 25px; background: var(--gold); }
.quote-label { position: absolute; right: 7%; top: 50px; color: #8da4bc; font-size: 8px; letter-spacing: .2em; }
.annotation.dark { color: #6a7786; }

.contact {
  position: relative;
  text-align: center;
  background: #fff;
  overflow: hidden;
}
.contact::before, .contact::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border: 1px solid #dde9f1;
  border-radius: 50%;
}
.contact::before { left: -160px; top: -60px; box-shadow: 0 0 0 35px #f5f9fc, 0 0 0 70px #fafcfd; }
.contact::after { right: -180px; bottom: -100px; box-shadow: 0 0 0 25px #f5f9fc, 0 0 0 50px #fafcfd; }
.contact-inner { position: relative; z-index: 1; }
.contact-inner > p:not(.eyebrow,.demo-note) { color: var(--muted); font-size: 15px; }
.button-navy { margin-top: 25px; color: #fff; background: var(--navy); min-width: 340px; }
.button-navy:hover { box-shadow: 0 14px 30px rgba(6,29,60,.2); }
.demo-note { margin-top: 16px; color: #8a96a2; font-size: 9px; }

.site-footer {
  padding: 60px max(24px, calc((100vw - 1160px) / 2)) 25px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
  color: #c5d0dd;
  background: #03172f;
}
.footer-brand { display: flex; flex-direction: column; }
.footer-brand strong { color: #fff; font-family: var(--serif); font-size: 17px; }
.footer-brand span { margin-top: 4px; font-size: 7px; letter-spacing: .15em; }
.footer-brand p { font-size: 10px; }
.footer-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 30px; }
.footer-nav a { color: #aebbc9; font-size: 10px; }
.footer-nav a:hover { color: #fff; }
.copyright { grid-column: 1 / -1; margin: 20px 0 0; padding-top: 20px; font-size: 8px; text-align: center; border-top: 1px solid rgba(255,255,255,.1); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .site-header { height: 68px; }
  .menu-button {
    width: 42px;
    height: 42px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: inherit;
    background: transparent;
    border: 0;
    cursor: pointer;
  }
  .menu-button span:not(.visually-hidden) { width: 22px; height: 1px; background: currentColor; transition: transform .25s, opacity .25s; }
  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .global-nav {
    position: fixed;
    inset: 68px 0 auto;
    padding: 30px 7vw 45px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    color: var(--ink);
    background: #fff;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform .3s, opacity .3s, visibility .3s;
    box-shadow: 0 16px 25px rgba(4,27,55,.1);
  }
  .global-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .global-nav a { padding: 13px 4px; border-bottom: 1px solid #e4e9ee; }
  .nav-contact { margin-top: 15px; text-align: center; border: 1px solid var(--navy) !important; }
  .global { grid-template-columns: 1fr; }
  .world-visual { min-height: 380px; }
}

@media (max-width: 720px) {
  :root { --content: calc(100% - 40px); }
  .mobile-only { display: block; }
  .brand-ja { font-size: 12px; }
  .brand-ja i { margin: 0 5px; }
  .brand-en { font-size: 5px; }
  .hero { min-height: 680px; height: 92svh; }
  .hero-image { object-position: 66% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(3,17,36,.95), rgba(3,20,43,.55)), linear-gradient(0deg, rgba(3,17,36,.6), transparent); }
  .hero-content { padding-top: 165px; }
  .hero h1 { font-size: 38px; line-height: 1.55; }
  .hero-sub { font-size: 14px; }
  .hero-mark { right: 20px; bottom: 65px; }
  .hero-mark span { font-size: 12px; }
  .scroll-cue { display: none; }
  .section { padding: 78px 0; }
  .section-heading { margin-bottom: 35px; }
  .facts-grid { grid-template-columns: 1fr; }
  .fact { min-height: 220px; padding: 28px 10%; border-right: 0; border-bottom: 1px solid #dce4eb; }
  .fact:last-child { border-bottom: 0; }
  .fact-number { left: 15%; }
  .question { min-height: 760px; display: block; }
  .question > img { width: 100%; height: 330px; object-position: 61% center; }
  .question-copy { width: var(--content); margin: 0 auto; padding: 48px 0 80px; }
  .question h2 { font-size: 39px; }
  .global { padding: 78px 20px; gap: 20px; }
  .patent-cards span { width: 30%; }
  .world-visual { min-height: 300px; }
  .global-stat strong { font-size: 54px; }
  .developer { width: var(--content); padding: 78px 0; grid-template-columns: 1fr; gap: 50px; }
  .developer-image::before { top: -14px; left: -10px; }
  .developer-meta { align-items: flex-start; }
  .book { width: 145px; }
  .quote-card { width: var(--content); min-height: 330px; padding: 75px 30px 50px; }
  .quote-label { display: none; }
  .quote-card blockquote { font-size: 37px; }
  .button-navy { min-width: 0; width: calc(100% - 40px); }
  .contact-inner > p:not(.eyebrow,.demo-note) br { display: none; }
  .site-footer { grid-template-columns: 1fr; gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
