@charset "utf-8";

:root {
  --ink: #121212;
  --ink-soft: #181818;
  --paper: #121212;
  --paper-deep: #1f1f1f;
  --white: #ffffff;
  --muted: #b3b3b3;
  --line-dark: rgba(255, 255, 255, 0.16);
  --line-light: rgba(255, 255, 255, 0.16);
  --signal: #1ed760;
  --signal-dark: #1db954;
  --purple: #1ed760;
  --container: min(1440px, calc(100vw - 96px));
  --header-height: 84px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  min-width: 320px;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

::selection {
  color: var(--ink);
  background: var(--signal);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  padding: 12px 18px;
  color: var(--ink);
  background: var(--signal);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-height);
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  background: var(--ink);
  border-bottom: 1px solid var(--line-dark);
  transition: height 0.3s ease, background 0.3s ease;
}

.site-header.is-compact {
  height: 68px;
  background: rgba(10, 11, 13, 0.96);
}

.brand {
  display: block;
  width: 150px;
  padding: 10px 0;
}

.brand img {
  width: 100%;
  height: auto;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 34px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 42px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.primary-nav a {
  position: relative;
  padding: 12px 0;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 5px;
  height: 2px;
  background: var(--signal);
  transition: right 0.25s ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  right: 0;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--silver);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.lang-switch button {
  padding: 10px 2px;
  border: 0;
  color: var(--silver);
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.lang-switch button[aria-pressed="true"] {
  color: var(--signal);
}

.lang-switch button:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}

.primary-nav a:focus-visible,
.footer-nav a:focus-visible,
.footer-contact a:focus-visible,
.text-link:focus-visible,
.footer-bottom a:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 5px;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  color: var(--white);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  font-size: 10px;
  letter-spacing: 0.12em;
}

.section-dark,
.section-ink {
  color: var(--white);
  background: var(--ink);
}

.section-light {
  color: var(--ink);
  background: var(--paper);
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-height) + 82px) 48px 72px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(480px, 0.92fr);
  align-items: center;
  gap: 7vw;
}

.hero-grid {
  position: absolute;
  inset: var(--header-height) 0 0;
  opacity: 0.3;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to right, #000 0%, rgba(0,0,0,0.3) 55%, transparent 100%);
}

.hero-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--ink), transparent 22%, transparent 78%, var(--ink));
}

.hero-orbit {
  position: absolute;
  right: -12vw;
  top: 10%;
  width: 52vw;
  aspect-ratio: 1;
  border: 1px solid rgba(30, 215, 96, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-two {
  right: -4vw;
  top: 19%;
  width: 34vw;
  border-color: rgba(30, 215, 96, 0.08);
}

.hero-copy,
.workflow-stage,
.hero-scroll {
  position: relative;
  z-index: 2;
}

.eyebrow,
.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.17em;
}

.eyebrow {
  margin-bottom: 32px;
  color: var(--signal);
}

.eyebrow span {
  width: 28px;
  height: 2px;
  background: var(--signal);
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(48px, 4.45vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 720;
  text-wrap: balance;
  word-break: keep-all;
}

.hero h1 em {
  color: var(--signal);
  font-style: normal;
}

.hero-summary {
  max-width: 690px;
  margin-top: 34px;
  color: #babcc2;
  font-size: clamp(17px, 1.25vw, 21px);
  line-height: 1.75;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.hero-actions {
  margin-top: 46px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.button {
  min-height: 52px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  border: 1px solid var(--signal);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: -0.01em;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

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

.button-primary:hover,
.button-primary:focus-visible {
  color: var(--signal);
  background: transparent;
  transform: translateY(-2px);
  outline: none;
}

.button span {
  font-size: 18px;
}

.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #d8d9dc;
  border-bottom: 1px solid #4f5157;
  font-size: 13px;
  font-weight: 650;
}

.text-link span {
  color: var(--signal);
}

.workflow-stage {
  min-height: 540px;
  border: 1px solid var(--line-dark);
  border-radius: 32px;
  overflow: hidden;
  background: rgba(10, 19, 23, 0.9);
  box-shadow: none;
}

.stage-head,
.stage-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #8c8f96;
  font: 700 9px/1.2 ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.15em;
}

.stage-head {
  height: 52px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line-dark);
}

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--signal);
}

.live-dot::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 14px var(--signal);
}

.stage-body {
  position: relative;
  min-height: 430px;
}

.flow-node {
  position: absolute;
  width: 42%;
  min-height: 94px;
  padding: 18px 20px 18px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid #35383f;
  border-radius: 16px;
  background: #111318;
}

.flow-node::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 42px;
  width: 1px;
  background: #35383f;
}

.node-index {
  position: absolute;
  left: 15px;
  top: 19px;
  color: #6d7077;
  font: 700 10px/1 ui-monospace, monospace;
}

.flow-node strong {
  font-size: 15px;
  letter-spacing: -0.01em;
}

.flow-node small {
  margin-top: 8px;
  color: #858891;
  font-size: 12px;
}

.node-input {
  top: 38px;
  left: 6%;
}

.node-core {
  top: 168px;
  left: 29%;
  width: 50%;
  border-color: var(--signal);
  box-shadow: inset 4px 0 0 var(--signal);
}

.node-core strong {
  color: var(--signal);
}

.node-output {
  right: 6%;
  bottom: 38px;
}

.flow-line {
  position: absolute;
  border-left: 1px solid #555861;
  border-bottom: 1px solid #555861;
}

.flow-line i {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 12px var(--signal);
  animation: flow 2.8s linear infinite;
}

.line-a {
  top: 131px;
  left: 26%;
  width: 28%;
  height: 38px;
}

.line-a i {
  bottom: -4px;
  left: 0;
}

.line-b {
  top: 262px;
  left: 53%;
  width: 26%;
  height: 41px;
}

.line-b i {
  bottom: -4px;
  left: 0;
  animation-delay: 1.2s;
}

.core-pulse {
  position: absolute;
  left: 12%;
  bottom: 43px;
  display: flex;
  align-items: end;
  gap: 5px;
  height: 46px;
}

.core-pulse b {
  display: block;
  width: 3px;
  background: #686b73;
  animation: bars 1.4s ease-in-out infinite alternate;
}

.core-pulse b:nth-child(1) { height: 30%; }
.core-pulse b:nth-child(2) { height: 100%; animation-delay: 0.25s; }
.core-pulse b:nth-child(3) { height: 55%; animation-delay: 0.5s; }

.stage-foot {
  height: 56px;
  justify-content: center;
  gap: 14px;
  border-top: 1px solid var(--line-dark);
}

.stage-foot i {
  width: 22px;
  height: 1px;
  background: #41444a;
}

.hero-scroll {
  position: absolute;
  right: 48px;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #676a70;
  font: 700 9px/1 ui-monospace, monospace;
  letter-spacing: 0.14em;
}

.hero-scroll i {
  width: 60px;
  height: 1px;
  background: #676a70;
}

.section-label {
  width: var(--container);
  margin: 0 auto;
  padding-top: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--line-light);
  font: 750 11px/1.2 ui-monospace, monospace;
  letter-spacing: 0.13em;
}

.section-label span {
  color: #898b8f;
}

.section-label p {
  color: #292b2f;
}

.label-on-dark {
  border-color: var(--line-dark);
}

.label-on-dark p {
  color: #d4d5d8;
}

.about {
  padding: 120px 0 160px;
}

.about-statement,
.about-detail {
  width: var(--container);
  margin-left: auto;
  margin-right: auto;
}

.about-statement {
  margin-top: 100px;
}

.about-statement h2 {
  max-width: 1180px;
  font-size: clamp(38px, 4.35vw, 72px);
  line-height: 1.18;
  letter-spacing: -0.055em;
  font-weight: 420;
  word-break: keep-all;
}

.about-statement strong {
  font-weight: 760;
}

.about-detail {
  margin-top: 100px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 10vw;
  align-items: start;
}

.about-detail > p {
  max-width: 560px;
  color: #46484d;
  font-size: 18px;
  line-height: 1.9;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.definition-pair {
  border-top: 1px solid var(--ink);
}

.definition-pair article {
  min-height: 170px;
  padding: 28px 0;
  display: grid;
  grid-template-columns: 70px 1fr;
  grid-template-rows: auto 1fr;
  column-gap: 22px;
  border-bottom: 1px solid var(--line-light);
}

.definition-pair article > span {
  grid-row: 1 / 3;
  color: var(--signal-dark);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.definition-pair h3 {
  font-size: 20px;
  font-weight: 720;
}

.definition-pair p {
  align-self: end;
  max-width: 500px;
  color: #606268;
  font-size: 15px;
  line-height: 1.65;
  word-break: keep-all;
}

.ax-system {
  padding: 120px 0 160px;
  background: var(--ink-soft);
}

.ax-heading,
.system-map,
.capability-lines,
.fine-tuning,
.gda-panel {
  width: var(--container);
  margin-left: auto;
  margin-right: auto;
}

.ax-heading {
  margin-top: 100px;
  display: grid;
  grid-template-columns: 0.55fr 1.1fr 0.7fr;
  gap: 56px;
  align-items: end;
}

.kicker {
  color: var(--signal);
}

.ax-heading h2 {
  font-size: clamp(42px, 4.25vw, 70px);
  line-height: 1.08;
  letter-spacing: -0.055em;
  font-weight: 740;
  word-break: keep-all;
}

.ax-heading > p:last-child {
  color: #9b9ea5;
  font-size: 16px;
  line-height: 1.8;
  word-break: keep-all;
}

.system-map {
  margin-top: 100px;
  border-top: 1px solid #565960;
  border-bottom: 1px solid #565960;
}

.map-axis {
  height: 58px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: #73767d;
  font: 700 9px/1 ui-monospace, monospace;
  letter-spacing: 0.13em;
  border-bottom: 1px solid #303238;
}

.map-axis i {
  flex: 1;
  height: 1px;
  background: #303238;
}

.map-layer {
  position: relative;
  min-height: 112px;
  padding: 0 18px;
  display: grid;
  grid-template-columns: 140px 1fr auto;
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid #303238;
  transition: color 0.25s ease, background 0.25s ease, padding 0.25s ease;
}

.map-layer:last-child {
  border-bottom: 0;
}

.map-layer:hover {
  color: var(--white);
  background: var(--signal);
  padding-left: 30px;
}

.layer-no {
  color: #70737a;
  font: 700 10px/1 ui-monospace, monospace;
  letter-spacing: 0.12em;
}

.map-layer:hover .layer-no {
  color: rgba(255, 255, 255, 0.72);
}

.map-layer > div {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) 1fr;
  align-items: baseline;
  gap: 40px;
}

.map-layer h3 {
  font-size: clamp(24px, 2.15vw, 36px);
  letter-spacing: -0.04em;
}

.map-layer p {
  color: #8f9299;
  font-size: 14px;
}

.map-layer:hover p {
  color: rgba(255, 255, 255, 0.8);
}

.map-layer b {
  color: #777a81;
  font: 700 10px/1 ui-monospace, monospace;
  letter-spacing: 0.12em;
}

.map-layer:hover b {
  color: rgba(255, 255, 255, 0.8);
}

.capability-lines {
  margin-top: 110px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #4a4c52;
}

.capability-lines article {
  min-height: 260px;
  padding: 28px 36px 36px 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #4a4c52;
}

.capability-lines article + article {
  padding-left: 36px;
}

.capability-lines article:last-child {
  border-right: 0;
}

.capability-lines span {
  color: var(--signal);
  font: 700 11px/1 ui-monospace, monospace;
}

.capability-lines h3 {
  margin-top: 66px;
  font-size: clamp(26px, 2.2vw, 38px);
  letter-spacing: -0.04em;
}

.capability-lines p {
  max-width: 360px;
  margin-top: 18px;
  color: #8f9299;
  font-size: 15px;
  line-height: 1.7;
  word-break: keep-all;
}

.fine-tuning {
  margin-top: 130px;
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  gap: 70px;
  align-items: end;
}

.fine-copy h3 {
  margin-top: 22px;
  font-size: clamp(34px, 3vw, 52px);
  line-height: 1.18;
  letter-spacing: -0.05em;
  word-break: keep-all;
}

.fine-copy > p:last-child {
  max-width: 500px;
  margin-top: 28px;
  color: #94979e;
  font-size: 15px;
  line-height: 1.8;
  word-break: keep-all;
}

.fine-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.fine-gallery figure {
  min-width: 0;
}

.fine-gallery img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 24px;
  filter: saturate(0.88) contrast(1.04);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.fine-gallery figure:hover img {
  filter: saturate(1.05) contrast(1.03);
  transform: translateY(-5px);
}

.fine-gallery figcaption {
  padding: 14px 2px 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #d0d1d5;
  font-size: 12px;
}

.fine-gallery figcaption span {
  color: var(--signal);
  font: 700 9px/1 ui-monospace, monospace;
  letter-spacing: 0.12em;
}

.gda-panel {
  margin-top: 140px;
  min-height: 380px;
  padding: 60px;
  display: grid;
  grid-template-columns: 0.5fr 1.1fr 0.8fr;
  align-items: center;
  gap: 70px;
  color: var(--white);
  background: var(--signal);
  border-radius: 32px;
}

.gda-mark {
  display: flex;
  flex-direction: column;
  font-size: clamp(76px, 8vw, 136px);
  font-weight: 850;
  line-height: 0.66;
  letter-spacing: -0.1em;
}

.gda-copy .kicker {
  color: rgba(255, 255, 255, 0.72);
}

.gda-copy h3 {
  margin-top: 24px;
  font-size: clamp(38px, 3.4vw, 58px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.gda-copy > p:last-child {
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  line-height: 1.8;
  word-break: keep-all;
}

.gda-tags {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255,255,255,0.42);
}

.gda-tags span {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.42);
  font: 750 11px/1 ui-monospace, monospace;
  letter-spacing: 0.13em;
}

.references {
  padding: 120px 0 170px;
}

.reference-head,
.project-list {
  width: var(--container);
  margin-left: auto;
  margin-right: auto;
}

.reference-head {
  margin-top: 100px;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  align-items: end;
  gap: 70px;
}

.reference-head h2 {
  font-size: clamp(42px, 4.2vw, 70px);
  line-height: 1.12;
  letter-spacing: -0.055em;
  font-weight: 430;
  word-break: keep-all;
}

.reference-head strong {
  font-weight: 760;
}

.reference-head > p {
  color: #686a6f;
  font-size: 15px;
  line-height: 1.75;
  word-break: keep-all;
}

.project-list {
  margin-top: 100px;
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.project {
  display: grid;
  grid-template-columns: 1fr;
}

.project figure {
  overflow: hidden;
  background: #17181c;
  border-radius: 32px;
}

.project figure img {
  width: 100%;
  aspect-ratio: 2.174 / 1;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(.2,.7,.2,1), filter 0.5s ease;
}

.project:hover figure img {
  transform: scale(1.025);
}

.project-cat {
  width: 79%;
  margin-left: auto;
}

.project-meta {
  padding-top: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  border-top: 2px solid var(--ink);
}

.project-meta span,
.project-note {
  font: 750 10px/1.3 ui-monospace, monospace;
  letter-spacing: 0.12em;
}

.project-meta span {
  color: #77797e;
}

.project-meta h3 {
  margin-top: 14px;
  font-size: clamp(30px, 3vw, 48px);
  letter-spacing: -0.045em;
}

.project-meta > div > p {
  margin-top: 6px;
  color: #65676c;
  font-size: 15px;
}

.project-note {
  color: #77797e;
  text-align: right;
}

.site-footer {
  padding: 90px 48px 32px;
  color: var(--white);
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
}

.footer-main {
  width: var(--container);
  margin: 0 auto;
  padding-bottom: 90px;
  display: grid;
  grid-template-columns: 1fr 1fr 0.65fr;
  gap: 80px;
}

.footer-brand img {
  width: 180px;
}

.footer-brand p {
  margin-top: 28px;
  color: #6f7279;
  font: 700 11px/1.65 ui-monospace, monospace;
  letter-spacing: 0.13em;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-contact p {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact span {
  color: #6f7279;
  font: 700 9px/1 ui-monospace, monospace;
  letter-spacing: 0.13em;
}

.footer-contact a {
  width: fit-content;
  font-size: 15px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  font-size: 14px;
}

.footer-nav a {
  padding-bottom: 5px;
  border-bottom: 1px solid #4b4e54;
}

.footer-bottom {
  width: var(--container);
  min-height: 70px;
  margin: 0 auto;
  padding-top: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  color: #696c72;
  border-top: 1px solid var(--line-dark);
  font: 700 9px/1 ui-monospace, monospace;
  letter-spacing: 0.12em;
}

.footer-bottom a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(.2,.7,.2,1);
}

@keyframes flow {
  from { transform: translateX(0); }
  to { transform: translateX(120px); }
}

@keyframes bars {
  from { opacity: 0.35; transform: scaleY(0.5); transform-origin: bottom; }
  to { opacity: 1; transform: scaleY(1); transform-origin: bottom; }
}

/* Spotify-inspired dark theme: content provides color; green is functional only. */
.section-light {
  color: var(--white);
  background: var(--ink);
}

.hero-orbit {
  border-color: rgba(30, 215, 96, 0.16);
}

.orbit-two {
  border-color: rgba(30, 215, 96, 0.08);
}

.workflow-stage {
  border-radius: 8px;
  background: #181818;
  box-shadow: rgba(0, 0, 0, 0.5) 0 8px 24px;
}

.flow-node {
  border-color: #4d4d4d;
  border-radius: 8px;
  background: #1f1f1f;
}

.stage-head,
.stage-foot,
.node-index,
.hero-scroll,
.section-label span,
.layer-no,
.map-layer b,
.project-meta span,
.project-note,
.footer-brand p,
.footer-contact span,
.footer-bottom {
  color: #b3b3b3;
}

.section-label p,
.about-statement h2,
.definition-pair h3,
.reference-head h2,
.project-meta h3 {
  color: #ffffff;
}

.hero-summary,
.about-detail > p,
.definition-pair p,
.ax-heading > p:last-child,
.capability-lines p,
.fine-copy > p:last-child,
.reference-head > p,
.project-meta > div > p {
  color: #b3b3b3;
}

.section-label,
.definition-pair,
.project-meta {
  border-color: #4d4d4d;
}

.definition-pair article,
.system-map,
.map-axis,
.map-layer,
.capability-lines,
.capability-lines article,
.gda-tags,
.gda-tags span {
  border-color: #4d4d4d;
}

.map-axis,
.map-layer p,
.fine-gallery figcaption {
  color: #b3b3b3;
}

.fine-gallery img,
.project figure {
  border-radius: 8px;
}

.gda-panel {
  color: #ffffff;
  background: #181818;
  border: 1px solid #4d4d4d;
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.3) 0 8px 8px;
}

.gda-mark,
.gda-copy .kicker,
.gda-tags span {
  color: var(--signal);
}

.gda-copy > p:last-child {
  color: #b3b3b3;
}

.project figure {
  background: #181818;
}

@media (max-width: 1180px) {
  :root {
    --container: min(100% - 64px, 1120px);
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: calc(var(--header-height) + 100px);
  }

  .hero-copy {
    max-width: 900px;
  }

  .workflow-stage {
    width: min(760px, 100%);
    margin-left: auto;
  }

  .hero-scroll {
    display: none;
  }

  .ax-heading {
    grid-template-columns: 0.45fr 1.2fr;
  }

  .ax-heading > p:last-child {
    grid-column: 2;
  }

  .fine-tuning {
    grid-template-columns: 1fr;
  }

  .fine-copy {
    max-width: 700px;
  }

  .gda-panel {
    grid-template-columns: 0.4fr 1fr;
  }

  .gda-tags {
    grid-column: 2;
  }
}

@media (max-width: 820px) {
  :root {
    --container: calc(100% - 40px);
    --header-height: 70px;
  }

  .site-header {
    height: var(--header-height);
    padding: 0 20px;
  }

  .brand {
    width: 126px;
  }

  .header-tools {
    order: 2;
    margin-left: auto;
    gap: 0;
  }

  .menu-toggle {
    order: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
  }

  .menu-toggle i {
    position: relative;
    width: 24px;
    height: 1px;
    background: var(--white);
    transition: transform 0.2s ease;
  }

  .menu-toggle i::after {
    content: "";
    position: absolute;
    top: 6px;
    left: 0;
    width: 24px;
    height: 1px;
    background: var(--white);
    transition: transform 0.2s ease, top 0.2s ease;
  }

  .menu-toggle[aria-expanded="true"] i {
    transform: rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] i::after {
    top: 0;
    transform: rotate(90deg);
  }

  .primary-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    height: calc(100svh - var(--header-height));
    padding: 60px 24px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--ink);
    border-top: 1px solid var(--line-dark);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .lang-switch {
    margin-right: 6px;
  }

  .primary-nav a {
    width: 100%;
    padding: 20px 0;
    border-bottom: 1px solid var(--line-dark);
    font-size: 24px;
    letter-spacing: -0.02em;
  }

  .hero {
    min-height: auto;
    padding: 130px 20px 80px;
    gap: 70px;
  }

  .hero h1 {
    font-size: clamp(42px, 12.5vw, 68px);
  }

  .hero-summary {
    font-size: 16px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .workflow-stage {
    min-height: 480px;
  }

  .stage-body {
    min-height: 370px;
  }

  .flow-node {
    width: 72%;
  }

  .node-input { left: 5%; }
  .node-core { left: 20%; width: 75%; top: 144px; }
  .node-output { right: 5%; bottom: 28px; }
  .line-a { left: 22%; top: 131px; width: 29%; height: 14px; }
  .line-b { left: 50%; top: 239px; width: 28%; height: 19px; }
  .core-pulse { display: none; }
  .stage-foot { gap: 8px; }
  .stage-foot i { width: 10px; }

  .about,
  .ax-system,
  .references {
    padding: 86px 0 110px;
  }

  .about-statement,
  .ax-heading,
  .reference-head {
    margin-top: 70px;
  }

  .about-detail {
    margin-top: 70px;
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .ax-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ax-heading > p:last-child {
    grid-column: 1;
    margin-top: 10px;
  }

  .system-map {
    margin-top: 70px;
  }

  .map-layer {
    min-height: 140px;
    grid-template-columns: 82px 1fr;
  }

  .map-layer > div {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .map-layer b {
    display: none;
  }

  .capability-lines {
    margin-top: 80px;
    grid-template-columns: 1fr;
  }

  .capability-lines article,
  .capability-lines article + article {
    min-height: 210px;
    padding: 28px 0 34px;
    border-right: 0;
    border-bottom: 1px solid #4a4c52;
  }

  .capability-lines h3 {
    margin-top: 34px;
  }

  .fine-tuning,
  .gda-panel {
    margin-top: 90px;
  }

  .fine-gallery {
    overflow-x: auto;
    grid-template-columns: repeat(3, minmax(190px, 1fr));
    padding-bottom: 16px;
    scroll-snap-type: x mandatory;
  }

  .fine-gallery figure {
    scroll-snap-align: start;
  }

  .gda-panel {
    padding: 38px 26px;
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .gda-mark {
    flex-direction: row;
    font-size: 76px;
    line-height: 0.8;
  }

  .gda-tags {
    grid-column: 1;
  }

  .reference-head {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .project-list {
    margin-top: 70px;
    gap: 84px;
  }

  .project-cat {
    width: 100%;
  }

  .project-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .project-note {
    text-align: left;
  }

  .site-footer {
    padding: 70px 20px 26px;
  }

  .footer-main {
    padding-bottom: 64px;
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 460px) {
  .hero h1 br,
  .about-statement h2 br,
  .reference-head h2 br {
    display: none;
  }

  .workflow-stage {
    margin-left: 0;
  }

  .stage-head {
    padding: 0 14px;
  }

  .stage-head > span:first-child {
    max-width: 140px;
  }

  .flow-node {
    padding-left: 48px;
  }

  .flow-node::before {
    left: 36px;
  }

  .node-index {
    left: 12px;
  }

  .definition-pair article {
    grid-template-columns: 54px 1fr;
  }

  .definition-pair article > span {
    font-size: 30px;
  }

  .map-layer {
    padding-left: 8px;
    grid-template-columns: 70px 1fr;
    gap: 14px;
  }

  .map-layer:hover {
    padding-left: 12px;
  }
}

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