@font-face {
  font-family: "IBM Plex Sans Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/ibm-plex/IBMPlexSansCondensed-Bold.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/ibm-plex/IBMPlexSans-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/ibm-plex/IBMPlexSans-Medium.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/ibm-plex/IBMPlexSans-Bold.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/ibm-plex/IBMPlexMono-Medium.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --black: #050607;
  --graphite: #0d1011;
  --graphite-2: #15191b;
  --paper: #f4f4f1;
  --paper-dim: #c7c9c3;
  --muted: #8b918c;
  --signal: #b99a6a;
  --line: #2d3335;
  --line-soft: rgba(244, 244, 241, 0.14);
  --field: rgba(244, 244, 241, 0.035);
  --max-width: 1320px;
  --font-hero: "IBM Plex Sans Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-sans: "IBM Plex Sans", Arial, "Helvetica Neue", Helvetica, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 82% 0%, rgba(244, 244, 241, 0.055), transparent 24%),
    linear-gradient(125deg, rgba(185, 154, 106, 0.035), transparent 38%),
    var(--black);
  color: var(--paper);
  font-family: var(--font-sans);
  font-weight: 400;
  font-feature-settings: "kern" 1, "liga" 1;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
}

a:focus-visible,
button:focus-visible {
  outline: 1px solid rgba(244, 244, 241, 0.76);
  outline-offset: 5px;
}

button {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.section-inner {
  width: min(100% - 44px, var(--max-width));
  margin: 0 auto;
  padding: clamp(74px, 9vw, 124px) 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(5, 6, 7, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.brand img {
  display: block;
  width: 42px;
  height: 42px;
  filter: grayscale(1) contrast(1.18);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 28px;
  color: var(--paper-dim);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--paper);
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
}

.page-main {
  min-height: calc(100vh - 88px);
}

#home,
#firm,
#operating-lines,
#contact {
  scroll-margin-top: 88px;
}

.page-panel {
  min-height: calc(100vh - 88px);
  background: var(--black);
  border-bottom: 1px solid var(--line);
}

.page-heading {
  max-width: 980px;
  margin-bottom: clamp(42px, 6vw, 72px);
}

.page-title {
  max-width: 900px;
  margin-bottom: 0;
  font-family: var(--font-sans);
  font-size: clamp(3.1rem, 6vw, 5.25rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.94;
}

.page-lead {
  max-width: 760px;
  margin: 26px 0 0;
  color: var(--paper-dim);
  font-size: clamp(1.08rem, 1.55vw, 1.32rem);
  line-height: 1.55;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 88px);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 73% 16%, rgba(244, 244, 241, 0.09), transparent 28%),
    radial-gradient(ellipse at 58% 82%, rgba(185, 154, 106, 0.06), transparent 34%),
    linear-gradient(122deg, #080a0b 0%, #050607 48%, #010202 100%);
  border-bottom: 1px solid var(--line);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero::before {
  z-index: 5;
  /* K3 forced visibility pass: keep text safe without burying the media stack. */
  background:
    linear-gradient(90deg, rgba(5, 6, 7, 0.94) 0%, rgba(5, 6, 7, 0.48) 42%, rgba(5, 6, 7, 0.04) 100%),
    radial-gradient(ellipse at 77% 45%, transparent 0%, rgba(5, 6, 7, 0.2) 74%),
    linear-gradient(180deg, rgba(5, 6, 7, 0), rgba(5, 6, 7, 0.58));
}

.hero::after {
  z-index: 8;
  background:
    linear-gradient(180deg, rgba(5, 6, 7, 0), rgba(5, 6, 7, 0.64)),
    linear-gradient(90deg, rgba(5, 6, 7, 0.9), rgba(5, 6, 7, 0.28) 52%, transparent 78%);
  opacity: 0.78;
}

.hero-media-shell {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-media-shell::before,
.hero-media-shell::after,
.hero-texture {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-media-shell::before {
  z-index: 8;
  margin: clamp(18px, 3vw, 42px);
  border: 1px solid rgba(244, 244, 241, 0.12);
  box-shadow: inset 0 0 0 1px rgba(185, 154, 106, 0.035);
  opacity: 0.88;
}

.hero-media-shell::after {
  z-index: 7;
  background:
    linear-gradient(90deg, rgba(244, 244, 241, 0.046) 1px, transparent 1px),
    linear-gradient(180deg, rgba(244, 244, 241, 0.034) 1px, transparent 1px);
  background-size: 104px 104px;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.92) 38%, transparent 100%);
  opacity: 0.68;
}

.hero-texture--poster {
  z-index: 1;
  background: url("assets/media/hero/hero-poster.webp") center 42% / cover no-repeat;
  filter: contrast(1.22) brightness(0.9) saturate(0.6);
  opacity: 0.64;
  transform: scale(1.03);
  transform-origin: 68% 46%;
}

.hero-texture--topology {
  z-index: 3;
  background: url("assets/memory-systems-field.svg?v=2er1f-memory") center 48% / min(1500px, 118vw) auto no-repeat;
  filter: contrast(1.18) brightness(1.16);
  opacity: 0.76;
  mix-blend-mode: screen;
  transform: scale(1.03);
  transform-origin: 70% 48%;
}

.hero-texture--signal {
  z-index: 4;
  background:
    radial-gradient(ellipse at 72% 42%, rgba(244, 244, 241, 0.16), transparent 13%),
    radial-gradient(ellipse at 80% 65%, rgba(185, 154, 106, 0.15), transparent 18%),
    repeating-linear-gradient(112deg, transparent 0 44px, rgba(244, 244, 241, 0.08) 44px 45px, transparent 45px 88px),
    linear-gradient(112deg, transparent 18%, rgba(185, 154, 106, 0.16) 46%, transparent 68%);
  opacity: 0.82;
  mix-blend-mode: screen;
}

.hero-texture--scan {
  z-index: 9;
  background:
    linear-gradient(180deg, transparent 0%, rgba(244, 244, 241, 0.11) 50%, transparent 100%),
    linear-gradient(90deg, transparent 0%, rgba(185, 154, 106, 0.08) 50%, transparent 100%);
  opacity: 0.22;
  transform: translateY(-68%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 6;
  background:
    linear-gradient(90deg, rgba(244, 244, 241, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(244, 244, 241, 0.03) 1px, transparent 1px);
  background-size: 126px 126px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.78), transparent 82%);
  opacity: 0.64;
}

.hero-grid::after {
  content: "";
  position: absolute;
  inset: auto 0 12% 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244, 244, 241, 0.18), transparent);
  opacity: 0.78;
}

.hero .section-inner {
  position: relative;
  z-index: 10;
  min-height: calc(100vh - 88px);
  padding-top: clamp(70px, 8vw, 116px);
  padding-bottom: clamp(70px, 8vw, 116px);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}

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

.hero h1 {
  max-width: 690px;
  margin-bottom: 28px;
  font-family: var(--font-hero);
  font-size: clamp(4.35rem, 7.1vw, 6.7rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.9;
  text-wrap: balance;
}

.hero-secondary {
  max-width: 920px;
  margin-bottom: 32px;
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: clamp(1.35rem, 2vw, 1.78rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.08;
}

.lead {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--paper-dim);
  font-size: clamp(1.04rem, 1.35vw, 1.22rem);
  font-weight: 400;
  line-height: 1.65;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-texture--poster,
  .hero-texture--topology {
    animation: hero-drift 26s ease-in-out infinite alternate;
  }

  .hero-texture--scan {
    animation: slow-scan 12s linear infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@keyframes slow-scan {
  from {
    transform: translateY(-75%);
  }

  to {
    transform: translateY(75%);
  }
}

@keyframes hero-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.1) translate3d(-1.2%, 1.1%, 0);
  }
}

.page-copy {
  max-width: 860px;
}

.firm-page,
.operating-page,
.contact-page {
  position: relative;
  overflow: hidden;
}

.firm-page {
  min-height: 0;
  isolation: isolate;
}

.firm-page::before,
.operating-page::before,
.contact-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 6, 7, 0.92), rgba(5, 6, 7, 0.62), rgba(5, 6, 7, 0.96)),
    url("assets/memory-systems-field.svg?v=2er1f-memory") right center / min(76vw, 1120px) auto no-repeat;
  filter: grayscale(1) contrast(1.12);
  opacity: 0.16;
}

.firm-page::after,
.operating-page::after,
.contact-page::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 0;
  height: 48%;
  pointer-events: none;
  background:
    linear-gradient(rgba(244, 244, 241, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 244, 241, 0.035) 1px, transparent 1px);
  background-size: 86px 86px;
  mask-image: linear-gradient(180deg, transparent, black 32%, black);
  opacity: 0.22;
  transform: perspective(900px) rotateX(58deg) scale(1.55) translateY(18%);
  transform-origin: bottom center;
}

.firm-page .section-inner,
.operating-page .section-inner,
.contact-page .section-inner {
  position: relative;
  z-index: 1;
}

.firm-page .section-inner {
  padding-top: clamp(82px, 8vw, 124px);
  padding-bottom: clamp(82px, 8vw, 124px);
}

.firm-page::before {
  background:
    linear-gradient(90deg, rgba(5, 6, 7, 0.99) 0%, rgba(5, 6, 7, 0.9) 34%, rgba(5, 6, 7, 0.42) 72%, rgba(5, 6, 7, 0.8) 100%),
    linear-gradient(180deg, rgba(5, 6, 7, 0.02), rgba(5, 6, 7, 0.78)),
    url("assets/memory-systems-field.svg?v=2er1f-memory") right 50% / min(1500px, 110vw) auto no-repeat;
  filter: none;
  opacity: 1;
}

.firm-page::after {
  height: 78%;
  opacity: 0.2;
}

.firm-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.52fr) minmax(320px, 0.48fr);
  gap: clamp(34px, 5vw, 88px);
  align-items: center;
}

.firm-copy {
  max-width: var(--max-width);
}

.firm-copy .page-title {
  margin-bottom: 24px;
}

.firm-statement {
  max-width: 780px;
  margin-bottom: 24px;
  color: var(--paper);
  font-size: clamp(1.58rem, 2.75vw, 2.68rem);
  font-weight: 700;
  line-height: 1.08;
}

.page-copy p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 18px;
  color: var(--paper-dim);
  font-size: clamp(1.04rem, 1.45vw, 1.2rem);
  line-height: 1.64;
}

.firm-logic {
  position: relative;
  display: grid;
  gap: 0;
  width: 100%;
  max-width: 560px;
  justify-self: end;
  border-top: 1px solid rgba(244, 244, 241, 0.24);
  border-bottom: 1px solid rgba(244, 244, 241, 0.16);
  background:
    linear-gradient(90deg, rgba(244, 244, 241, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(244, 244, 241, 0.035) 1px, transparent 1px),
    rgba(5, 6, 7, 0.28);
  background-size: 92px 100%, 100% 58px, auto;
  box-shadow: inset 0 0 0 1px rgba(244, 244, 241, 0.045);
}

.firm-logic::before {
  content: "";
  position: absolute;
  inset: 14px 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(185, 154, 106, 0.56), transparent);
  opacity: 0.8;
}

.firm-logic span {
  position: relative;
  padding: 18px 22px;
  color: rgba(244, 244, 241, 0.74);
  font-family: var(--font-mono);
  font-size: clamp(0.72rem, 0.9vw, 0.82rem);
  font-weight: 500;
  border-bottom: 1px solid rgba(244, 244, 241, 0.1);
  text-transform: uppercase;
}

.firm-logic span:last-child {
  color: var(--paper);
  border-bottom: 0;
}

.operating-page .section-inner {
  padding-top: clamp(82px, 9vw, 126px);
}

.operating-lines {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(244, 244, 241, 0.26);
  background:
    linear-gradient(90deg, rgba(244, 244, 241, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(244, 244, 241, 0.03) 1px, transparent 1px);
  background-size: 120px 100%, 100% 100%;
}

.operating-lines li {
  position: relative;
  display: grid;
  grid-template-columns: minmax(82px, 0.12fr) minmax(0, 1fr);
  gap: clamp(22px, 3.2vw, 54px);
  min-height: clamp(142px, 11vw, 174px);
  padding: clamp(24px, 2.8vw, 34px) clamp(18px, 4vw, 72px) clamp(24px, 2.8vw, 34px) 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(244, 244, 241, 0.2);
  background:
    linear-gradient(90deg, rgba(244, 244, 241, 0.035), transparent 24%),
    linear-gradient(180deg, rgba(244, 244, 241, 0.02), rgba(5, 6, 7, 0.18)),
    rgba(5, 6, 7, 0.42);
}

.operating-lines li::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 1px;
  background: rgba(244, 244, 241, 0.28);
  opacity: 0.58;
}

.operating-lines li::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(38vw, 520px);
  height: 100%;
  pointer-events: none;
  background: url("assets/memory-systems-field.svg?v=2er1f-memory") center / cover no-repeat;
  opacity: 0.16;
  transform: translateX(18%);
}

.operating-lines .line-memory {
  min-height: clamp(180px, 14vw, 230px);
  background:
    radial-gradient(ellipse at 70% 42%, rgba(185, 154, 106, 0.08), transparent 38%),
    linear-gradient(90deg, rgba(244, 244, 241, 0.07), transparent 30%),
    linear-gradient(180deg, rgba(244, 244, 241, 0.035), rgba(5, 6, 7, 0.2)),
    rgba(5, 6, 7, 0.5);
  border-top: 1px solid rgba(185, 154, 106, 0.36);
  border-bottom-color: rgba(185, 154, 106, 0.32);
}

.operating-lines .line-memory::after {
  width: min(52vw, 720px);
  opacity: 0.28;
  transform: translateX(10%) scale(1.08);
}

.operating-lines .line-memory .line-number {
  color: rgba(244, 244, 241, 0.96);
}

.operating-lines .line-memory h3 {
  font-size: clamp(1.76rem, 3.2vw, 2.72rem);
}

.operating-lines .line-memory .artifact-cue {
  color: rgba(185, 154, 106, 0.95);
}

.line-trace {
  position: absolute;
  left: 0;
  top: 0;
  width: 30%;
  height: 1px;
  background: linear-gradient(90deg, rgba(244, 244, 241, 0.46), rgba(185, 154, 106, 0.28), transparent);
  opacity: 0.42;
}

.line-number {
  position: relative;
  display: grid;
  place-items: start;
  min-height: 100%;
  padding: 0 0 0 clamp(14px, 1.8vw, 24px);
  color: rgba(244, 244, 241, 0.86);
  font-family: var(--font-sans);
  font-size: clamp(1.18rem, 2.2vw, 1.72rem);
  font-weight: 700;
  line-height: 1;
}

.line-number::after {
  content: "";
  position: absolute;
  top: clamp(38px, 4vw, 56px);
  bottom: 0;
  left: clamp(17px, 1.8vw, 27px);
  width: 1px;
  background: linear-gradient(180deg, rgba(244, 244, 241, 0.34), rgba(185, 154, 106, 0.22), transparent);
}

.operating-lines h3 {
  margin-bottom: 10px;
  font-family: var(--font-sans);
  font-size: clamp(1.36rem, 2.35vw, 1.92rem);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  max-width: 760px;
}

.operating-lines p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--paper-dim);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.58;
}

.line-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.28fr);
  gap: 10px clamp(18px, 3vw, 46px);
  align-items: start;
}

.line-body h3,
.line-body > p:not(.artifact-cue):not(.line-chips) {
  grid-column: 1;
}

.artifact-cue,
.line-chips {
  grid-column: 2;
}

.operating-lines .artifact-cue {
  align-self: start;
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.4;
  text-transform: uppercase;
}

.operating-lines .line-chips {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  line-height: 1.45;
  text-transform: uppercase;
}

.contact-page {
  min-height: 0;
  background:
    radial-gradient(circle at 78% 24%, rgba(185, 154, 106, 0.045), transparent 26%),
    var(--black);
}

.contact-inner {
  min-height: 0;
  display: grid;
  align-items: center;
  justify-items: start;
  padding-top: clamp(58px, 7vw, 92px);
  padding-bottom: clamp(66px, 8vw, 104px);
}

.contact-terminal {
  position: relative;
  max-width: 540px;
  padding: 0;
}

.contact-rule {
  display: block;
  width: min(440px, 72vw);
  height: 1px;
  margin-bottom: 18px;
  background:
    linear-gradient(90deg, rgba(185, 154, 106, 0.68), rgba(244, 244, 241, 0.16) 54%, transparent);
}

.contact-terminal h1,
.contact-terminal h2 {
  margin: 0 0 22px;
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.3;
  text-transform: uppercase;
}

.contact-terminal p {
  max-width: 540px;
  margin-bottom: 24px;
  color: var(--paper-dim);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.58;
}

address {
  font-style: normal;
}

address a {
  display: inline-block;
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.18vw, 1.16rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.22;
  overflow-wrap: anywhere;
  text-decoration-color: rgba(185, 154, 106, 0.5);
}

.site-footer {
  background: var(--black);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-inner {
  padding-top: 28px;
  padding-bottom: 32px;
}

.footer-brand,
.footer-location {
  margin: 0;
  font-family: var(--font-sans);
  letter-spacing: 0;
  text-transform: uppercase;
}

.footer-brand {
  font-size: 0.72rem;
  font-weight: 700;
}

.footer-location {
  margin-top: 8px;
  color: rgba(199, 201, 195, 0.58);
  font-size: 0.58rem;
  font-weight: 500;
}

@media (max-width: 1080px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .firm-layout {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero,
  .hero .section-inner {
    min-height: 0;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(5, 6, 7, 0.14), rgba(5, 6, 7, 0.86)),
      linear-gradient(90deg, rgba(5, 6, 7, 0.84), rgba(5, 6, 7, 0.3) 58%, rgba(5, 6, 7, 0.58));
  }

  .hero-texture--poster {
    background-position: 57% top;
    opacity: 0.82;
  }

  .hero-texture--topology {
    background-position: center top;
    background-size: max(1040px, 150vw) auto;
    opacity: 0.72;
  }

  .hero .section-inner {
    padding-top: clamp(58px, 9vw, 92px);
    padding-bottom: clamp(78px, 12vw, 120px);
  }

  .firm-page::before {
    background:
      linear-gradient(90deg, rgba(5, 6, 7, 0.98) 0%, rgba(5, 6, 7, 0.84) 50%, rgba(5, 6, 7, 0.54) 100%),
      linear-gradient(180deg, rgba(5, 6, 7, 0.06), rgba(5, 6, 7, 0.82)),
      url("assets/memory-systems-field.svg?v=2er1f-memory") 58% center / 1040px auto no-repeat;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .section-inner {
    width: min(100% - 30px, var(--max-width));
  }

  .page-title {
    font-size: 3.55rem;
    line-height: 0.94;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.95rem, 14vw, 3.55rem);
    line-height: 0.94;
  }

  .hero-secondary {
    font-size: 1.28rem;
  }

  .operating-lines li {
    grid-template-columns: minmax(58px, 0.2fr) minmax(0, 1fr);
    gap: 14px;
    padding-left: 18px;
  }

  .line-body {
    grid-template-columns: 1fr;
  }

  .artifact-cue,
  .line-chips {
    grid-column: 1;
  }

  .operating-lines li::after {
    width: 82vw;
    opacity: 0.28;
  }

  .line-trace {
    width: 70%;
  }

  .firm-page .section-inner {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .firm-logic {
    max-width: none;
    justify-self: stretch;
  }

  .contact-inner {
    padding-top: 54px;
    padding-bottom: 62px;
  }
}

@media (max-width: 480px) {
  .brand {
    font-size: 0.92rem;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .site-nav {
    gap: 10px 18px;
  }

  .hero-media-shell::before {
    margin: 14px;
  }

  .hero-texture--poster {
    background-size: auto 100%;
    background-position: 58% top;
    opacity: 0.72;
  }

  .hero-texture--topology {
    background-size: 980px auto;
    background-position: 48% 10%;
    opacity: 0.62;
  }

  .hero-secondary {
    font-size: 1.08rem;
    line-height: 1.16;
  }

  address a {
    font-size: 1.12rem;
  }
}
