:root {
  --background: #fff;
  --surface: #f5f6f8;
  --surface-strong: #eceef2;
  --text: #0a0b0e;
  --muted: #616772;
  --line: rgba(10, 11, 14, 0.14);
  --line-strong: rgba(10, 11, 14, 0.28);
  --accent: #06f;
  --accent-soft: rgba(0, 102, 255, 0.1);
  --brand-mark-background: #73777d;
  --header-height: 78px;
  --container: 1260px;
  --radius: 3px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--background);
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.is-locked {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  color: inherit;
}
img,
svg {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  letter-spacing: -0.035em;
  line-height: 1.04;
  font-weight: 520;
}
h1 {
  font-size: clamp(2.8rem, 6vw, 6.25rem);
}
h2 {
  font-size: clamp(2.25rem, 4.8vw, 4.9rem);
}
h3 {
  font-size: clamp(1.3rem, 2vw, 2rem);
}
.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}
.technical-label {
  margin-bottom: 24px;
  color: var(--muted);
  font:
    600 0.7rem/1.4 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.skip-link {
  position: fixed;
  z-index: 200;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  transform: translateY(-150%);
  background: var(--text);
  color: #fff;
}
.skip-link:focus {
  transform: translateY(0);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
}
.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex: 0 0 auto;
}
.brand__mark {
  position: relative;
  display: grid;
  width: 39px;
  height: 23px;
  place-items: center;
  border-radius: 5px;
  background: var(--text);
}
.brand__mark::before {
  content: "";
  position: absolute;
  width: 46px;
  height: 7px;
  border-radius: 5px;
  background: var(--text);
}
.brand__mark i {
  position: absolute;
  z-index: 1;
  width: 13px;
  height: 2px;
  background: #fff;
}
.brand__mark i:first-child {
  left: 5px;
}
.brand__mark i:last-child {
  right: 5px;
}
.brand__name {
  display: grid;
  font-size: 0.87rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.brand__name strong {
  font-weight: 600;
}
.brand__name span {
  font-weight: 400;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.3vw, 34px);
  margin-left: auto;
}
.desktop-nav a {
  position: relative;
  color: #3d424b;
  font-size: 0.9rem;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  background: var(--accent);
  transition: transform 0.2s;
}
.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-contact {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--text);
  border-radius: var(--radius);
  background: var(--text);
  color: #fff;
  cursor: pointer;
  font-size: 0.85rem;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.header-contact:hover {
  opacity: 0.8;
  transform: translateY(-1px);
}
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 11px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 1px;
  margin: 5px 0;
  background: var(--text);
  transition: transform 0.2s;
}
.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}
.mobile-menu {
  position: fixed;
  z-index: 99;
  inset: var(--header-height) 0 auto;
  padding: 22px 24px 30px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.08);
}
.mobile-menu a,
.mobile-menu button {
  display: block;
  width: 100%;
  padding: 15px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  font-size: 1.2rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  transition:
    transform 0.2s,
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.button:disabled {
  cursor: wait;
  opacity: 0.6;
  transform: none;
}
.button-light {
  border-color: #fff;
  background: #fff;
  color: var(--text);
}
.button-light:hover {
  background: transparent;
  color: #fff;
}
.button-dark {
  border-color: var(--text);
  background: var(--text);
  color: #fff;
}
.button-dark:hover {
  border-color: var(--accent);
  background: var(--accent);
}
.text-link {
  display: inline-flex;
  padding-block: 10px;
  border-bottom: 1px solid currentColor;
  color: inherit;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  overflow: hidden;
  background: var(--text);
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to right, transparent, #000 50%);
}
.hero__grid {
  position: relative;
  display: grid;
  min-height: calc(100vh - 140px);
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  align-items: center;
  gap: 60px;
  padding-block: 80px;
}
.hero__copy {
  position: relative;
  z-index: 2;
  max-width: 780px;
}
.hero h1 {
  max-width: 860px;
  margin-bottom: 32px;
}
.hero__lead,
.project-hero__lead {
  max-width: 680px;
  color: #b8bcc4;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
}
.hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 38px;
}
.hero__index {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding-block: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: #8d929c;
  font:
    0.65rem ui-monospace,
    monospace;
  letter-spacing: 0.1em;
}
.network {
  position: relative;
  min-height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.025);
}
.network__grid {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.25) 1px, transparent 1px);
  background-size: 42px 42px;
}
.network__core {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: grid;
  width: 122px;
  height: 122px;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: #0a0b0e;
}
.network__core span {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.08em;
}
.network__core small {
  position: absolute;
  bottom: 12px;
  color: #858a94;
  font:
    0.55rem ui-monospace,
    monospace;
}
.network__node {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 190px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: #101217;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.network__node:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.network__node small {
  color: #777e8b;
  font:
    0.58rem ui-monospace,
    monospace;
}
.network__node strong {
  margin: 6px 0 2px;
  font-size: 1.15rem;
}
.network__node span {
  color: #9ca1aa;
  font-size: 0.75rem;
}
.network__node--vertex {
  top: 15%;
  right: 7%;
}
.network__node--food {
  bottom: 14%;
  left: 6%;
}
.network__line {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  height: 1px;
  transform-origin: left;
  background: rgba(255, 255, 255, 0.25);
}
.network__line--one {
  width: 180px;
  transform: rotate(-31deg);
}
.network__line--two {
  width: 200px;
  transform: rotate(146deg);
}
.network__line i {
  position: absolute;
  width: 34px;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
  animation: data-pulse 3.2s linear infinite;
}
.network__line--two i {
  animation-delay: 1.6s;
}
@keyframes data-pulse {
  from {
    left: 0;
    opacity: 0;
  }
  20%,
  80% {
    opacity: 1;
  }
  to {
    left: calc(100% - 34px);
    opacity: 0;
  }
}

.section {
  padding-block: clamp(90px, 12vw, 170px);
  border-bottom: 1px solid var(--line);
}
.section-heading {
  display: grid;
  max-width: 980px;
  grid-template-columns: minmax(140px, 0.35fr) 1fr;
  column-gap: 50px;
  margin-bottom: 70px;
}
.section-heading .technical-label {
  grid-row: 1/3;
}
.section-heading h2 {
  margin-bottom: 22px;
}
.section-heading > p:last-child {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.1rem;
}
.section-heading--wide {
  max-width: 1100px;
}
.portfolio {
  background: var(--background);
}
.project-list {
  border-top: 1px solid var(--line-strong);
}
.project-card {
  position: relative;
  display: grid;
  grid-template-columns: 150px 1fr 170px;
  gap: 40px;
  padding: 52px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.25s;
}
.project-card:hover {
  padding-inline: 18px;
}
.project-card__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
  font:
    0.68rem ui-monospace,
    monospace;
  text-transform: uppercase;
}
.project-card__meta span:first-child {
  color: var(--accent);
}
.project-card__content h3 {
  max-width: 700px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4rem);
}
.project-card__content > p {
  max-width: 720px;
  color: var(--muted);
}
.project-card__content ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}
.project-card__content li {
  padding: 6px 9px;
  border: 1px solid var(--line);
  font:
    0.65rem ui-monospace,
    monospace;
  text-transform: uppercase;
}
.project-card__link {
  align-self: end;
  justify-self: end;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--text);
  font-size: 0.85rem;
}
.operating {
  background: var(--surface);
}
.function-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
}
.function-grid article {
  position: relative;
  min-height: 270px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}
.function-grid article::before {
  position: absolute;
  top: -1px;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 440ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--function-index, 0) * 90ms + 80ms);
}
.js .function-item::before {
  transform: scaleX(0);
}
.function-grid article:hover,
.function-grid article:focus-visible {
  border-color: rgba(0, 102, 255, 0.35);
  background: var(--accent-soft);
}
.function-grid article > span,
.capability-grid article > span {
  color: var(--accent);
  font:
    0.65rem ui-monospace,
    monospace;
}
.js .function-item.reveal {
  transform: translateY(10px);
  transition-duration: 430ms;
  transition-delay: calc(var(--function-index, 0) * 90ms);
}
.js .function-item.reveal.is-visible {
  transform: translateY(0);
}
.js .function-item.reveal.is-visible:hover,
.js .function-item.reveal.is-visible:focus-visible {
  transform: translateY(-2px);
}
.js .function-item.reveal > span {
  display: inline-block;
}
.js .function-item.reveal h3,
.js .function-item.reveal p {
  transform: translateY(5px);
  opacity: 0;
  transition:
    opacity 300ms ease,
    transform 300ms ease;
  transition-delay: calc(var(--function-index, 0) * 90ms + 85ms);
}
.js .function-item.reveal.is-visible h3,
.js .function-item.reveal.is-visible p {
  transform: translateY(0);
  opacity: 1;
}
.js .function-item.reveal.is-visible::before {
  transform: scaleX(1);
}
.function-grid h3 {
  margin: 55px 0 16px;
  font-size: 1.4rem;
}
.function-grid p {
  color: var(--muted);
  font-size: 0.9rem;
}
.development-process {
  margin-top: 96px;
  padding-top: 72px;
  border-top: 1px solid var(--line);
}
.process-heading {
  display: grid;
  grid-template-columns: minmax(160px, 0.48fr) minmax(0, 1.52fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 46px;
}
.process-heading .technical-label {
  margin-bottom: 8px;
}
.process-heading h2 {
  max-width: 740px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
}
.process-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}
.process-line::before {
  content: "";
  position: absolute;
  top: 6px;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--line-strong);
  transform-origin: left;
  transition: transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
}
.js .process-line::before {
  transform: scaleX(0);
}
.process-line li {
  position: relative;
  padding: 34px 20px 0 0;
  outline-offset: 5px;
  transition:
    opacity 400ms ease,
    transform 400ms ease;
  transition-delay: calc(180ms + var(--step-index, 0) * 95ms);
}
.js .process-line li {
  opacity: 0;
  transform: translateY(10px);
}
.process-line li::before {
  position: absolute;
  z-index: 1;
  top: 6px;
  left: 0;
  width: 42%;
  height: 1px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
}
.process-line i {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 13px;
  height: 13px;
  border: 2px solid var(--surface);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease;
  transition-delay: calc(210ms + var(--step-index, 0) * 95ms);
}
.js .process-line i {
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line-strong);
}
.process-line small {
  color: var(--muted);
  font:
    0.65rem ui-monospace,
    monospace;
}
.process-line h3 {
  margin: 12px 0;
  font-size: 1.15rem;
}
.process-line p {
  padding-right: 14px;
  color: var(--muted);
  font-size: 0.82rem;
}
.js .animated-process.reveal {
  transform: none;
  opacity: 1;
}
.js .animated-process.is-visible::before {
  transform: scaleX(1);
}
.js .animated-process.is-visible li {
  transform: translateY(0);
  opacity: 1;
}
.js .animated-process.is-visible i {
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.process-line li:hover::before,
.process-line li:focus-visible::before {
  transform: scaleX(1);
}
.process-line li:hover i,
.process-line li:focus-visible i {
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.process-line::after {
  position: absolute;
  z-index: 3;
  top: 3px;
  left: 3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
  opacity: 0;
  animation: process-dot-pulse 7.2s 2.1s ease-in-out infinite;
}
@keyframes process-dot-pulse {
  0%, 88%, 100% { opacity: 0; transform: scale(0.8); }
  92% { opacity: 1; transform: scale(1); }
  96% { opacity: 0.32; transform: scale(0.86); }
}
.about__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
}
.about__copy {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.1rem;
}
.about__copy p + p {
  margin-top: 22px;
}
.fact-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0;
  margin: 42px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.fact-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font:
    0.72rem ui-monospace,
    monospace;
  text-transform: uppercase;
}
.principles {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: 0.4fr 1fr;
  gap: 60px;
  padding-top: 90px;
}
.principles__list {
  border-top: 1px solid var(--line-strong);
}
.principles__list article {
  display: grid;
  grid-template-columns: 55px minmax(190px, 0.7fr) 1fr;
  gap: 20px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}
.principles__list span {
  color: var(--accent);
  font:
    0.65rem ui-monospace,
    monospace;
}
.principles__list h3 {
  margin: 0;
  font-size: 1.2rem;
}
.principles__list p {
  margin: 0;
  color: var(--muted);
}
.contact-section,
.project-contact {
  padding-block: clamp(80px, 10vw, 140px);
  background: var(--text);
  color: #fff;
}
.contact-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.contact-section h2,
.project-contact h2 {
  max-width: 760px;
}
.contact-section__grid > div:last-child > p {
  max-width: 600px;
  color: #aeb3bc;
}
.contact-details {
  display: grid;
  gap: 0;
  margin: 35px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.contact-details a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.contact-details span {
  color: #8e949e;
  font-size: 0.8rem;
}
.contact-details strong {
  font-weight: 500;
}

.project-hero {
  min-height: 720px;
  padding-block: 110px 80px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.project-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 70px;
}
.project-hero h1 {
  max-width: 850px;
}
.project-hero__lead {
  color: var(--muted);
}
.project-visual {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.project-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.6;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
}
.project-visual__number {
  position: absolute;
  top: 25px;
  right: 28px;
  color: var(--accent);
  font:
    0.7rem ui-monospace,
    monospace;
}
.project-visual__orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 260px;
  height: 260px;
  transform: translate(-50%, -50%);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}
.project-visual__orbit::before,
.project-visual__orbit::after {
  content: "";
  position: absolute;
  inset: 22%;
  border: 1px solid var(--accent);
  transform: rotate(45deg);
}
.project-visual__orbit::after {
  inset: 42%;
  background: var(--accent);
}
.project-visual--fantastic-food .project-visual__orbit {
  border-radius: 0;
  transform: translate(-50%, -50%) rotate(45deg);
}
.project-visual__label {
  position: absolute;
  bottom: 26px;
  left: 28px;
  display: grid;
}
.project-visual__label strong {
  font-size: 1.5rem;
}
.project-visual__label small {
  color: var(--muted);
}
.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
}
.capability-grid article {
  min-height: 220px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.capability-grid h3 {
  margin: 50px 0 12px;
}
.capability-grid p {
  max-width: 500px;
  color: var(--muted);
}
.project-process {
  background: var(--surface);
}
.project-process ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
  list-style: none;
}
.project-process li {
  min-height: 260px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.project-process li > span {
  float: right;
  color: var(--accent);
  font:
    0.7rem ui-monospace,
    monospace;
}
.project-process small {
  color: var(--muted);
  font:
    0.65rem ui-monospace,
    monospace;
  text-transform: uppercase;
}
.project-process h3 {
  margin: 75px 0 15px;
}
.project-process p {
  color: var(--muted);
}
.risk-note {
  padding: 32px 0;
  border-block: 1px solid rgba(0, 102, 255, 0.25);
  background: var(--accent-soft);
}
.risk-note .container {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  align-items: center;
  gap: 30px;
}
.risk-note span {
  color: var(--accent);
  font:
    0.7rem ui-monospace,
    monospace;
  text-transform: uppercase;
}
.risk-note p {
  margin: 0;
}
.risk-note a {
  border-bottom: 1px solid currentColor;
  font-size: 0.85rem;
}
.project-contact .technical-label {
  color: #888e98;
}
.project-contact h2 {
  margin-bottom: 35px;
}

.legal-hero {
  padding-block: 110px 80px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.legal-hero h1 {
  margin-bottom: 25px;
}
.legal-hero > .container > p:last-child {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.12rem;
}
.legal-content {
  padding-block: 90px 130px;
}
.legal-content__grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 80px;
}
.legal-content aside {
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: var(--muted);
  font-size: 0.8rem;
}
.legal-content aside a {
  color: var(--text);
}
.legal-content article {
  max-width: 800px;
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.legal-content h2 {
  font-size: 1.8rem;
}
.legal-content p {
  color: var(--muted);
}
.error-state {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding-block: 80px;
  text-align: center;
}
.error-state > div {
  display: grid;
  justify-items: center;
}
.error-state > div > span {
  color: var(--accent);
  font-size: clamp(6rem, 18vw, 14rem);
  font-weight: 600;
  line-height: 0.8;
  letter-spacing: -0.09em;
}
.error-state h1 {
  margin: 35px 0 15px;
  font-size: 2.5rem;
}
.error-state p {
  color: var(--muted);
}
.error-state .button {
  margin-top: 25px;
}

.site-footer {
  padding-top: 70px;
  border-top: 1px solid var(--line);
}
.site-footer__top {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
}
.brand--footer {
  margin-bottom: 20px;
}
.site-footer__top > div > p {
  color: var(--muted);
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.footer-nav div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav strong {
  margin-bottom: 8px;
  font-size: 0.72rem;
  text-transform: uppercase;
}
.footer-nav a {
  color: var(--muted);
  font-size: 0.86rem;
}
.footer-nav a:hover {
  color: var(--accent);
}
.site-footer__wordmark {
  display: block;
  padding-block: 80px 40px;
  overflow: visible;
  font-size: clamp(5rem, 16vw, 13rem);
  font-weight: 600;
  line-height: 0.78;
  letter-spacing: -0.075em;
  font-kerning: normal;
  font-feature-settings: "kern" 1;
}
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-block: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
}
.site-footer__bottom div {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.contact-overlay {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  overflow-y: auto;
  background: rgba(5, 7, 10, 0.72);
  opacity: 0;
  backdrop-filter: blur(6px);
  transition: opacity 0.18s;
}
.contact-overlay[hidden] {
  display: none;
}
.contact-overlay.is-open {
  opacity: 1;
}
.contact-dialog {
  width: min(100%, 720px);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 30px;
  transform: translateY(14px);
  border: 1px solid var(--line);
  background: #fff;
  transition: transform 0.2s;
}
.contact-overlay.is-open .contact-dialog {
  transform: translateY(0);
}
.contact-dialog > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--line);
}
.contact-dialog h2 {
  margin: 0;
  font-size: 2.2rem;
}
.dialog-close {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}
.contact-form {
  display: grid;
  gap: 18px;
  padding-top: 25px;
}
.contact-form label {
  display: grid;
  gap: 7px;
  font-size: 0.8rem;
  font-weight: 600;
}
.contact-form label > span {
  color: var(--accent);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: #fff;
  color: var(--text);
}
.contact-form input,
.contact-form select {
  min-height: 46px;
  padding: 0 12px;
}
.contact-form textarea {
  resize: vertical;
  padding: 12px;
}
.contact-form [aria-invalid="true"] {
  border-color: #b42318;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.checkbox {
  grid-template-columns: 20px 1fr !important;
  align-items: start;
  font-weight: 400 !important;
}
.checkbox input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}
.checkbox span {
  color: var(--muted) !important;
}
.honeypot {
  position: absolute;
  left: -9999px;
}
.form-status {
  min-height: 24px;
  font-size: 0.85rem;
}
.form-status.is-success {
  color: #087443;
}
.form-status.is-error {
  color: #b42318;
}
.js .reveal {
  transform: translateY(18px);
  opacity: 0;
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}
.js .reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 980px) {
  :root {
    --header-height: 68px;
  }
  .container {
    width: min(calc(100% - 36px), var(--container));
  }
  .desktop-nav,
  .header-contact {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .hero__grid,
  .project-hero__grid {
    min-height: auto;
    grid-template-columns: 1fr;
  }
  .hero__grid {
    padding-block: 75px 50px;
  }
  .network {
    min-height: 430px;
  }
  .section-heading {
    grid-template-columns: 1fr;
  }
  .section-heading .technical-label {
    grid-row: auto;
  }
  .function-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .process-line {
    grid-template-columns: 1fr;
    row-gap: 0;
  }
  .process-line::before {
    display: block;
    top: 0;
    right: auto;
    left: 6px;
    width: 1px;
    height: 100%;
    transform-origin: top;
  }
  .js .process-line::before {
    transform: scaleY(0);
  }
  .js .animated-process.is-visible::before {
    transform: scaleY(1);
  }
  .process-line li {
    min-height: 124px;
    padding: 0 0 38px 42px;
  }
  .process-line li::before {
    top: 6px;
    left: 6px;
    width: 1px;
    height: 48px;
    transform: scaleY(0);
    transform-origin: top;
  }
  .process-line li:hover::before,
  .process-line li:focus-visible::before {
    transform: scaleY(1);
  }
  .process-line i {
    top: 0;
  }
  .about__grid,
  .contact-section__grid,
  .site-footer__top {
    grid-template-columns: 1fr;
  }
  .principles {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .project-card {
    grid-template-columns: 90px 1fr;
  }
  .project-card__link {
    grid-column: 2;
    justify-self: start;
  }
  .project-process ol {
    grid-template-columns: repeat(2, 1fr);
  }
  .risk-note .container {
    grid-template-columns: 80px 1fr;
  }
  .risk-note a {
    grid-column: 2;
    justify-self: start;
  }
  .legal-content__grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }
  h1 {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }
  h2 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }
  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }
  .button {
    width: 100%;
  }
  .text-link {
    align-self: flex-start;
  }
  .network {
    min-height: 410px;
  }
  .network__core {
    width: 92px;
    height: 92px;
  }
  .network__node {
    width: 145px;
    padding: 12px;
  }
  .network__node--vertex {
    top: 8%;
    right: 4%;
  }
  .network__node--food {
    bottom: 8%;
    left: 4%;
  }
  .network__line--one {
    width: 125px;
  }
  .network__line--two {
    width: 145px;
  }
  .hero__index {
    font-size: 0.55rem;
  }
  .project-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-block: 38px;
  }
  .project-card__meta {
    flex-direction: row;
    justify-content: space-between;
  }
  .project-card__link {
    grid-column: 1;
  }
  .function-grid,
  .capability-grid,
  .project-process ol {
    grid-template-columns: 1fr;
  }
  .function-grid article {
    min-height: 220px;
  }
  .process-line {
    grid-template-columns: 1fr;
  }
  .about__grid {
    gap: 35px;
  }
  .fact-list {
    grid-template-columns: 1fr;
  }
  .principles__list article {
    grid-template-columns: 35px 1fr;
  }
  .principles__list p {
    grid-column: 2;
  }
  .contact-details a {
    flex-direction: column;
    gap: 4px;
  }
  .project-hero {
    min-height: auto;
    padding-top: 75px;
  }
  .project-visual {
    min-height: 360px;
  }
  .risk-note .container {
    grid-template-columns: 1fr;
  }
  .risk-note a {
    grid-column: 1;
  }
  .footer-nav {
    grid-template-columns: 1fr 1fr;
  }
  .site-footer__bottom {
    flex-direction: column;
  }
  .site-footer__wordmark {
    font-size: clamp(3.1rem, 16vw, 6rem);
  }
  .contact-dialog {
    padding: 22px 18px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
}

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

.desktop-nav__divider {
  width: 1px;
  height: 22px;
  background: rgba(0, 0, 0, 0.16);
}
.profile-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  padding: 5px 11px 5px 6px;
  font-size: 0.75rem;
}
.profile-link > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  background: #000;
  color: #fff;
  font: 0.68rem ui-monospace, monospace;
}
.profile-link small { color: var(--muted); }
.mobile-menu__label {
  margin: 22px 0 0;
  padding: 12px 0 6px;
  color: var(--muted);
  font: 0.62rem ui-monospace, monospace;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.auth-page {
  display: grid;
  min-height: calc(100svh - var(--header-height));
  place-items: center;
  padding: 70px 20px;
  background: linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px), #fff;
  background-size: 42px 42px;
}
.auth-card {
  width: min(100%, 520px);
  border: 1px solid rgba(0, 0, 0, 0.16);
  background: rgba(255, 255, 255, 0.96);
  padding: clamp(28px, 5vw, 50px);
}
.auth-card > .technical-label { color: var(--accent); }
.auth-card h1 { margin: 18px 0 0; font-size: clamp(2.25rem, 7vw, 3.9rem); font-weight: 470; letter-spacing: -0.055em; line-height: 1.02; }
.auth-lead { margin: 22px 0 0; color: var(--muted); font-size: 0.88rem; line-height: 1.68; }
.auth-notice,
.auth-error { margin: 22px 0 0; border-left: 2px solid var(--accent); padding: 10px 13px; background: var(--accent-soft); color: #34383f; font-size: 0.76rem; line-height: 1.55; }
.auth-error { border-color: #a22; background: rgba(160, 34, 34, 0.08); color: #6e1818; }
.auth-form { display: grid; gap: 20px; margin-top: 30px; border-top: 1px solid var(--line); padding-top: 28px; }
.auth-form label,
.profile-form label { display: grid; gap: 8px; color: #464b53; font-size: 0.76rem; }
.auth-form input,
.profile-form input { width: 100%; min-height: 48px; border: 1px solid var(--line-strong); border-radius: 0; padding: 0 13px; background: #fff; color: #000; }
.password-field { position: relative; display: block; }
.password-field input { padding-right: 86px; }
.password-field button { position: absolute; top: 1px; right: 1px; bottom: 1px; border: 0; border-left: 1px solid var(--line); padding: 0 12px; background: #fafafa; color: var(--muted); cursor: pointer; font-size: 0.68rem; }
.auth-form-row { display: flex; justify-content: flex-end; }
.auth-form-row a { color: var(--muted); font-size: 0.7rem; text-decoration: underline; text-underline-offset: 4px; }
.auth-submit { width: 100%; border-color: #000; border-radius: 0; background: #000; color: #fff; }
.auth-submit:hover:not(:disabled) { background: #202020; }
.auth-submit:disabled { cursor: not-allowed; opacity: 0.42; }
.auth-footnote { margin: 0; color: var(--muted); font-size: 0.68rem; text-align: center; }

.platform-page { min-height: 70svh; border-bottom: 1px solid var(--line); padding: 72px 0 110px; background: #fafafa; }
.platform-shell { display: grid; gap: 38px; }
.demo-label { width: fit-content; margin: 0; border: 1px solid rgba(0, 102, 255, 0.3); padding: 6px 9px; color: var(--accent); font: 0.6rem ui-monospace, monospace; letter-spacing: 0.06em; text-transform: uppercase; }
.platform-notice,
.form-message { margin: 0; border-left: 2px solid var(--accent); padding: 12px 16px; background: var(--accent-soft); color: #30343b; font-size: 0.78rem; }
.form-message.is-error { border-color: #a22; background: rgba(160, 34, 34, 0.08); }
.platform-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; border-bottom: 1px solid var(--line); padding-bottom: 38px; }
.platform-heading h1 { margin: 14px 0 0; font-size: clamp(2.8rem, 6vw, 5.7rem); font-weight: 470; }
.platform-heading > div > p:last-child { max-width: 680px; margin: 20px 0 0; color: var(--muted); }
.account-status { flex: 0 0 auto; border: 1px solid var(--line); padding: 9px 12px; color: #2b5d3c; font-size: 0.7rem; }
.quick-links { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.quick-links a { display: grid; min-height: 120px; grid-template-columns: 28px 1fr; align-content: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 24px; transition: background 180ms ease, transform 180ms ease; }
.quick-links a:hover { background: #fff; transform: translateY(-2px); }
.quick-links a > span { grid-row: 1 / 3; color: var(--accent); }
.quick-links strong { font-size: 1rem; }
.quick-links small { margin-top: 5px; color: var(--muted); }
.dashboard-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 20px; }
.platform-panel { position: relative; border: 1px solid var(--line); background: #fff; padding: 28px; }
.platform-panel--wide { grid-row: span 2; }
.platform-panel h2 { margin: 12px 0 25px; font-size: clamp(1.5rem, 3vw, 2.3rem); }
.compact-list { border-top: 1px solid var(--line); }
.compact-list > div { display: grid; grid-template-columns: 10px 1fr auto; align-items: center; gap: 13px; border-bottom: 1px solid var(--line); padding: 18px 0; }
.compact-list i { width: 5px; height: 5px; border-radius: 50%; background: #777; }
.compact-list i.accent { background: var(--accent); }
.compact-list span { display: grid; }
.compact-list small,
.compact-list time { margin-top: 3px; color: var(--muted); font-size: 0.66rem; }
.compact-list b,
.catalog-status { border: 1px solid var(--line); padding: 5px 7px; color: var(--muted); font: 0.58rem ui-monospace, monospace; text-transform: uppercase; }
.platform-empty { display: grid; min-height: 120px; align-content: center; color: var(--muted); }
.platform-empty p { margin: 7px 0 0; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.catalog-grid .platform-panel { min-height: 340px; }
.catalog-grid .technical-label { margin-top: 45px; }
.catalog-grid .platform-panel > p:not(.technical-label) { color: var(--muted); }
.catalog-grid dl,
.account-grid dl { margin: auto 0 0; border-top: 1px solid var(--line); }
.catalog-grid dl div,
.account-grid dl div { display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding: 12px 0; }
.catalog-grid dt,
.account-grid dt { color: var(--muted); font-size: 0.68rem; }
.catalog-grid dd,
.account-grid dd { margin: 0; font-size: 0.72rem; text-align: right; }
.research-list { border-top: 1px solid var(--line-strong); }
.research-list article { display: grid; grid-template-columns: 130px 1fr auto; gap: 30px; border-bottom: 1px solid var(--line); padding: 30px 0; }
.research-list time,
.research-list article span { color: var(--muted); font: 0.63rem ui-monospace, monospace; text-transform: uppercase; }
.research-list h2 { margin: 9px 0 0; font-size: clamp(1.25rem, 2.5vw, 2rem); }
.research-list p { margin: 10px 0 0; color: var(--muted); }
.research-list b { color: var(--accent); font: 0.62rem ui-monospace, monospace; text-transform: uppercase; }
.account-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.account-grid .platform-panel { min-height: 280px; }
.profile-form { display: grid; gap: 18px; }
.profile-form .button { width: fit-content; }
.danger-panel { grid-column: 1 / -1; min-height: auto !important; background: #f5f5f5; }
.danger-panel > p { color: var(--muted); }
.danger-panel .button { border: 1px solid #000; background: transparent; color: #000; }
.admin-table-wrap { overflow-x: auto; border: 1px solid var(--line); background: #fff; }
.admin-table { width: 100%; min-width: 900px; border-collapse: collapse; font-size: 0.75rem; }
.admin-table th { color: var(--muted); font: 0.6rem ui-monospace, monospace; letter-spacing: 0.05em; text-align: left; text-transform: uppercase; }
.admin-table th,
.admin-table td { border-bottom: 1px solid var(--line); padding: 14px; vertical-align: top; }
.admin-table td > strong,
.admin-table td > small { display: block; }
.admin-table td > small { margin-top: 5px; color: var(--muted); }
.admin-table form { display: flex; gap: 7px; }
.admin-table select,
.admin-table button { min-height: 34px; border: 1px solid var(--line-strong); background: #fff; padding: 0 8px; font-size: 0.68rem; }
.admin-table button { background: #000; color: #fff; cursor: pointer; }

@media (max-width: 1180px) {
  .profile-link { display: none; }
}
@media (max-width: 900px) {
  .catalog-grid { grid-template-columns: 1fr 1fr; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .platform-panel--wide { grid-row: auto; }
}
@media (max-width: 700px) {
  .auth-page { align-items: start; padding: 26px 0 0; }
  .auth-card { min-height: calc(100svh - 102px); border-right: 0; border-bottom: 0; border-left: 0; padding: 30px 20px 48px; }
  .platform-page { padding: 52px 0 78px; }
  .platform-heading { align-items: flex-start; flex-direction: column; }
  .quick-links,
  .catalog-grid,
  .account-grid { grid-template-columns: 1fr; }
  .danger-panel { grid-column: auto; }
  .research-list article { grid-template-columns: 1fr; gap: 12px; }
}

/* Restored iteration-six visual system: shared-hosting PHP edition. */
.brand-logo {
  display: inline-flex;
  width: max-content;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  color: #000;
  outline-offset: 5px;
}
.brand-logo__mark {
  display: block;
  width: 36px;
  flex: 0 0 auto;
}
.brand-logo__mark svg {
  width: 100%;
  height: auto;
  overflow: visible;
}
.brand-logo__tile {
  fill: var(--brand-mark-background);
  animation: dida-tile-in 560ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.brand-logo__piece {
  transform-box: fill-box;
  transform-origin: center;
}
.brand-logo__piece--top {
  fill: #000;
}
.brand-logo__piece--bottom {
  fill: #fff;
}
.brand-logo__piece--top {
  animation: dida-piece-top 620ms 70ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.brand-logo__piece--bottom {
  animation: dida-piece-bottom 620ms 120ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.brand-logo__wordmark {
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-size: 0.77rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  animation: dida-wordmark-in 500ms 230ms ease both;
}
.brand-logo:hover .brand-logo__piece--top,
.brand-logo:focus-visible .brand-logo__piece--top {
  transform: translateY(-1px);
}
.brand-logo:hover .brand-logo__piece--bottom,
.brand-logo:focus-visible .brand-logo__piece--bottom {
  transform: translateY(1px);
}
.brand-logo--mark,
.brand-logo--hero {
  pointer-events: none;
}
.brand-logo--mark .brand-logo__mark,
.brand-logo--hero .brand-logo__mark {
  width: 58px;
}
.brand-logo--hero {
  flex-direction: column;
  gap: 8px;
}
.brand-logo__hero-label {
  font-size: 0.66rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  line-height: 1;
  animation: dida-hero-label-in 380ms 410ms ease both;
}
.brand-logo--hero .brand-logo__piece--top {
  animation:
    dida-piece-top 620ms 70ms cubic-bezier(0.22, 1, 0.36, 1) both,
    dida-hero-top-cycle 6.4s 1.55s ease-in-out infinite;
}
.brand-logo--hero .brand-logo__piece--bottom {
  animation:
    dida-piece-bottom 620ms 120ms cubic-bezier(0.22, 1, 0.36, 1) both,
    dida-hero-bottom-cycle 6.4s 1.55s ease-in-out infinite;
}
@keyframes dida-tile-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes dida-piece-top {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes dida-piece-bottom {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes dida-wordmark-in {
  from { opacity: 0; transform: translateX(3px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes dida-hero-label-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes dida-hero-top-cycle {
  0%, 42%, 58%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1.5px); }
}
@keyframes dida-hero-bottom-cycle {
  0%, 42%, 58%, 100% { transform: translateY(0); }
  50% { transform: translateY(1.5px); }
}

.site-header {
  height: 76px;
  border-color: rgba(0, 0, 0, 0.11);
  background: rgba(255, 255, 255, 0.88);
}
.site-header__inner {
  height: 76px;
}
.header-login {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid #000;
  border-radius: 2px;
  padding: 0 17px;
  background: #000;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}
.header-login:hover {
  background: #202020;
  transform: translateY(-1px);
}
.mobile-menu .mobile-login {
  margin-top: 14px;
  border: 1px solid #000;
  padding-inline: 14px;
  background: #000;
  color: #fff;
}

.holding-hero {
  position: relative;
  min-height: 790px;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  padding: 82px 0 70px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px), #fff;
  background-size: 64px 64px;
  color: #000;
}
.holding-hero::before {
  position: absolute;
  inset: 0;
  opacity: 1;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.9));
  content: "";
  pointer-events: none;
  mask-image: none;
}
.holding-hero .holding-hero__grid {
  position: relative;
  z-index: 1;
  min-height: 620px;
  grid-template-columns: minmax(0, 0.95fr) minmax(520px, 1.05fr);
  align-items: center;
  gap: clamp(48px, 7vw, 100px);
  padding-block: 38px 52px;
}
.holding-hero__copy {
  max-width: 720px;
  animation: holding-copy-in 650ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.holding-hero .holding-hero__copy h1 {
  max-width: 740px;
  margin: 24px 0 0;
  color: #000;
  font-size: clamp(3.2rem, 5.25vw, 4.75rem);
  font-weight: 470;
  letter-spacing: -0.055em;
  line-height: 1.01;
  text-wrap: balance;
}
.holding-hero .hero__lead {
  max-width: 670px;
  margin: 28px 0 0;
  color: #6f6f6f;
  font-size: 1.03rem;
  line-height: 1.7;
}
.holding-hero .hero__actions {
  margin-top: 36px;
}
.holding-hero .button-light,
.contact-section .button-light {
  border-color: #000;
  border-radius: 2px;
  background: #000;
  color: #fff;
}
.holding-hero .button-light:hover,
.contact-section .button-light:hover {
  border-color: #202020;
  background: #202020;
  color: #fff;
}
.holding-hero .text-link {
  border-color: rgba(0, 0, 0, 0.18);
  color: #6f6f6f;
  font-size: 0.79rem;
}
.holding-hero .hero__index {
  position: absolute;
  z-index: 2;
  right: max(24px, calc((100vw - var(--container)) / 2));
  bottom: 20px;
  left: max(24px, calc((100vw - var(--container)) / 2));
  width: auto;
  border: 0;
  color: #6f6f6f;
}
@keyframes holding-copy-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.holding-network {
  position: relative;
  min-width: 0;
  aspect-ratio: 1.2 / 1;
  min-height: 500px;
  animation: network-in 300ms 180ms ease both;
}
@keyframes network-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.holding-network__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.network-line {
  fill: none;
  stroke: rgba(0, 0, 0, 0.34);
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  animation: network-line-draw 780ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  transition: stroke 180ms ease, stroke-width 180ms ease;
}
.network-line--vertex { animation-delay: 640ms; }
.network-line--fantastic-food { animation-delay: 800ms; }
@keyframes network-line-draw { to { stroke-dashoffset: 0; } }
.holding-network.is-engaging-vertex .network-line--vertex,
.holding-network:has(.holding-node--vertex:hover, .holding-node--vertex:focus-visible) .network-line--vertex,
.holding-network.is-engaging-fantastic-food .network-line--fantastic-food,
.holding-network:has(.holding-node--fantastic-food:hover, .holding-node--fantastic-food:focus-visible) .network-line--fantastic-food {
  stroke: var(--accent);
  stroke-width: 1.5;
}
.network-pulse,
.network-hover-pulse { fill: var(--accent); opacity: 0; }
.network-endpoint {
  fill: var(--accent);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: network-endpoint-in 260ms 1.18s ease forwards, network-endpoint-pulse 5.4s 1.5s ease-in-out infinite;
}
.network-endpoint--fantastic-food { animation-delay: 1.3s, -1.2s; }
@keyframes network-endpoint-in { to { opacity: 0.62; } }
@keyframes network-endpoint-pulse {
  0%, 100% { opacity: 0.52; transform: scale(1); }
  50% { opacity: 0.88; transform: scale(1.14); }
}
.holding-network__core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  width: 150px;
  height: 150px;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
}
.holding-network__core-frame {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(0, 0, 0, 0.24);
  background: rgba(255, 255, 255, 0.92);
  animation: core-frame-in 480ms 380ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes core-frame-in {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}
.holding-network__core-logo { position: relative; z-index: 1; }
.holding-node {
  position: absolute;
  display: grid;
  width: 162px;
  min-height: 88px;
  align-content: center;
  border-top: 1px solid rgba(0, 0, 0, 0.18);
  padding: 13px 4px 10px;
  background: rgba(255, 255, 255, 0.78);
  opacity: 0;
  animation: holding-node-in 440ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}
.holding-node--vertex { top: 32%; left: 1%; animation-delay: 1.02s; }
.holding-node--fantastic-food { top: 32%; right: 0; animation-delay: 1.15s; }
@keyframes holding-node-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.holding-node::before {
  position: absolute;
  top: -2px;
  left: 0;
  width: 28px;
  height: 3px;
  background: var(--accent);
  content: "";
  opacity: 0.35;
  transition: width 180ms ease, opacity 180ms ease;
}
.holding-node:hover,
.holding-node:focus-visible,
.holding-node.is-active {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.96);
  transform: translateY(-2px);
}
.holding-node:hover::before,
.holding-node:focus-visible::before,
.holding-node.is-active::before { width: 100%; opacity: 0.9; }
.holding-node small { color: var(--accent); font: 0.56rem ui-monospace, monospace; }
.holding-node strong { margin-top: 7px; font-size: 0.82rem; font-weight: 560; }
.holding-node span { margin-top: 4px; color: #6f6f6f; font-size: 0.6rem; }

.holding-section { scroll-margin-top: calc(var(--header-height) + 20px); }
.project-anchor-set { position: relative; height: 0; }
.project-anchor-set > span { position: absolute; top: -96px; scroll-margin-top: calc(var(--header-height) + 20px); }
.portfolio .section-heading { display: block; max-width: 770px; margin-bottom: 50px; }
.portfolio .section-heading .technical-label { margin-bottom: 18px; }
.project-tabs-shell { border-top: 1px solid rgba(0, 0, 0, 0.18); }
.project-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.project-tabs button {
  position: relative;
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 16px;
  border: 0;
  border-right: 1px solid rgba(0, 0, 0, 0.14);
  border-bottom: 1px solid rgba(0, 0, 0, 0.14);
  padding: 0 24px;
  background: transparent;
  color: #6f6f6f;
  cursor: pointer;
  text-align: left;
  transition: color 180ms ease, background 180ms ease;
}
.project-tabs button:first-child { border-left: 1px solid rgba(0, 0, 0, 0.14); }
.project-tabs button::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
  opacity: 0;
  transform: scaleX(0.2);
  transition: opacity 180ms ease, transform 180ms ease;
}
.project-tabs button:hover,
.project-tabs button.is-active { background: rgba(0, 0, 0, 0.04); color: #000; }
.project-tabs button.is-active::after { opacity: 1; transform: scaleX(1); }
.project-tabs button > span { color: var(--accent); font: 0.61rem ui-monospace, monospace; }
.project-tabs button strong { font-size: 0.9rem; font-weight: 530; }
.project-tabpanel[hidden] { display: none; }
.project-tabpanel.is-entering { animation: panel-in 260ms ease both; }
@keyframes panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.project-panel {
  display: grid;
  min-height: 540px;
  grid-template-columns: minmax(0, 0.88fr) minmax(480px, 1.12fr);
  border-right: 1px solid rgba(0, 0, 0, 0.14);
  border-bottom: 1px solid rgba(0, 0, 0, 0.14);
  border-left: 1px solid rgba(0, 0, 0, 0.14);
}
.project-panel__content {
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(0, 0, 0, 0.14);
  padding: clamp(34px, 5vw, 64px);
}
.project-panel__meta { display: flex; gap: 13px; color: #6f6f6f; font: 0.63rem ui-monospace, monospace; text-transform: uppercase; }
.project-panel__meta span:first-child { color: var(--accent); }
.project-panel__meta span:first-child::after { margin-left: 13px; color: #6f6f6f; content: "/"; }
.project-panel h3 { max-width: 610px; margin: 28px 0 0; font-size: clamp(2rem, 3.5vw, 3.4rem); font-weight: 470; line-height: 1.08; }
.project-panel__summary { margin: 23px 0 0; color: #000; font-size: 0.95rem; }
.project-panel__description { max-width: 610px; margin: 16px 0 0; color: #6f6f6f; font-size: 0.85rem; line-height: 1.72; }
.project-focus { display: flex; flex-wrap: wrap; gap: 7px; margin: 28px 0 0; padding: 0; list-style: none; }
.project-focus li { border: 1px solid rgba(0, 0, 0, 0.14); padding: 7px 9px; color: #6f6f6f; font: 0.61rem ui-monospace, monospace; }
.project-detail-link { display: inline-flex; width: fit-content; align-items: center; gap: 8px; margin-top: 24px; font-size: 0.78rem; font-weight: 560; }
.project-detail-link:hover { color: var(--accent); }
.project-note { margin: auto 0 0; border-top: 1px solid rgba(0, 0, 0, 0.12); padding-top: 20px; color: #6f6f6f; font-size: 0.63rem; }
.project-panel__visual {
  display: grid;
  min-width: 0;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px), #fff;
  background-size: 42px 42px;
}
.project-panel__visual svg { width: min(90%, 620px); height: auto; }
.visual-grid-lines path { stroke: rgba(0, 0, 0, 0.08); stroke-width: 1; }
.project-visual__path { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; animation: chart-line-in 1.2s 180ms ease forwards; }
@keyframes chart-line-in { to { stroke-dashoffset: 0; } }
.project-visual__point { fill: var(--accent); opacity: 0; transform-box: fill-box; transform-origin: center; animation: chart-point-in 320ms ease forwards; }
.project-visual__point:nth-of-type(1) { animation-delay: 350ms; }
.project-visual__point:nth-of-type(2) { animation-delay: 500ms; }
.project-visual__point:nth-of-type(3) { animation-delay: 650ms; }
.project-visual__point:nth-of-type(4) { animation-delay: 800ms; }
.project-visual__point:nth-of-type(5) { animation-delay: 950ms; }
@keyframes chart-point-in { from { opacity: 0; transform: scale(0.4); } to { opacity: 1; transform: scale(1); } }
.project-visual__modules rect,
.project-visual__stations rect { fill: rgba(255, 255, 255, 0.88); stroke: rgba(0, 0, 0, 0.2); }
.project-visual__modules path,
.project-visual__stations path,
.project-visual__stations circle { fill: none; stroke: var(--accent); stroke-width: 1.3; opacity: 0.72; }
.project-visual__flow path { fill: none; stroke: var(--accent); stroke-width: 1.5; }
.project-visual__labels { fill: #6f6f6f; font: 11px ui-monospace, monospace; letter-spacing: 2px; }
.visual-module { opacity: 0; animation: visual-module-in 500ms ease forwards; }
.visual-module--one { animation-delay: 180ms; }
.visual-module--two { animation-delay: 360ms; }
.visual-module--three { animation-delay: 540ms; }
@keyframes visual-module-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.chart-pulse { fill: var(--accent); offset-path: path("M44 286 C105 258 112 224 170 230 S252 146 310 170 S392 106 438 125 S488 87 522 72"); animation: chart-pulse-run 4.8s 1.3s ease-in-out infinite; }
@keyframes chart-pulse-run { 0%, 15% { opacity: 0; offset-distance: 0%; } 22% { opacity: 1; } 52% { opacity: 1; offset-distance: 100%; } 60%, 100% { opacity: 0; offset-distance: 100%; } }
.flow-pulse { fill: var(--accent); animation: flow-pulse-run 4.6s 1.1s ease-in-out infinite; }
@keyframes flow-pulse-run { 0%, 15% { opacity: 0; transform: translateX(0); } 25% { opacity: 1; } 60% { opacity: 1; transform: translateX(380px); } 70%, 100% { opacity: 0; transform: translateX(380px); } }

.site-footer .brand-logo { color: #000; }
.site-footer__wordmark span {
  position: static;
  display: block;
  width: fit-content;
  max-width: 100%;
  overflow: visible;
  white-space: nowrap;
  font-kerning: normal;
  font-feature-settings: "kern" 1;
  line-height: inherit;
  vertical-align: baseline;
  transform: none;
}

@media (max-width: 1180px) {
  .header-login { display: none; }
  .holding-hero .holding-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(440px, 0.9fr); }
  .holding-node { width: 145px; }
  .project-panel { grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr); }
}
@media (max-width: 900px) {
  .holding-hero { min-height: auto; padding-top: 64px; }
  .holding-hero .holding-hero__grid { grid-template-columns: 1fr; }
  .holding-network { width: min(100%, 680px); min-height: 500px; margin-inline: auto; }
  .project-panel { min-height: auto; grid-template-columns: 1fr; }
  .project-panel__content { min-height: 480px; border-right: 0; border-bottom: 1px solid rgba(0, 0, 0, 0.14); }
  .project-panel__visual { min-height: 440px; }
}
@media (max-width: 700px) {
  .brand-logo__mark { width: 32px; }
  .brand-logo__wordmark { font-size: 0.7rem; }
  .holding-hero { padding: 44px 0 72px; }
  .holding-hero .holding-hero__copy h1 { font-size: clamp(2.75rem, 12vw, 4.4rem); }
  .holding-hero .hero__lead { font-size: 0.94rem; }
  .holding-hero .hero__actions { align-items: stretch; flex-direction: column; gap: 12px; }
  .holding-hero .hero__actions .button { width: 100%; }
  .holding-hero .text-link { justify-content: center; border: 0; }
  .holding-hero .hero__index { display: none; }
  .holding-network { min-height: 410px; }
  .holding-network__core { width: 118px; height: 118px; }
  .brand-logo--mark .brand-logo__mark,
  .brand-logo--hero .brand-logo__mark { width: 50px; }
  .holding-node { width: 128px; min-height: 72px; }
  .holding-node span { display: none; }
  .holding-node--vertex, .holding-node--fantastic-food { top: 30%; }
  .project-tabs button { min-width: 0; padding-inline: 18px; }
  .project-panel__content { min-height: 520px; padding: 30px 22px; }
  .project-panel__visual { min-height: 330px; }
  .project-panel__visual svg { width: 108%; }
}
@media (max-width: 420px) {
  .holding-hero .holding-hero__copy h1 { font-size: clamp(2.15rem, 10.7vw, 2.55rem); }
  .holding-network { min-height: 360px; }
  .holding-network__lines { transform: scale(1.05); }
  .holding-network__core { width: 104px; height: 104px; }
  .holding-node { width: 112px; padding-inline: 2px; }
  .holding-node strong { font-size: 0.72rem; }
  .project-panel__content { min-height: 560px; }
  .project-panel h3 { font-size: 1.85rem; }
  .project-panel__visual { min-height: 270px; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-logo__tile,
  .brand-logo__piece,
  .brand-logo__wordmark,
  .brand-logo__hero-label,
  .holding-hero__copy,
  .holding-network,
  .network-line,
  .network-endpoint,
  .holding-network__core-frame,
  .holding-network__core .brand-logo__piece,
  .holding-node,
  .project-tabpanel,
  .project-visual__path,
  .project-visual__point,
  .visual-module,
  .chart-pulse,
  .flow-pulse,
  .process-line::after {
    animation: none !important;
  }
  .network-line { stroke-dashoffset: 0; }
  .network-endpoint { opacity: 0.62; }
  .holding-node,
  .project-visual__point,
  .visual-module { opacity: 1; }
  .brand-logo:hover .brand-logo__piece,
  .brand-logo:focus-visible .brand-logo__piece { transform: none; }
  .js .process-line::before,
  .js .animated-process.is-visible::before,
  .js .process-line li,
  .js .animated-process.is-visible li,
  .js .function-item.reveal,
  .js .function-item.reveal.is-visible,
  .js .function-item.reveal h3,
  .js .function-item.reveal p,
  .js .function-item.reveal.is-visible h3,
  .js .function-item.reveal.is-visible p {
    transform: none;
    opacity: 1;
  }
  .process-line::after { opacity: 0; }
}

.project-hero {
  background: #fff;
}
.project-hero__grid > div:first-child {
  animation: project-copy-in 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes project-copy-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.project-visual {
  isolation: isolate;
  background:
    linear-gradient(rgba(0, 0, 0, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.045) 1px, transparent 1px), #fafafa;
  background-size: 44px 44px;
  animation: project-visual-in 720ms 160ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.project-visual::before {
  z-index: -1;
  opacity: 0.35;
  background: radial-gradient(circle at 50% 50%, rgba(0, 102, 255, 0.08), transparent 58%);
}
@keyframes project-visual-in {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}
.project-visual__canvas {
  position: absolute;
  inset: 44px 20px 56px;
  display: grid;
  place-items: center;
}
.project-visual__canvas svg {
  width: min(96%, 600px);
  height: auto;
}
.project-visual__number,
.project-visual__label {
  z-index: 2;
}
.project-visual__label {
  padding: 9px 12px;
  border-left: 2px solid var(--accent);
  background: rgba(250, 250, 250, 0.9);
  backdrop-filter: blur(8px);
}
.capability-grid article {
  transition: background-color 180ms ease, transform 180ms ease;
}
.capability-grid article:hover {
  background: #fafafa;
  transform: translateY(-2px);
}
.project-process li::before {
  position: absolute;
  top: -4px;
  left: 27px;
  width: 8px;
  height: 8px;
  border: 1px solid var(--accent);
  background: #fff;
  content: "";
}
.project-process li {
  position: relative;
}
.project-process li:first-child::after {
  position: absolute;
  top: -2px;
  left: 29px;
  width: 5px;
  height: 5px;
  background: var(--accent);
  content: "";
  animation: process-point-pulse 3.8s ease-in-out infinite;
}
@keyframes process-point-pulse {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.45); }
}
@media (prefers-reduced-motion: reduce) {
  .project-hero__grid > div:first-child,
  .project-visual,
  .project-process li:first-child::after {
    animation: none !important;
  }
}
