:root {
  color-scheme: light;
  --ink: #06150e;
  --ink-deep: #020805;
  --ink-text: #09140e;
  --forest: #1f5b40;
  --forest-soft: #78b88e;
  --paper: #f6f3ea;
  --paper-bright: #fbfaf6;
  --gold: #b79a57;
  --muted: #5b655e;
  --hairline: rgb(9 20 14 / 0.22);
  --paper-hairline: rgb(246 243 234 / 0.25);
  --hero-progress: 0;
  --hero-inset: 92%;
  --hero-inset-1: 0%;
  --hero-inset-2: 100%;
  --hero-exit: 0;
  --page-gutter: clamp(1.5rem, 5.6vw, 5.5rem);
  --header-gutter: clamp(1.5rem, 2.9vw, 2.8rem);
  --content-max: 96rem;
  --font-ui: Futura, "Avenir Next", "Century Gothic", sans-serif;
  --font-ja: "Hiragino Sans", "Yu Gothic", YuGothic, "Noto Sans JP", sans-serif;
  --font-display: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "Noto Serif JP", serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink-text);
  font-family: var(--font-ja);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-gated {
  overflow: hidden;
}

button,
a {
  color: inherit;
}

button {
  font: inherit;
}

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

.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;
}

.skip-link {
  position: fixed;
  z-index: 1200;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.8rem 1rem;
  background: var(--paper-bright);
  color: var(--ink-text);
  font: 600 0.72rem/1 var(--font-ui);
  letter-spacing: 0.12em;
  text-decoration: none;
  transform: translateY(-170%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Language gate */

.language-gate {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-content: center;
  min-height: 100svh;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper-bright);
  isolation: isolate;
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 700ms;
}

.language-gate::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.25;
  background-image:
    radial-gradient(rgb(255 255 255 / 0.06) 0.45px, transparent 0.5px),
    radial-gradient(rgb(120 184 142 / 0.04) 0.45px, transparent 0.5px);
  background-position: 0 0, 5px 7px;
  background-size: 7px 7px, 11px 11px;
  mix-blend-mode: soft-light;
}

.language-gate.is-dismissed {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.language-gate__wordmark {
  margin: 0;
  color: var(--paper-bright);
  font: 400 clamp(3.5rem, 7.2vw, 7.2rem) / 1 var(--font-ui);
  letter-spacing: 0.2em;
  text-align: center;
  transform: translateX(0.1em);
}

.language-gate__choices {
  display: flex;
  justify-content: center;
  gap: clamp(4.5rem, 12vw, 11rem);
  margin-top: clamp(6.5rem, 14vh, 9rem);
}

.language-gate__choices button {
  position: relative;
  min-width: 8rem;
  padding: 0 0 1.2rem;
  border: 0;
  background: transparent;
  color: rgb(251 250 246 / 0.9);
  cursor: pointer;
  font: 500 clamp(0.72rem, 1vw, 0.88rem) / 1 var(--font-ui);
  letter-spacing: 0.31em;
}

.language-gate__choices button::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.language-gate__choices button:hover::after,
.language-gate__choices button:focus-visible::after {
  transform: scaleX(1);
}

.language-gate__choices button:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 0.7rem;
}

/* Site header */

.site-header {
  position: fixed;
  z-index: 100;
  top: clamp(1.4rem, 3.8vh, 2.5rem);
  right: var(--header-gutter);
  left: var(--header-gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(2rem, 4vw, 4.5rem);
  color: var(--paper-bright);
  opacity: 1;
  transition:
    color 300ms ease,
    opacity 500ms ease,
    transform 500ms ease;
}

body.is-gated .site-header {
  opacity: 0;
  transform: translateY(-0.75rem);
  pointer-events: none;
}

.site-header.is-on-paper {
  color: var(--ink-text);
}

.wordmark {
  position: relative;
  color: inherit;
  font: 500 clamp(0.95rem, 1.18vw, 1.18rem) / 1 var(--font-ui);
  letter-spacing: 0.28em;
  text-decoration: none;
}

.wordmark::after,
.primary-navigation a::after {
  content: "";
  position: absolute;
  right: 0.28em;
  bottom: -0.55rem;
  left: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.wordmark:hover::after,
.wordmark:focus-visible::after,
.primary-navigation a:hover::after,
.primary-navigation a:focus-visible::after {
  transform: scaleX(1);
}

.primary-navigation {
  display: flex;
  justify-content: flex-end;
  gap: clamp(1.4rem, 2.8vw, 3rem);
}

.primary-navigation a {
  position: relative;
  font: 500 clamp(0.58rem, 0.72vw, 0.7rem) / 1 var(--font-ui);
  letter-spacing: 0.16em;
  text-decoration: none;
  white-space: nowrap;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font: 500 0.66rem/1 var(--font-ui);
  letter-spacing: 0.15em;
}

.language-switch button {
  padding: 0.25rem 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  opacity: 0.55;
}

.language-switch button[aria-pressed="true"] {
  color: var(--gold);
  opacity: 1;
}

.language-switch button:focus-visible,
.menu-toggle:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 0.4rem;
}

.menu-toggle {
  display: none;
}

/* Hero */

.hero-scroll {
  position: relative;
  height: 285svh;
  background: var(--ink);
}

.hero-sticky {
  position: sticky;
  z-index: 1;
  top: 0;
  width: 100%;
  height: 100svh;
  min-height: 38rem;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 91% 48%, rgb(31 91 64 / 0.28), transparent 31%),
    linear-gradient(103deg, #020805 0%, #06110c 56%, #0b1d14 100%);
}

.hero-sticky::after {
  display: none;
}

#particle-canvas {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-grain {
  position: absolute;
  z-index: 2;
  inset: 0;
  opacity: 0.25;
  pointer-events: none;
  background-image:
    radial-gradient(rgb(255 255 255 / 0.055) 0.45px, transparent 0.5px),
    radial-gradient(rgb(120 184 142 / 0.04) 0.45px, transparent 0.5px);
  background-position: 0 0, 5px 7px;
  background-size: 7px 7px, 11px 11px;
  mix-blend-mode: soft-light;
}

.hero-vignette {
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgb(1 6 4 / 0.5), transparent 50%),
    linear-gradient(0deg, rgb(0 0 0 / 0.22), transparent 32%);
}

.hero-copy {
  position: absolute;
  z-index: 6;
  top: 34%;
  left: var(--page-gutter);
  width: min(74rem, calc(100vw - var(--page-gutter) * 2));
  color: var(--paper-bright);
  pointer-events: none;
  opacity: calc(1 - var(--hero-exit) * 0.72);
  transform: translateY(calc(var(--hero-exit) * -2rem));
  will-change: transform, opacity;
}

.hero-title {
  position: relative;
  width: max-content;
  max-width: 100%;
  font-family: var(--font-display);
  font-size: clamp(4.1rem, 7.15vw, 7.35rem);
  font-weight: 600;
  line-height: 1.17;
  letter-spacing: 0.025em;
  font-feature-settings: "palt" 1, "pkna" 1;
}

.hero-title span {
  display: block;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
}

.hero-title__outline {
  color: transparent;
  -webkit-text-stroke: 1px rgb(246 243 234 / 0.35);
  text-shadow: 0 0 1.1rem rgb(120 184 142 / 0.04);
}

.hero-title__fill {
  position: absolute;
  inset: 0;
  overflow: visible;
  color: var(--paper-bright);
  text-shadow: 0 0 1.6rem rgb(183 154 87 / 0.08);
}

.hero-title__fill [data-i18n="hero.line1"] {
  clip-path: inset(0 var(--hero-inset-1) 0 0);
  will-change: clip-path;
}

.hero-title__fill [data-i18n="hero.line2"] {
  clip-path: inset(0 var(--hero-inset-2) 0 0);
  will-change: clip-path;
}

.hero-subtitle {
  margin: clamp(1.35rem, 2.5vw, 2.15rem) 0 0 0.12em;
  color: rgb(251 250 246 / 0.92);
  font: 500 clamp(0.64rem, 0.86vw, 0.78rem) / 1.45 var(--font-ui);
  letter-spacing: 0.39em;
}

.scroll-cue {
  position: absolute;
  z-index: 7;
  right: 50%;
  bottom: clamp(2rem, 6vh, 4rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  color: rgb(246 243 234 / calc(0.9 - var(--hero-progress) * 0.75));
  font: 500 0.62rem/1 var(--font-ui);
  letter-spacing: 0.36em;
  transform: translateX(50%);
}

.scroll-cue i {
  position: relative;
  display: block;
  width: 1.9rem;
  height: 1px;
  overflow: hidden;
  background: rgb(246 243 234 / 0.22);
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 55%;
  height: 100%;
  background: var(--gold);
  animation: scroll-line 1.8s cubic-bezier(0.76, 0, 0.24, 1) infinite;
}

/* Shared paper sections */

.paper-section {
  position: relative;
  z-index: 10;
  background: var(--paper);
  color: var(--ink-text);
}

.paper-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.24;
  pointer-events: none;
  background-image: radial-gradient(rgb(9 20 14 / 0.12) 0.42px, transparent 0.48px);
  background-size: 8px 8px;
  mix-blend-mode: multiply;
}

.content-shell {
  position: relative;
  width: min(100%, var(--content-max));
  margin: 0 auto;
  padding: clamp(7rem, 11vw, 11rem) var(--page-gutter);
}

.content-shell--wide {
  width: min(100%, 120rem);
}

.section-label {
  position: relative;
  width: max-content;
  margin: 0;
  padding-bottom: 1.15rem;
  font: 500 clamp(0.68rem, 0.82vw, 0.82rem) / 1 var(--font-ui);
  letter-spacing: 0.2em;
}

.section-label::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 4rem;
  height: 1px;
  background: var(--gold);
}

/* Philosophy */

.philosophy-section {
  min-height: 100svh;
}

.philosophy-section h2,
.business-section > .content-shell > h2,
.company-copy h2,
.contact-section h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.015em;
}

.philosophy-section h2 {
  max-width: 14em;
  margin: clamp(3rem, 6vw, 5.5rem) 0 0;
  font-size: clamp(3rem, 5.3vw, 5.7rem);
  line-height: 1.25;
  letter-spacing: 0;
  white-space: nowrap;
}

.display-line {
  display: inline;
}

.company-copy h2 .display-line {
  white-space: nowrap;
}

.philosophy-lead {
  margin: clamp(1.4rem, 2.5vw, 2.25rem) 0 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.35vw, 1.25rem);
  line-height: 1.9;
  letter-spacing: 0.05em;
}

.decision-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: clamp(5rem, 9vw, 8.5rem) 0 0;
  padding: 0;
  list-style: none;
}

.decision-rail::before {
  content: "";
  position: absolute;
  top: 3.7rem;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--gold);
}

.decision-rail::after {
  content: "";
  position: absolute;
  top: calc(3.7rem - 0.3rem);
  right: 0;
  width: 0.6rem;
  height: 0.6rem;
  border-top: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
  transform: rotate(45deg);
}

.decision-rail li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2.15rem;
  min-width: 0;
  padding-right: 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.7vw, 1.45rem);
  line-height: 1.4;
}

.decision-rail li::after {
  content: "";
  position: absolute;
  top: calc(3.7rem - 0.28rem);
  left: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--gold);
}

.decision-number {
  color: var(--forest);
  font: 400 clamp(2rem, 3.2vw, 3rem) / 1 var(--font-ui);
  letter-spacing: 0.05em;
}

.decision-conclusion {
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) auto;
  align-items: center;
  gap: clamp(2rem, 6vw, 7rem);
  margin-top: clamp(4rem, 8vw, 7rem);
}

.ordered-particles {
  height: 7rem;
  background-image:
    radial-gradient(circle, rgb(31 91 64 / 0.72) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgb(183 154 87 / 0.78) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgb(120 184 142 / 0.68) 0 1.3px, transparent 1.9px);
  background-position: 0 18%, 9px 72%, 18px 45%;
  background-size: 29px 29px, 41px 41px, 53px 53px;
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 80%, transparent);
  opacity: 0.85;
}

.decision-conclusion p {
  margin: 0;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gold);
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.3vw, 4.5rem);
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
}

/* Business */

.business-section {
  border-top: 1px solid var(--hairline);
}

.business-section > .content-shell {
  padding-right: 0;
  padding-left: 0;
}

.business-section .section-label,
.business-section > .content-shell > h2 {
  margin-left: var(--page-gutter);
}

.business-section > .content-shell > h2 {
  margin-top: clamp(2.5rem, 5vw, 4.25rem);
  margin-bottom: 0;
  font-size: clamp(3.2rem, 6.4vw, 6.6rem);
  line-height: 1.2;
}

.business-rails {
  margin-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--hairline);
}

.business-row {
  position: relative;
  display: grid;
  grid-template-columns: 25% 23% 52%;
  min-height: clamp(12.5rem, 16vw, 15rem);
  overflow: hidden;
  border-bottom: 1px solid var(--hairline);
}

.business-status,
.business-copy {
  position: relative;
  z-index: 2;
}

.business-status {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 1.8rem var(--page-gutter);
  border-right: 1px solid var(--hairline);
  color: var(--forest);
  font: 500 clamp(0.8rem, 1.4vw, 1.25rem) / 1.15 var(--font-ui);
  letter-spacing: 0.08em;
}

.business-row--now .business-status {
  color: var(--ink-text);
  font-size: clamp(3.2rem, 5.8vw, 6.2rem);
  letter-spacing: 0;
  white-space: nowrap;
}

.business-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1.7rem, 3vw, 2.7rem);
  padding: 2rem clamp(1.5rem, 3.5vw, 4rem);
}

.business-copy h3,
.business-copy h4,
.business-copy p {
  margin: 0;
}

.business-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.25vw, 2.25rem);
  font-weight: 600;
  line-height: 1.42;
}

.business-beta {
  position: relative;
  padding-top: 1.15rem;
}

.business-beta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3.5rem;
  height: 1px;
  background: var(--ink-text);
}

.business-beta p {
  font: 600 0.69rem/1 var(--font-ui);
  letter-spacing: 0.17em;
}

.business-beta h4 {
  margin-top: 0.8rem;
  font: 500 clamp(0.78rem, 1.1vw, 1rem) / 1.45 var(--font-ui);
  letter-spacing: 0.015em;
}

.business-media {
  position: relative;
  min-width: 0;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: #e8e6dc;
}

.business-media::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6%;
  background: linear-gradient(90deg, var(--paper), transparent);
  pointer-events: none;
}

.business-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.business-row--now .business-media img {
  object-position: 54% 50%;
}

.business-row--matcha .business-media img {
  object-position: 48% 50%;
}

.business-row--future::before,
.business-row--future::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 0;
  width: 48%;
  height: 48%;
  opacity: 0.45;
  background-image:
    radial-gradient(circle, rgb(183 154 87 / 0.72) 0 1px, transparent 1.7px),
    radial-gradient(circle, rgb(183 154 87 / 0.45) 0 0.8px, transparent 1.4px);
  background-size: 29px 29px, 47px 47px;
  mask-image: linear-gradient(90deg, transparent, #000 30%, transparent 90%);
  pointer-events: none;
}

.business-row--future::before {
  top: 0;
}

.business-row--future::after {
  bottom: 0;
  transform: scaleY(-1);
}

.roadmap-note {
  margin: 0;
  padding: clamp(3rem, 5vw, 4.5rem) var(--page-gutter) 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.9rem);
  font-weight: 600;
  letter-spacing: 0.07em;
  text-align: center;
}

/* Company */

.company-section {
  padding-top: clamp(5rem, 9vw, 9rem);
}

.company-grid {
  position: relative;
  display: grid;
  grid-template-columns: 62% 38%;
  min-height: clamp(34rem, 42vw, 42rem);
  overflow: hidden;
}

.company-copy {
  position: relative;
  z-index: 3;
  padding: clamp(3.5rem, 7vw, 7rem) var(--page-gutter);
}

.company-copy h2 {
  max-width: 7.4em;
  margin: clamp(3rem, 5vw, 4.5rem) 0 0;
  font-size: clamp(3rem, 5.4vw, 5.7rem);
  line-height: 1.26;
}

.company-message {
  margin: clamp(2rem, 3.5vw, 3.1rem) 0 0;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.45vw, 1.3rem);
  font-weight: 600;
  line-height: 2.1;
  letter-spacing: 0.08em;
  white-space: pre-line;
}

.name-lockup {
  --name-width: clamp(8.2rem, 11vw, 10.2rem);
  width: var(--name-width);
  margin-top: clamp(3rem, 5vw, 5rem);
}

.name-lockup p {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin: 0;
}

.name-lockup__ja {
  justify-content: flex-start !important;
  gap: 1em;
}

.name-lockup__ja {
  color: var(--forest);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.4vw, 2.4rem);
  font-weight: 600;
  line-height: 1;
}

.name-lockup__en {
  margin-top: 1.2rem !important;
  color: var(--ink-text);
  font: 500 clamp(0.68rem, 1.05vw, 0.92rem) / 1 var(--font-ui);
}

.company-portrait {
  position: relative;
  z-index: 2;
  align-self: center;
  min-width: 0;
  max-height: clamp(24rem, 34vw, 32rem);
  margin: 0;
  overflow: hidden;
  background: var(--paper-bright);
}

.company-portrait::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 9%;
  background: var(--ink);
}

.company-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 31% 25%;
}

/* Contact */

.contact-section {
  position: relative;
  z-index: 12;
  min-height: 54svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 87% 45%, rgb(31 91 64 / 0.36), transparent 27%),
    linear-gradient(105deg, #06150e, #0a2117);
  color: var(--paper-bright);
}

.contact-section .content-shell {
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 54svh;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.contact-section h2 {
  max-width: 13em;
  margin: 0;
  font-size: clamp(3rem, 5.9vw, 6.2rem);
  line-height: 1.25;
}

.contact-link {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
  min-width: clamp(17rem, 29vw, 28rem);
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  padding: 0 0 0.7rem;
  border: 0;
  border-bottom: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  font: 500 clamp(0.9rem, 1.35vw, 1.2rem) / 1 var(--font-ja);
  letter-spacing: 0.16em;
  text-align: left;
}

.contact-link svg {
  align-self: flex-end;
  width: 4.5rem;
  height: 1rem;
  overflow: visible;
  transform: translateY(0.25rem);
  transition: transform 260ms ease;
}

.contact-link path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.contact-link:hover svg,
.contact-link:focus-visible svg {
  transform: translate(0.4rem, 0.25rem);
}

.contact-link:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 0.55rem;
}

.prototype-status {
  min-height: 1.5em;
  margin: 1.35rem 0 0;
  color: rgb(246 243 234 / 0.66);
  font: 500 0.68rem/1.5 var(--font-ui);
  letter-spacing: 0.1em;
}

.contact-particles {
  position: absolute;
  z-index: 1;
  top: 0;
  right: -4%;
  width: 54%;
  height: 100%;
  opacity: 0.75;
  background-image:
    radial-gradient(circle, rgb(120 184 142 / 0.8) 0 1.1px, transparent 1.8px),
    radial-gradient(circle, rgb(183 154 87 / 0.88) 0 0.9px, transparent 1.5px),
    radial-gradient(circle, rgb(246 243 234 / 0.58) 0 0.7px, transparent 1.3px);
  background-position: 0 0, 17px 31px, 38px 9px;
  background-size: 43px 43px, 61px 61px, 79px 79px;
  mask-image: radial-gradient(ellipse at 65% 54%, #000, transparent 66%);
  animation: contact-drift 16s ease-in-out infinite alternate;
}

@keyframes scroll-line {
  0% { transform: translateX(0); }
  70%, 100% { transform: translateX(360%); }
}

@keyframes contact-drift {
  from { transform: translate3d(-0.5rem, 0, 0); }
  to { transform: translate3d(0.75rem, -0.55rem, 0); }
}

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

  .menu-toggle {
    display: block;
    justify-self: end;
    padding: 0.35rem 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: 500 0.66rem/1 var(--font-ui);
    letter-spacing: 0.2em;
  }

  .primary-navigation {
    position: fixed;
    z-index: -1;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    min-height: 100svh;
    padding: 7rem var(--page-gutter);
    background: var(--ink);
    color: var(--paper-bright);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-1rem);
    transition:
      opacity 300ms ease,
      visibility 300ms,
      transform 300ms ease;
  }

  .site-header.is-menu-open .primary-navigation {
    z-index: -1;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .primary-navigation a {
    width: max-content;
    font-size: clamp(1.4rem, 5vw, 2.4rem);
  }

  .language-switch {
    justify-self: end;
  }

  .decision-conclusion {
    grid-template-columns: 1fr;
  }

  .decision-conclusion > * {
    min-width: 0;
  }

  .ordered-particles {
    height: 4rem;
  }

  .decision-conclusion p {
    width: 100%;
    max-width: 100%;
    white-space: normal;
  }

  .business-row {
    grid-template-columns: 21% 34% 45%;
  }

  .business-status {
    padding-right: 1rem;
  }

  .business-row--now .business-status {
    font-size: clamp(2.4rem, 6vw, 4.5rem);
  }
}

html[lang="en"] .hero-title {
  font-family: var(--font-ui);
  font-size: clamp(3.2rem, 5.75vw, 5.9rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

html[lang="en"] .philosophy-section h2,
html[lang="en"] .business-section > .content-shell > h2,
html[lang="en"] .company-copy h2,
html[lang="en"] .contact-section h2 {
  font-family: var(--font-ui);
  font-weight: 500;
  letter-spacing: -0.025em;
}

html[lang="en"] .philosophy-section h2 {
  width: 100%;
  max-width: 100%;
  font-size: clamp(2.8rem, 4.65vw, 5.1rem);
  line-height: 1.16;
  white-space: normal;
  text-wrap: balance;
}

html[lang="en"] .company-message,
html[lang="en"] .decision-conclusion p,
html[lang="en"] .business-copy h3,
html[lang="en"] .roadmap-note {
  font-family: var(--font-ui);
}

@media (max-width: 720px) {
  :root {
    --page-gutter: 1.35rem;
    --header-gutter: 1.35rem;
  }

  .language-gate__wordmark {
    font-size: clamp(2.75rem, 15vw, 4.8rem);
  }

  .language-gate__choices {
    flex-direction: column;
    gap: 2.6rem;
    margin-top: 6rem;
  }

  .language-gate__choices button {
    min-width: 9rem;
  }

  .site-header {
    top: 1.5rem;
    grid-template-columns: 1fr auto auto;
    gap: 1.1rem;
  }

  .wordmark {
    font-size: 0.85rem;
  }

  .language-switch {
    font-size: 0.58rem;
  }

  .hero-scroll {
    height: 245svh;
  }

  .hero-sticky {
    min-height: 33rem;
  }

  .hero-copy {
    top: 31%;
    width: calc(100vw - var(--page-gutter) * 2);
  }

  .hero-title {
    font-size: clamp(2.6rem, 13.2vw, 4.15rem);
    line-height: 1.3;
    letter-spacing: 0.01em;
  }

  html[lang="en"] .hero-title {
    font-size: clamp(1.62rem, 8.4vw, 3.25rem);
    line-height: 1.22;
  }

  .hero-title span {
    white-space: nowrap;
  }

  .hero-subtitle {
    max-width: 27em;
    margin-top: 1.5rem;
    font-size: 0.53rem;
    line-height: 1.75;
    letter-spacing: 0.23em;
  }

  .scroll-cue {
    bottom: 2.1rem;
  }

  .content-shell {
    padding-top: 6.5rem;
    padding-bottom: 6.5rem;
  }

  .philosophy-section h2 {
    margin-top: 2.8rem;
    font-size: clamp(2.25rem, 9.4vw, 3.5rem);
    line-height: 1.35;
    white-space: normal;
  }

  html[lang="en"] .philosophy-section h2 {
    font-size: clamp(2.1rem, 8.8vw, 3rem);
    line-height: 1.22;
  }

  .philosophy-section h2 .display-line,
  .company-copy h2 .display-line {
    display: block;
  }

  .philosophy-lead {
    font-size: 0.98rem;
  }

  .decision-rail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 4.5rem;
    padding-left: 2rem;
  }

  .decision-rail::before {
    top: 0;
    bottom: 0;
    left: 0.28rem;
    width: 1px;
    height: auto;
  }

  .decision-rail::after {
    top: auto;
    right: auto;
    bottom: 0;
    left: 0;
    transform: rotate(135deg);
  }

  .decision-rail li {
    display: grid;
    grid-template-columns: 4.2rem 1fr;
    align-items: center;
    gap: 1rem;
    min-height: 6.25rem;
    padding: 1rem 0;
  }

  .decision-rail li::after {
    top: 50%;
    left: calc(-2rem + 0.01rem);
    transform: translateY(-50%);
  }

  .decision-number {
    font-size: 1.8rem;
  }

  .decision-conclusion {
    margin-top: 3.5rem;
  }

  .decision-conclusion p {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .business-section > .content-shell > h2 {
    max-width: 6em;
    font-size: clamp(3rem, 13vw, 4.4rem);
  }

  .business-rails {
    margin-top: 3rem;
  }

  .business-row {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .business-status {
    min-height: 5rem;
    padding: 1.5rem var(--page-gutter);
    border-right: 0;
    border-bottom: 1px solid var(--hairline);
    font-size: 0.82rem;
  }

  .business-row--now .business-status {
    min-height: 7rem;
    font-size: 3.4rem;
  }

  .business-copy {
    min-height: 11rem;
    padding: 2rem var(--page-gutter);
  }

  .business-copy h3 {
    font-size: clamp(1.45rem, 7vw, 2.05rem);
  }

  .business-media {
    min-height: 13rem;
  }

  .business-media::after {
    inset: 0 0 auto;
    width: 100%;
    height: 7%;
    background: linear-gradient(180deg, var(--paper), transparent);
  }

  .business-row--future::before,
  .business-row--future::after {
    width: 100%;
  }

  .roadmap-note {
    padding-top: 3.5rem;
    font-size: 1.12rem;
    line-height: 1.8;
  }

  .company-section {
    padding-top: 3rem;
  }

  .company-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .company-copy {
    padding-top: 5rem;
    padding-bottom: 4rem;
  }

  .company-copy h2 {
    font-size: clamp(2.65rem, 10.8vw, 3.9rem);
  }

  .company-message {
    font-size: 0.96rem;
    line-height: 2;
  }

  .name-lockup {
    --name-width: 8.2rem;
  }

  .company-portrait {
    min-height: 20rem;
    max-height: 58vh;
  }

  .company-portrait::after {
    top: auto;
    width: 100%;
    height: 4.5%;
  }

  .company-portrait img {
    object-position: 31% 22%;
  }

  .contact-section,
  .contact-section .content-shell {
    min-height: 70svh;
  }

  .contact-section h2 {
    max-width: 8em;
    font-size: clamp(2.8rem, 12vw, 4.15rem);
  }

  .contact-link {
    width: 100%;
    min-width: 0;
  }

  .contact-particles {
    right: -45%;
    width: 125%;
  }
}

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

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

  .hero-scroll {
    height: 110svh;
  }

  .hero-title__fill [data-i18n="hero.line1"],
  .hero-title__fill [data-i18n="hero.line2"] {
    clip-path: inset(0 0 0 0);
  }

  .hero-copy {
    opacity: 1;
    transform: none;
  }
}


a.contact-link { text-decoration: none; }
.contact-address {
  margin-top: 0.9rem;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.business-beta .business-beta-note {
  margin-top: 0.55rem;
  font-family: var(--font-ja);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1.7;
  color: var(--muted);
}

/* ==== terminal punctuation reveal (v9 FV) ==== */
.hero-title .hero-line2 span {
  display: inline;
}
.hero-title .hero-terminal {
  display: inline-block;
  opacity: var(--terminal-reveal, 1);
  transform: scale(calc(0.72 + var(--terminal-reveal, 1) * 0.28));
  transform-origin: 50% 62%;
  text-shadow:
    0 0 calc(var(--terminal-glow, 0) * 1.1rem) rgb(183 154 87 / calc(var(--terminal-glow, 0) * 0.9)),
    0 0 calc(var(--terminal-glow, 0) * 2.6rem) rgb(120 184 142 / calc(var(--terminal-glow, 0) * 0.5));
  will-change: opacity, transform;
}

.language-gate__audit {
  margin-top: 2.6rem;
  justify-self: center;
  font-family: var(--font-ui);
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgb(183 154 87 / 0.45);
  padding-bottom: 0.25rem;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.language-gate__audit:hover,
.language-gate__audit:focus-visible {
  color: var(--paper-bright);
  border-color: var(--paper-bright);
}



/* ==== UI統一候補（2026-08-15）==== */

/* サービス導線 */
.service-link {
  display: inline-block;
  margin-top: 1.1rem;
  color: var(--ink-text);
  font: 500 0.64rem / 1 var(--font-ui);
  letter-spacing: 0.2em;
  text-decoration: none;
  border-bottom: 1px solid rgb(9 20 14 / 0.28);
  padding-bottom: 0.3rem;
  transition: color 200ms ease, border-color 200ms ease;
}

.service-link:hover,
.service-link:focus-visible {
  color: var(--gold);
  border-color: var(--gold);
}

/* 補助説明（旧h3から降格したもの） */
.business-sub {
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-family: var(--font-ja);
  font-size: 0.82rem;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

/* βラベル直下の説明 */
.business-beta .business-beta-note {
  margin-top: 0.55rem;
  color: var(--muted);
  font-family: var(--font-ja);
  font-size: 0.8rem;
  line-height: 1.7;
  letter-spacing: 0.02em;
  text-transform: none;
}

a.contact-link {
  text-decoration: none;
}

.contact-address {
  margin-top: 0.9rem;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

