:root {
  --ink: #2b2b2b;
  --muted: #6f6f6f;
  --soft: #eeeeee;
  --paper: #f7f7f7;
  --panel: #fbfbfb;
  --line: #d7d7d7;
  --accent: #3a3a3a;
  --max: 1180px;
}

@font-face {
  font-family: "Noto Sans";
  src: url("DesignService/fonts/NotoSans-Regular.woff2") format("woff2"),
    url("DesignService/fonts/NotoSans-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans";
  src: url("DesignService/fonts/NotoSans-Medium.woff2") format("woff2"),
    url("DesignService/fonts/NotoSans-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans";
  src: url("DesignService/fonts/NotoSans-SemiBold.woff2") format("woff2"),
    url("DesignService/fonts/NotoSans-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans";
  src: url("DesignService/fonts/NotoSans-Bold.woff2") format("woff2"),
    url("DesignService/fonts/NotoSans-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 26px clamp(20px, 4vw, 56px);
  background: rgba(247, 247, 247, 0.9);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: border-color 180ms ease, padding 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  padding-top: 18px;
  padding-bottom: 18px;
  border-bottom-color: var(--line);
}

.home-page .site-header {
  opacity: 0;
  transform: translateY(-100%);
}

.home-page .site-header.is-scrolled,
.home-page .site-header.is-open {
  opacity: 1;
  transform: translateY(0);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(150px, 17vw, 220px);
  height: 28px;
}

.brand img {
  width: 100%;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
}

.site-nav a {
  opacity: 0.72;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-cta {
  padding: 9px 15px;
  border: 1px solid rgba(43, 45, 44, 0.55);
  border-radius: 999px;
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(43, 45, 44, 0.55);
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 17px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  min-height: 86vh;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(300px, 0.52fr);
  gap: clamp(42px, 8vw, 112px);
  align-items: center;
  align-content: center;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 128px 0 82px;
}

.hero-center {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 100vh;
  min-height: 100svh;
  grid-template-columns: 1fr;
  justify-items: center;
  align-content: center;
  gap: clamp(54px, 7vh, 84px);
  padding: 0 clamp(20px, 4vw, 56px);
  background: #fff;
  overflow: hidden;
}

.hero-center::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--line);
  content: "";
}

.hero-text {
  min-width: 0;
}

.hero-kicker,
.section-index {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.hero-kicker {
  margin-bottom: 34px;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 650;
  line-height: 1.06;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(38px, 5.2vw, 72px);
  font-weight: 620;
}

h2 {
  max-width: 780px;
  font-size: clamp(27px, 3.2vw, 46px);
  font-weight: 620;
}

h3 {
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 620;
}

.hero-copy {
  max-width: 700px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 19px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-logo-system {
  position: relative;
  display: grid;
  place-items: center;
  z-index: 2;
  width: min(760px, calc(100vw - 48px));
  min-height: clamp(260px, 36vh, 420px);
  isolation: isolate;
}

.hero-logo-system::before {
  position: absolute;
  z-index: 2;
  width: min(720px, 62vw);
  height: clamp(230px, 32vh, 380px);
  background: radial-gradient(
    ellipse at center,
    #fff 0%,
    #fff 58%,
    rgba(255, 255, 255, 0.94) 70%,
    rgba(255, 255, 255, 0.68) 82%,
    rgba(255, 255, 255, 0) 100%
  );
  content: "";
}

.hero-logo-mark {
  position: relative;
  z-index: 4;
  width: clamp(220px, 25vw, 430px);
  max-width: 100%;
  opacity: 0.88;
  filter: grayscale(1) contrast(1.04);
  animation: logo-soft-focus 5.6s ease-in-out infinite;
}

.parametric-squares {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.parametric-squares span {
  position: absolute;
  top: var(--top);
  left: var(--left);
  width: var(--s);
  height: var(--s);
  border: 0;
  background: var(--shade, rgb(120 120 120));
  opacity: var(--o, 1);
  transform: translate(-50%, -50%) rotate(var(--r));
  animation: parametric-square 10.8s cubic-bezier(0.45, 0, 0.2, 1) infinite;
  animation-delay: calc(var(--d) * -1);
  will-change: opacity, transform;
}

.parametric-squares span:nth-child(3n) {
  background: var(--shade, rgb(120 120 120));
}

.parametric-squares span:nth-child(2n) {
  animation-duration: 12.4s;
}

.parametric-squares span:nth-child(4n) {
  animation-duration: 9.6s;
}

.parametric-axis {
  position: absolute;
  inset: 0 28px;
  z-index: 1;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(43, 43, 43, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 43, 43, 0.026) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.95), transparent 72%);
  animation: parametric-grid 18s linear infinite;
}

.parametric-axis::before,
.parametric-axis::after {
  position: absolute;
  content: "";
  background: rgba(43, 43, 43, 0.16);
}

.parametric-axis::before {
  top: 50%;
  right: 8%;
  left: 8%;
  height: 1px;
  transform: scaleX(0.4);
  animation: axis-x 6s ease-in-out infinite;
}

.parametric-axis::after {
  top: 10%;
  bottom: 10%;
  left: 50%;
  width: 1px;
  transform: scaleY(0.35);
  animation: axis-y 7s ease-in-out infinite;
}

.hero-pill-nav {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, minmax(112px, 1fr));
  width: min(520px, 92vw);
  min-height: 54px;
  padding: 6px;
  border: 1px solid rgba(43, 43, 43, 0.08);
  border-radius: 999px;
  background: rgba(251, 251, 251, 0.88);
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.16),
    0 2px 8px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
}

.hero-pill-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  color: #565656;
  font-size: 14px;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease;
}

.hero-pill-nav a:hover {
  color: var(--ink);
  background: rgba(43, 43, 43, 0.06);
}

.home-quote {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  padding: clamp(58px, 7vw, 86px) 0;
}

.quote-inner {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  text-align: center;
}

.quote-inner h2 {
  max-width: none;
  color: #4d4d4d;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.32;
}

.quote-inner p {
  max-width: 680px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.logo-motion {
  display: grid;
  gap: 18px;
  align-self: center;
}

.logo-stage {
  position: relative;
  min-height: clamp(280px, 32vw, 430px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #f4f4f4 0%, #fbfbfb 54%, #eeeeee 100%);
  isolation: isolate;
}

.logo-stage::before,
.logo-stage::after {
  position: absolute;
  content: "";
  z-index: 1;
  pointer-events: none;
}

.logo-stage::before {
  inset: 22px;
  border: 1px solid rgba(43, 43, 43, 0.12);
}

.logo-stage::after {
  width: 120px;
  height: 120px;
  right: 38px;
  bottom: 38px;
  border: 1px solid rgba(43, 43, 43, 0.16);
  animation: calibration-rotate 16s linear infinite;
}

.logo-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(43, 43, 43, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 43, 43, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(120deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.15));
  animation: grid-drift 18s linear infinite;
}

.logo-rules span {
  position: absolute;
  z-index: 2;
  display: block;
  background: rgba(43, 43, 43, 0.22);
  transform-origin: center;
}

.logo-rules span:nth-child(1) {
  top: 52px;
  left: 0;
  width: 44%;
  height: 1px;
  animation: rule-x 5.8s ease-in-out infinite;
}

.logo-rules span:nth-child(2) {
  right: 48px;
  bottom: 0;
  width: 1px;
  height: 48%;
  animation: rule-y 6.4s ease-in-out infinite;
}

.logo-rules span:nth-child(3) {
  right: 0;
  top: 48%;
  width: 38%;
  height: 1px;
  animation: rule-x 7.2s ease-in-out infinite reverse;
}

.logo-rules span:nth-child(4) {
  left: 58px;
  top: 0;
  width: 1px;
  height: 34%;
  animation: rule-y 5.4s ease-in-out infinite reverse;
}

.logo-motion-mark {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: min(72%, 430px);
  transform: translate(-50%, -50%);
  filter: grayscale(1) contrast(1.08);
  opacity: 0.94;
  animation: logo-breathe 5.8s ease-in-out infinite;
}

.logo-scan {
  position: absolute;
  z-index: 4;
  inset: -20% auto -20% -30%;
  width: 26%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.64), transparent);
  transform: skewX(-12deg);
  animation: scan-pass 4.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
}

.logo-caption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.72, 0.18, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero .reveal-on-scroll {
  opacity: 1;
  transform: none;
}

.home-quote.reveal-on-scroll {
  opacity: 1;
  transform: none;
}

@keyframes logo-reveal {
  0% {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    transform: translate(-50%, -48%);
  }
  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translate(-50%, -50%);
  }
}

@keyframes logo-breathe {
  0%,
  100% {
    opacity: 0.94;
  }
  50% {
    opacity: 1;
  }
}

@keyframes logo-soft-focus {
  0%,
  100% {
    opacity: 0.82;
    filter: grayscale(1) contrast(1.02) blur(0);
  }
  50% {
    opacity: 0.94;
    filter: grayscale(1) contrast(1.08) blur(0.1px);
  }
}

@keyframes parametric-square {
  0% {
    opacity: var(--o, 1);
    transform: translate(-50%, -50%) translate(calc(var(--drift-x) * -0.12), calc(var(--drift-y) * -0.12)) scale(1.04) rotate(var(--r));
  }
  42% {
    opacity: var(--o, 1);
    transform: translate(-50%, -50%) translate(calc(var(--drift-x) * 0.58), calc(var(--drift-y) * 0.58)) scale(0.9) rotate(calc(var(--r) + 22deg));
  }
  76% {
    opacity: var(--o, 1);
    transform: translate(-50%, -50%) translate(calc(var(--drift-x) * 0.96), calc(var(--drift-y) * 0.96)) scale(0.72) rotate(calc(var(--r) + 48deg));
  }
  100% {
    opacity: var(--o, 1);
    transform: translate(-50%, -50%) translate(calc(var(--drift-x) * 1.18), calc(var(--drift-y) * 1.18)) scale(0.58) rotate(calc(var(--r) + 72deg));
  }
}

@keyframes parametric-grid {
  to {
    background-position: 42px 42px;
  }
}

@keyframes axis-x {
  0%,
  100% {
    transform: scaleX(0.32);
    opacity: 0.15;
  }
  50% {
    transform: scaleX(1);
    opacity: 0.42;
  }
}

@keyframes axis-y {
  0%,
  100% {
    transform: scaleY(0.28);
    opacity: 0.12;
  }
  50% {
    transform: scaleY(1);
    opacity: 0.34;
  }
}

@keyframes scan-pass {
  0%,
  32% {
    left: -34%;
  }
  62%,
  100% {
    left: 112%;
  }
}

@keyframes grid-drift {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 34px 34px;
  }
}

@keyframes rule-x {
  0%,
  100% {
    transform: scaleX(0.42);
    opacity: 0.22;
  }
  50% {
    transform: scaleX(1);
    opacity: 0.58;
  }
}

@keyframes rule-y {
  0%,
  100% {
    transform: scaleY(0.42);
    opacity: 0.2;
  }
  50% {
    transform: scaleY(1);
    opacity: 0.52;
  }
}

@keyframes calibration-rotate {
  to {
    transform: rotate(360deg);
  }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  max-width: 100%;
  padding: 12px 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
  transition: background 160ms ease, color 160ms ease;
}

.button.primary {
  color: var(--panel);
  background: var(--ink);
}

.button.primary:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.button.secondary:hover {
  color: var(--paper);
  background: var(--ink);
}

.section-band {
  border-top: 1px solid var(--line);
  padding: clamp(66px, 8vw, 108px) 0;
}

.section-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.statement-grid,
.application-grid,
.investor-grid,
.section-heading.split {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(34px, 8vw, 110px);
}

.statement-grid > *,
.application-grid > *,
.investor-grid > *,
.section-heading.split > *,
.product-row > *,
.method-list div > * {
  min-width: 0;
}

.statement p,
.application p,
.investors p,
.section-heading p {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.45vw, 19px);
}

.section-heading {
  display: grid;
  gap: 22px;
  margin-bottom: 54px;
}

.products {
  background: var(--soft);
}

.product-list {
  border-top: 1px solid rgba(43, 45, 44, 0.72);
}

.product-list.compact {
  margin-top: 34px;
}

.product-feature {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr);
  gap: clamp(28px, 7vw, 96px);
  padding: clamp(34px, 6vw, 72px) 0;
  border-top: 1px solid rgba(43, 43, 43, 0.72);
  border-bottom: 1px solid var(--line);
}

.product-feature-meta {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: clamp(20px, 4vw, 54px);
  align-content: start;
}

.product-feature-copy {
  display: grid;
  justify-items: start;
  gap: 24px;
}

.product-feature-copy p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 1.9vw, 24px);
  line-height: 1.55;
}

.product-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  width: 100%;
  max-width: 760px;
  background: var(--line);
}

.product-points span {
  min-height: 72px;
  padding: 18px;
  color: var(--muted);
  background: var(--soft);
  font-size: 14px;
  font-weight: 600;
}

.product-row {
  display: grid;
  grid-template-columns: 90px minmax(220px, 0.55fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  padding: clamp(28px, 4.8vw, 56px) 0;
  border-bottom: 1px solid var(--line);
}

.product-number,
.product-name span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.product-name span {
  display: block;
  margin-top: 12px;
}

.product-row p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 18px);
}

.application {
  background: var(--paper);
}

.method-list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(43, 45, 44, 0.72);
}

.method-list div {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.method-list span {
  font-size: 20px;
  font-weight: 650;
}

.method-list p {
  margin: 0;
}

.services {
  background: var(--soft);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 62px;
}

.service-grid figure {
  margin: 0;
}

.service-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-grid figcaption {
  padding-top: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.investors {
  background: var(--paper);
}

.investors .button {
  margin-top: 34px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
}

.service-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.52fr);
  gap: clamp(34px, 8vw, 116px);
  align-items: end;
  width: min(var(--max), calc(100% - 40px));
  min-height: 76vh;
  margin: 0 auto;
  padding: 132px 0 82px;
}

.video-hero {
  grid-template-columns: 1fr;
  gap: 28px;
  min-height: auto;
  padding-bottom: 96px;
}

.cover-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #e7e7e7;
}

.video-hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.52fr);
  gap: clamp(34px, 8vw, 116px);
  align-items: end;
}

.video-hero-copy h1 {
  margin-top: 14px;
  max-width: 640px;
  font-size: clamp(34px, 4.2vw, 58px);
}

.service-hero p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.45vw, 19px);
}

.service-intro {
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.philosophy-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 50px;
  background: var(--line);
}

.philosophy-list div {
  min-height: 230px;
  padding: 28px;
  background: var(--panel);
}

.philosophy-list span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.philosophy-list h3 {
  margin-top: 42px;
  font-size: clamp(22px, 2.2vw, 30px);
}

.philosophy-list p {
  margin: 16px 0 0;
  color: var(--muted);
}

.portfolio-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 46px 0 30px;
}

.filter-button {
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(43, 45, 44, 0.34);
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.filter-button.is-active {
  color: var(--panel);
  border-color: var(--ink);
  background: var(--ink);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 18px;
}

.project-card {
  display: grid;
  gap: 14px;
}

.project-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--line);
}

.project-card h3 {
  font-size: 20px;
}

.project-card p {
  margin: -6px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.project-page {
  --project-bg: var(--paper);
  --project-ink: var(--ink);
  --project-muted: var(--muted);
  color: var(--project-ink);
  background: var(--project-bg);
}

.project-page .site-header {
  background: color-mix(in srgb, var(--project-bg) 90%, transparent);
}

.project-hero {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 132px 0 62px;
}

.project-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 34px;
  color: var(--project-muted);
  font-size: 13px;
  font-weight: 600;
}

.project-hero h1 {
  max-width: 860px;
  color: var(--project-ink);
}

.project-hero p {
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--project-muted);
  font-size: clamp(16px, 1.45vw, 19px);
}

.project-media {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: clamp(66px, 8vw, 108px);
}

.project-cover {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.04);
}

.project-video-stack,
.project-image-stack {
  display: grid;
  gap: 22px;
  margin-top: 22px;
}

.project-video-stack video,
.project-image-stack img {
  width: 100%;
  height: auto;
  background: rgba(0, 0, 0, 0.04);
}

.project-video-stack video {
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.project-back {
  display: inline-flex;
  margin-top: 36px;
  color: var(--project-muted);
  font-size: 14px;
  font-weight: 600;
}

.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 28px;
  font-size: 14px;
}

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

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    background: var(--panel);
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 14px 12px;
  }

  .nav-cta {
    text-align: center;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 690px;
    padding-top: 108px;
  }

  .hero-center {
    min-height: 100vh;
    min-height: 100svh;
    gap: 48px;
  }

  .logo-stage {
    min-height: 300px;
  }

  .statement-grid,
  .application-grid,
  .investor-grid,
  .section-heading.split,
  .product-feature,
  .product-feature-meta,
  .product-row,
  .method-list div {
    grid-template-columns: 1fr;
  }

  .product-row {
    gap: 20px;
  }

  .product-points {
    grid-template-columns: 1fr;
  }

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

  .service-hero,
  .video-hero-copy,
  .statement-grid,
  .application-grid,
  .investor-grid,
  .section-heading.split {
    grid-template-columns: 1fr;
  }

  .philosophy-list,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .hero,
  .service-hero,
  .project-hero,
  .project-media,
  .section-inner,
  .footer-inner {
    width: min(330px, calc(100vw - 48px));
    max-width: none;
    margin-left: 16px;
    margin-right: auto;
  }

  h1 {
    font-size: 34px;
    line-height: 1.12;
  }

  h2 {
    font-size: 29px;
    line-height: 1.16;
  }

  h3 {
    font-size: 28px;
  }

  .hero-copy,
  .statement p,
  .application p,
  .investors p,
  .section-heading p,
  .product-row p {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-center {
    width: 100vw;
    min-height: 100vh;
    min-height: 100svh;
    margin-left: 0;
    margin-right: 0;
    padding: 0 16px;
  }

  .hero-logo-system {
    width: calc(100vw - 32px);
    min-height: 300px;
  }

  .hero-logo-system::before {
    width: min(92vw, 520px);
    height: 260px;
  }

  .hero-logo-mark {
    width: min(204px, 52vw);
  }

  .parametric-axis {
    inset: 0;
  }

  .parametric-squares span {
    width: calc(var(--s) * 0.72);
    height: calc(var(--s) * 0.72);
  }

  .hero-pill-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(326px, calc(100vw - 48px));
    min-height: 50px;
    padding: 5px;
    border-radius: 999px;
  }

  .hero-pill-nav a {
    min-height: 38px;
    font-size: 12px;
  }

  .quote-inner {
    width: min(330px, calc(100vw - 48px));
    text-align: left;
  }

  .logo-caption {
    flex-direction: column;
    gap: 6px;
  }

  .service-hero {
    min-height: 660px;
    padding-top: 108px;
  }

  .project-hero {
    padding-top: 108px;
  }

  .philosophy-list div {
    min-height: auto;
  }
}

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

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }

  .parametric-squares span {
    animation-duration: 8.6s !important;
    animation-iteration-count: infinite !important;
  }

  .parametric-squares span:nth-child(2n) {
    animation-duration: 9.8s !important;
  }

  .parametric-squares span:nth-child(4n) {
    animation-duration: 7.4s !important;
  }
}
