:root {
  --black: #050607;
  --ink: #101317;
  --white: #ffffff;
  --muted: #a7adb6;
  --line: rgba(255, 255, 255, .14);
  --silver: #cfd5dd;
  --accent: #87a8ff;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "Inter", "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.8;
  background: #f5f6f7;
}
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity .8s ease,
    transform .8s cubic-bezier(.2, .8, .2, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  padding: 0 clamp(18px, 4vw, 48px);
  color: var(--white);
  background: rgba(5, 6, 7, .72);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}
.brand img {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 50%;
}
.global-nav {
  display: flex;
  gap: 28px;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.global-nav a { color: rgba(255,255,255,.78); }
.global-nav a:hover { color: var(--white); }
.nav-toggle { display: none; }

.section {
  padding: 110px clamp(20px, 5vw, 72px);
}
.section > * {
  max-width: var(--max);
  margin-inline: auto;
}
.section-dark {
  color: var(--white);
  background:
    radial-gradient(circle at 82% 14%, rgba(135,168,255,.22), transparent 28%),
    linear-gradient(145deg, #030405 0%, #11151b 52%, #050607 100%);
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 24px;
  font-size: clamp(46px, 8vw, 92px);
  line-height: 1.02;
  letter-spacing: .02em;
}
h2 {
  margin-bottom: 24px;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.12;
}
h3 {
  font-size: 24px;
  line-height: 1.35;
}
.lead {
  max-width: 660px;
  color: rgba(255,255,255,.78);
  font-size: clamp(16px, 2vw, 20px);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 130px clamp(20px, 5vw, 72px) 40px;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  width: 100%;
  margin-inline: auto;
}
.hero-art {
  position: absolute;
  inset: 74px 0 0;
  opacity: .95;
}
.abstract-art {
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(255,255,255,.08), transparent 40%),
    radial-gradient(circle at 72% 34%, rgba(255,255,255,.24), transparent 12%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 56px),
    #090b0f;
}
.abstract-art::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.23) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: .18;
}
.huge-c {
  position: absolute;
  right: clamp(-70px, 4vw, 80px);
  top: 44%;
  transform: translateY(-50%);
  color: rgba(255,255,255,.09);
  font-size: clamp(300px, 52vw, 760px);
  font-weight: 900;
  line-height: 1;
}
.hero-art svg {
  position: absolute;
  right: 0;
  bottom: 6%;
  width: min(72vw, 920px);
  fill: none;
  stroke: rgba(207,213,221,.5);
  stroke-width: 1.5;
}
.hero-art circle { fill: var(--silver); stroke: none; }
.hero-art path {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: drawLine 2.2s ease .35s forwards;
}
.hero-art circle {
  opacity: 0;
  transform-origin: center;
  animation: revealNode .7s ease .9s forwards;
}
.hero-art circle:nth-of-type(2) { animation-delay: 1.1s; }
.hero-art circle:nth-of-type(3) { animation-delay: 1.3s; }
.hero-art circle:nth-of-type(4) { animation-delay: 1.5s; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .06em;
  cursor: pointer;
}
.button-primary {
  color: #050607;
  background: linear-gradient(135deg, #fff, #b9c1cc);
}
.button-ghost {
  color: var(--white);
  border-color: rgba(255,255,255,.3);
  background: rgba(255,255,255,.04);
}
.button {
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.button:hover {
  transform: translateY(-2px);
}
.about {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5,6,7,.045) 0 1px, transparent 1px 100%),
    linear-gradient(0deg, rgba(5,6,7,.045) 0 1px, transparent 1px 100%),
    #f5f6f7;
  background-size: 56px 56px;
}
.about-layout {
  position: relative;
  max-width: 920px;
  padding-left: clamp(20px, 4vw, 44px);
  border-left: 1px solid rgba(5,6,7,.16);
}
.about-layout::before {
  content: "C";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(5,6,7,.035);
  font-size: clamp(180px, 28vw, 360px);
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}
.about-copy p:not(.eyebrow) {
  color: #4d535c;
  font-size: 17px;
  max-width: 760px;
}
.about-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.about-points span {
  padding: 9px 14px;
  border: 1px solid rgba(5,6,7,.12);
  border-radius: 999px;
  color: #262b32;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  background: rgba(255,255,255,.62);
}
.section-heading {
  margin-bottom: 44px;
}
.section-heading p:not(.eyebrow) {
  color: rgba(255,255,255,.68);
  max-width: 660px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-card {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  padding: 18px 18px 30px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.045);
  transition: transform .35s ease, border-color .35s ease, background .35s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.07);
}
.service-card p {
  color: rgba(255,255,255,.68);
}
.service-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 42px;
  margin-top: auto;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  background: rgba(255,255,255,.08);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.service-link::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 10px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.service-link:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.48);
  background: rgba(255,255,255,.14);
}
.service-media {
  margin: 0 0 26px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}
.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.9) contrast(1.04);
  transition: transform .55s ease, filter .55s ease;
}
.service-card:hover .service-media img {
  transform: scale(1.045);
  filter: saturate(1) contrast(1.08);
}
.service-no {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--silver);
  font-weight: 800;
}
.ceo {
  background:
    linear-gradient(90deg, rgba(5,6,7,.045) 0 1px, transparent 1px 100%),
    #f5f6f7;
  background-size: 56px 56px;
}
.ceo-copy {
  max-width: 900px;
}
.ceo-copy p:not(.eyebrow) {
  color: #4d535c;
}
.signature {
  margin-top: 30px;
  color: #111 !important;
  font-weight: 800;
  letter-spacing: .08em;
}

.company-list {
  border-top: 1px solid rgba(0,0,0,.12);
}
.company-list div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(0,0,0,.12);
}
.company-list dt {
  color: #6d737c;
  font-weight: 700;
}
.company-list dd {
  margin: 0;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
}
.form-status {
  max-width: var(--max);
  margin: 0 auto 18px;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  font-weight: 700;
}
.form-status-thanks {
  color: #e9fff1;
  background: rgba(53, 170, 105, .18);
}
.form-status-error {
  color: #fff0f0;
  background: rgba(210, 72, 72, .2);
}
.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255,255,255,.76);
  font-size: 13px;
  font-weight: 700;
}
.form-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.required,
.optional {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  font-size: 10px;
  font-style: normal;
  line-height: 1;
  letter-spacing: .08em;
}
.required {
  color: #050607;
  background: var(--silver);
}
.optional {
  color: rgba(255,255,255,.68);
  border: 1px solid rgba(255,255,255,.22);
}
.contact-form .full { grid-column: 1 / -1; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  padding: 14px 15px;
  color: var(--white);
  font: inherit;
  background: rgba(0,0,0,.28);
}
.contact-form textarea { resize: vertical; }
.privacy {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
}
.privacy input { width: 18px; height: 18px; }
.privacy a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.honeypot {
  position: absolute;
  left: -9999px;
}
.page-hero {
  padding: 150px clamp(20px, 5vw, 72px) 72px;
}
.page-hero > div {
  max-width: var(--max);
  margin-inline: auto;
}
.page-hero h1 {
  margin-bottom: 0;
  font-size: clamp(38px, 7vw, 72px);
}
.policy {
  background: #f5f6f7;
}
.policy-body {
  max-width: 880px;
  color: #414852;
}
.policy-body h2 {
  margin: 48px 0 14px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.45;
}
.policy-body h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 18px;
}
.policy-body ul {
  padding-left: 1.3em;
}
.policy-body li + li {
  margin-top: 8px;
}
.policy-contact {
  margin: 28px 0 10px;
  padding: 22px;
  border: 1px solid rgba(0,0,0,.1);
  background: #fff;
}
.policy-contact a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.policy-date {
  margin-top: 48px;
  color: var(--ink);
  font-weight: 800;
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 34px clamp(20px, 5vw, 72px);
  color: rgba(255,255,255,.72);
  background: #030405;
}
.site-footer small { font-size: 12px; }
.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

@keyframes revealNode {
  0% { opacity: 0; transform: scale(.88); }
  70% { opacity: 1; transform: scale(1.08); }
  100% { opacity: .72; transform: scale(1); }
}

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

@media (max-width: 860px) {
  .nav-toggle {
    display: grid;
    gap: 7px;
    border: 0;
    background: transparent;
    padding: 10px;
  }
  .nav-toggle span {
    display: block;
    width: 28px;
    height: 1px;
    background: var(--white);
  }
  .global-nav {
    position: fixed;
    inset: 74px 0 auto;
    display: none;
    flex-direction: column;
    padding: 24px;
    background: rgba(5,6,7,.96);
  }
  .global-nav.is-open { display: flex; }
  .section,
  .hero { padding-inline: 20px; }
  .about-layout,
  .service-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }
  .about-layout {
    padding-left: 20px;
  }
  .hero-art svg { width: 110vw; }
  .huge-c { right: -120px; }
  .company-list div { grid-template-columns: 1fr; gap: 4px; }
  .site-footer { flex-direction: column; align-items: flex-start; }
}
