:root {
  --brand: #162241;
  --brand-soft: #1f3164;
  --brand-glow: rgba(63, 103, 216, 0.18);

  /* dark theme tokens (default) */
  --bg: #000000;
  --bg-elevated: #07080d;
  --surface: rgba(255, 255, 255, 0.02);
  --surface-strong: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #ffffff;
  --text-muted: #a1a1aa;
  --text-subtle: #71717a;
  --cta-bg: #ffffff;
  --cta-fg: #000000;
  --input-bg: rgba(255, 255, 255, 0.03);
  --input-border: rgba(255, 255, 255, 0.12);
  --input-focus: rgba(255, 255, 255, 0.5);
  --grid-line: rgba(255, 255, 255, 0.06);
  --grid-line-strong: rgba(255, 255, 255, 0.12);
  --grid-line-accent: rgba(120, 165, 255, 0.18);
  --orb-color-1: rgba(63, 103, 216, 0.45);
  --orb-color-2: rgba(22, 34, 65, 0.55);
  --ring-opacity: 0.06;

  --signal-blue: rgba(91, 128, 232, 0.6);
  --signal-violet: rgba(160, 112, 216, 0.45);
  --signal-cyan: rgba(80, 184, 232, 0.5);
  --signal-pulse: rgba(120, 165, 255, 0.85);
  --grid-3d-line: rgba(99, 132, 220, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Geist", "Noto Sans JP", Inter, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-feature-settings: "ss01", "cv11";
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
}

/* ===== Background effects ===== */
.bg-effects {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

/* ===== Background pattern (single P1 design) =====
 * Layers (back to front):
 *   bg-grid       — subtle dot grid base
 *   bg-3d-floor   — tilted perspective floor with diagonal scroll
 *   bg-wave-line  — N independent procedural ocean waves (gradient stroke)
 *   bg-axis       — central cyan reference baseline + node markers
 *   bg-particles  — floating colored dust particles
 *   bg-scanlines  — fine horizontal CRT-style scan lines
 *
 * The wave / axis / particles / scanlines / 3d-floor elements are injected
 * by app.js into the .bg-effects container.
 */

.bg-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    var(--grid-line) 1px,
    transparent 1.5px
  );
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 0%, transparent 80%);
}

/* Ocean-style wave lines: long-wavelength sine + close-frequency harmonic
 * (natural beating) + slow envelope. Generated procedurally in app.js with
 * gradient stroke for color flow along each strand.
 *
 * All lines share a 1600px tile width and 240px tile height. Two keyframes
 * handle seamless drift in either direction.
 */
.bg-wave-line {
  position: absolute;
  left: -15%;
  right: -15%;
  top: 50%;
  height: 240px;
  margin-top: -120px;
  pointer-events: none;
  background-repeat: repeat-x;
  background-position-y: center;
  background-size: 1600px 240px;
  mask-image: linear-gradient(to right, transparent 2%, #000 14%, #000 86%, transparent 98%);
  -webkit-mask-image: linear-gradient(to right, transparent 2%, #000 14%, #000 86%, transparent 98%);
  will-change: background-position-x;
}

@keyframes drift-normal {
  from { background-position-x: 0; }
  to { background-position-x: -1600px; }
}

@keyframes drift-reverse {
  from { background-position-x: 0; }
  to { background-position-x: 1600px; }
}

/* Cyan reference axis baseline */
.bg-axis {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  margin-top: 0;
  height: 2px;
  pointer-events: none;
  z-index: 2;
}

.bg-axis__line {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    transparent 2%,
    rgba(77, 214, 196, 0.65) 12%,
    rgba(77, 214, 196, 0.95) 50%,
    rgba(77, 214, 196, 0.65) 88%,
    transparent 98%
  );
  filter: drop-shadow(0 0 6px rgba(77, 214, 196, 0.7));
}

.bg-axis__nodes {
  position: absolute;
  top: -5px;
  left: 0;
  right: 0;
  height: 12px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 12'><rect x='1' y='2' width='8' height='8' fill='none' stroke='%234dd6c4' stroke-opacity='0.55' stroke-width='1'/></svg>");
  background-repeat: repeat-x;
  background-size: 90px 12px;
  mask-image: linear-gradient(to right, transparent 5%, #000 18%, #000 82%, transparent 95%);
  -webkit-mask-image: linear-gradient(to right, transparent 5%, #000 18%, #000 82%, transparent 95%);
}

/* Floating particles (audio-spectrum dust) */
.bg-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bg-particle {
  position: absolute;
  border-radius: 999px;
  opacity: 0;
  animation: particle-fade 7s ease-in-out infinite;
}

.bg-particle--cream { background: #f4e2b0; box-shadow: 0 0 6px rgba(244, 226, 176, 0.7); }
.bg-particle--red { background: #e85d4d; box-shadow: 0 0 6px rgba(232, 93, 77, 0.7); }
.bg-particle--green { background: #5fb8a8; box-shadow: 0 0 6px rgba(95, 184, 168, 0.6); }
.bg-particle--white { background: #f5f5f5; box-shadow: 0 0 5px rgba(245, 245, 245, 0.7); }

@keyframes particle-fade {
  0%, 100% { opacity: 0; transform: scale(0.6); }
  30% { opacity: 1; transform: scale(1); }
  70% { opacity: 0.4; transform: scale(1.2); }
}

/* Subtle horizontal CRT-style scan lines */
.bg-scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 3px,
    rgba(255, 255, 255, 0.018) 3px,
    rgba(255, 255, 255, 0.018) 4px
  );
  mix-blend-mode: screen;
}

/* 3D perspective floor grid (XYZ feel, diagonal scroll) */
.bg-3d-floor {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80vh;
  pointer-events: none;
  perspective: 480px;
  perspective-origin: 50% 0%;
  mask-image: linear-gradient(to top, #000 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, #000 55%, transparent 100%);
  overflow: hidden;
}

.bg-3d-floor__plane {
  position: absolute;
  left: -60%;
  right: -60%;
  top: 0;
  bottom: -300px;
  transform: rotateX(74deg) rotateZ(-6deg);
  transform-origin: 50% 0%;
  background-image:
    linear-gradient(var(--grid-3d-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-3d-line) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: 0 0, 0 0;
  animation: gridFlow 10s linear infinite;
  will-change: background-position;
}

@keyframes gridFlow {
  to { background-position: 72px 72px, 72px 72px; }
}

/* Legacy .bg-pulses block kept hidden — replaced by .bg-particles for P1 */
.bg-pulses {
  display: none !important;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.7;
}

.bg-orb--1 {
  top: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: var(--orb-color-1);
}

.bg-orb--2 {
  top: 400px;
  left: -200px;
  width: 500px;
  height: 500px;
  background: var(--orb-color-2);
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

p {
  margin: 0;
}

/* ===== Text legibility on vibrant background =====
 * The animated wave background can compete with body text. Soft dark
 * shadows give the text just enough separation while preserving the
 * full saturation of the background colors. */
.hero__title,
.subhero__title,
.section__title,
.statement,
.feature__title,
.solution-detail__body h3,
.industry-detail__body h3,
.final-cta__title,
.industry__title {
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65),
               0 1px 3px rgba(0, 0, 0, 0.5);
}

.hero__lead,
.subhero__lead,
.section__lead,
.section__lead--compact,
.feature__body,
.solution-detail__lead,
.solution-detail__detail,
.industry-detail__sub,
.industry-detail__body p:last-child,
.industry__sub,
.statement__sub,
.final-cta__body,
.eyebrow,
.strip__label,
.strip__row,
.profile__row dt,
.profile__row dd {
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7),
               0 0 12px rgba(0, 0, 0, 0.4);
}

.nav__links a {
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin: 0;
  font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Preserve brand casing (nOrl) inside eyebrow labels. */
.hero .eyebrow {
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.82rem;
}

.eyebrow .num {
  color: var(--text-subtle);
  font-weight: 500;
}

.eyebrow.center {
  display: block;
  text-align: center;
}

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease,
    backdrop-filter 0.2s ease;
}

.nav.is-scrolled {
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(1200px, 100% - 2.5rem);
  margin: 0 auto;
  padding: 0.85rem 0;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
}

.nav__brand img {
  height: 22px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-left: auto;
  margin-right: auto;
}

.nav__links a {
  position: relative;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
  padding: 0.3rem 0;
  transition: color 0.15s ease;
}

.nav__links a:hover {
  color: var(--text);
}

.nav__links a.is-active {
  color: var(--text);
}

.nav__links a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--text);
  border-radius: 999px;
}

.nav__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

/* ===== Segmented switch ===== */
.seg-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  gap: 2px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
}

.seg-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font: inherit;
  font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.seg-btn:hover {
  color: var(--text);
}

.seg-btn.is-active {
  background: var(--surface-strong);
  color: var(--text);
}

.seg-btn svg {
  display: block;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.7rem 1.05rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease,
    color 0.15s ease, transform 0.15s ease;
}

.btn--sm {
  padding: 0.42rem 0.8rem;
  font-size: 0.82rem;
}

.btn--primary {
  background: var(--cta-bg);
  color: var(--cta-fg);
  border-color: var(--cta-bg);
}

.btn--primary:hover {
  background: color-mix(in srgb, var(--cta-bg) 88%, transparent);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn--ghost:hover {
  background: var(--surface-strong);
}

button.btn {
  font-family: inherit;
}

button.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  width: min(1200px, 100% - 2.5rem);
  margin: 0 auto;
  padding: clamp(4rem, 12vw, 9rem) 0 clamp(3rem, 8vw, 6rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero__title {
  margin: 0.9rem 0 1.4rem;
  font-size: clamp(2.4rem, 6.5vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.hero__lead {
  max-width: 580px;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.8rem;
}

.hero__actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero__visual {
  position: absolute;
  top: 50%;
  right: -6%;
  transform: translateY(-50%);
  width: clamp(360px, 46vw, 640px);
  height: auto;
  aspect-ratio: 1 / 1;
  color: var(--text);
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
}

.hero__visual .rings {
  animation: ringPulse 7s ease-in-out infinite;
  transform-origin: center;
}

.hero__visual .brand-mark {
  animation: brandFloat 9s ease-in-out infinite;
  transform-origin: center;
}

.hero__visual .dots {
  animation: dotsFlicker 4.5s ease-in-out infinite;
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.04); opacity: 0.85; }
}

@keyframes brandFloat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(0.96); }
}

@keyframes dotsFlicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.65; }
}

/* ===== Sub-page hero (smaller than home hero) ===== */
.subhero {
  position: relative;
  width: min(1200px, 100% - 2.5rem);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.subhero__title {
  font-size: clamp(2rem, 5.2vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0.6rem 0 0;
}

.subhero__lead {
  max-width: 720px;
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0.4rem 0 0;
}

/* ===== Home teaser cards (link to sub-pages) ===== */
.teasers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.teaser {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 2rem 1.75rem 1.75rem;
  background: var(--bg);
  color: inherit;
  text-decoration: none;
  min-height: 240px;
  transition: background-color 0.18s ease;
}

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

.teaser__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.teaser__title {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0.25rem 0 0;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.teaser__body {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  flex: 1;
}

.teaser__cta {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin-top: 0.4rem;
}

.teaser__cta::after {
  content: "→";
  transition: transform 0.18s ease;
}

.teaser:hover .teaser__cta::after {
  transform: translateX(3px);
}

.teaser__line {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--text);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.teaser:hover .teaser__line {
  width: 100%;
}

/* ===== Final CTA section ===== */
.final-cta {
  text-align: center;
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.final-cta__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin: 0;
}

.final-cta__body {
  margin: 1rem auto 1.6rem;
  max-width: 580px;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

/* ===== Solution detail blocks (solutions page) ===== */
.solution-detail {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}

.solution-detail:first-of-type {
  border-top: 1px solid var(--border);
}

.solution-detail__head {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.solution-detail__num {
  color: var(--text-subtle);
}

.solution-detail__body h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}

.solution-detail__lead {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.65;
  margin: 0 0 0.85rem;
}

.solution-detail__detail {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ===== Industry detail (industries page) ===== */
.industry-detail {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}

.industry-detail:first-of-type {
  border-top: 1px solid var(--border);
}

.industry-detail__head {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.industry-detail__num {
  color: var(--text-subtle);
}

.industry-detail__body h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.4rem;
}

.industry-detail__sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 0 0.7rem;
}

.industry-detail__body p:last-child {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ===== Footer sitemap (multi-page) ===== */
.footer__cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  width: 100%;
}

.footer__col-title {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin: 0 0 0.85rem;
}

.footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer__col a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color 0.15s ease;
}

.footer__col a:hover {
  color: var(--text);
}

@media (max-width: 760px) {
  .teasers {
    grid-template-columns: 1fr;
  }

  .solution-detail,
  .industry-detail {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .footer__cols {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ===== Strip ===== */
.strip {
  width: min(1200px, 100% - 2.5rem);
  margin: 0 auto;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.2rem;
}

.strip__label {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-right: 0.5rem;
}

.strip__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.9rem;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.strip__row .dot {
  width: 3px;
  height: 3px;
  background: var(--text-subtle);
  border-radius: 999px;
  display: inline-block;
}

/* ===== Section ===== */
.section {
  width: min(1200px, 100% - 2.5rem);
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) 0;
  position: relative;
}

.section__head {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 2.5rem;
  max-width: 760px;
}

.section__title {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.section__lead {
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 720px;
}

.section__lead--compact {
  font-size: 1rem;
  color: var(--text-muted);
}

/* ===== Grid (features) ===== */
.grid {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

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

.feature {
  position: relative;
  background: var(--bg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 260px;
  transition: background-color 0.18s ease;
}

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

.feature__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.feature__num {
  color: var(--text-subtle);
}

.feature__tag {
  color: var(--text-muted);
}

.feature__title {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0.25rem 0 0;
  line-height: 1.25;
}

.feature__body {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.feature__line {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--text);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature:hover .feature__line {
  width: 100%;
}

/* ===== Industries ===== */
.industries {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
}

.industry {
  display: grid;
  grid-template-columns: 80px 1fr 2fr;
  align-items: center;
  gap: 1.5rem;
  padding: 1.6rem 0.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
  transition: padding 0.2s ease, color 0.2s ease;
}

.industry:hover {
  padding-left: 1.25rem;
}

.industry__num {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--text-subtle);
}

.industry__title {
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.industry__sub {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== Statement (quality) ===== */
.section--statement {
  text-align: center;
  padding: clamp(5rem, 12vw, 9rem) 0;
}

.statement {
  margin: 1rem 0 0.75rem;
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.25;
  color: var(--text);
}

.statement__sub {
  margin: 1rem auto 0;
  max-width: 640px;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* ===== Profile ===== */
.profile {
  margin: 0;
  border-top: 1px solid var(--border);
}

.profile__row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.5rem;
  padding: 1.4rem 0.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.98rem;
}

.profile__row dt {
  color: var(--text-muted);
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  align-self: center;
}

.profile__row dd {
  margin: 0;
  color: var(--text);
}

/* ===== Contact form ===== */
.contact-form {
  display: grid;
  gap: 1rem;
  max-width: 760px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field span {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--input-border);
  background: var(--input-bg);
  color: var(--text);
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-subtle);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--input-focus);
  background: var(--surface-strong);
}

.field textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}

.form-status {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.form-status.is-error {
  color: #ff8e8e;
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--border);
  margin-top: 4rem;
  padding: 3rem 0;
}

.footer__inner {
  width: min(1200px, 100% - 2.5rem);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer__brand img {
  height: 22px;
  width: auto;
}

.footer__tagline {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  text-transform: none;
}

.footer__tagline-mark {
  color: rgba(77, 214, 196, 0.95);
  text-shadow: 0 0 8px rgba(77, 214, 196, 0.55);
}

/* Same accent treatment for the brand-decoded line on /about/ */
.brand-letter {
  color: rgba(77, 214, 196, 0.95);
  text-shadow: 0 0 8px rgba(77, 214, 196, 0.55);
}

.footer__meta {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer__addr {
  color: var(--text-subtle);
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .grid--3 {
    grid-template-columns: 1fr;
  }

  .industry {
    grid-template-columns: 64px 1fr;
    grid-row-gap: 0.4rem;
  }

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

  .profile__row {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .hero__visual {
    right: -22%;
    top: auto;
    bottom: -8%;
    transform: none;
    width: 380px;
    opacity: 0.4;
  }
}

@media (max-width: 760px) {
  .nav__inner {
    width: min(1200px, 100% - 1.5rem);
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .nav__links {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .nav__actions {
    margin-left: auto;
  }

  .nav__cta {
    display: none;
  }

  .hero {
    width: min(1200px, 100% - 1.5rem);
    padding-top: 3rem;
  }

  .hero__title {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .hero__visual {
    display: none;
  }

  .strip,
  .section,
  .footer__inner {
    width: min(1200px, 100% - 1.5rem);
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    flex-direction: column;
  }

  .footer__meta {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .bg-wave-line,
  .bg-3d-floor__plane,
  .bg-particle,
  .hero__visual .rings,
  .hero__visual .brand-mark,
  .hero__visual .dots {
    animation: none !important;
  }
}
