:root {
  color-scheme: dark;
  --bg: #030609;
  --bg-2: #07101a;
  --panel: rgba(12, 17, 24, 0.72);
  --panel-strong: rgba(15, 21, 30, 0.9);
  --line: rgba(191, 213, 255, 0.18);
  --line-soft: rgba(191, 213, 255, 0.1);
  --text: #f4f7fb;
  --muted: #a2adbd;
  --blue: #0a74ff;
  --blue-2: #58a4ff;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -10%, rgba(10, 116, 255, 0.2), transparent 34rem),
    linear-gradient(180deg, #020406 0%, #030609 54%, #020305 100%);
  color: var(--text);
  font-family: "Geist", system-ui, sans-serif;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--blue-2);
  outline-offset: 4px;
}

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

.arrow-icon {
  width: 1.05em;
  height: 1.05em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0.045;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 3px 3px, 5px 5px;
  mix-blend-mode: overlay;
}

.nav-shell {
  position: fixed;
  top: 2.6rem;
  left: 50%;
  z-index: 6;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  width: min(calc(100% - 2rem), 960px);
  padding: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 11, 16, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 1.5rem 4rem rgba(0, 0, 0, 0.28);
  transform: translateX(-50%);
  backdrop-filter: blur(24px);
}

.brand-pill,
.nav-cta {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-weight: 700;
}

.brand-pill {
  gap: 0.8rem;
  padding: 0.35rem 1rem 0.35rem 0.55rem;
  font-size: 1.08rem;
}

.brand-pill img {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.65rem;
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2.7rem);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.nav-links a {
  transition:
    color 600ms var(--ease),
    transform 600ms var(--ease);
}

.nav-links a:hover {
  color: var(--blue-2);
  transform: translateY(-1px);
}

.nav-links a:active,
.nav-cta:active,
.button:active,
.text-link:active {
  transform: translateY(1px) scale(0.99);
}

.nav-cta {
  gap: 0.75rem;
  min-height: 3rem;
  padding: 0 1.35rem;
  background: var(--blue);
  color: white;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 1rem 2.2rem rgba(2, 5, 10, 0.35);
}

.menu-button {
  position: relative;
  display: none;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  cursor: pointer;
}

.menu-button span {
  position: absolute;
  top: 50%;
  left: 0.88rem;
  width: 1.2rem;
  height: 1px;
  border-radius: 1px;
  background: var(--text);
  transition: transform 700ms var(--ease);
}

.menu-button span:first-child {
  transform: translateY(-0.25rem);
}

.menu-button span:last-child {
  transform: translateY(0.25rem);
}

.menu-open .menu-button span:first-child {
  transform: translateY(0) rotate(45deg);
}

.menu-open .menu-button span:last-child {
  transform: translateY(0) rotate(-45deg);
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 5;
  display: grid;
  place-content: center;
  gap: 1.2rem;
  background: rgba(0, 2, 5, 0.92);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-1rem);
  transition:
    opacity 800ms var(--ease),
    transform 800ms var(--ease);
  backdrop-filter: blur(30px);
}

.menu-overlay a {
  font-size: clamp(2.8rem, 13vw, 7rem);
  font-weight: 800;
  opacity: 0;
  transform: translateY(3rem);
  transition:
    opacity 900ms var(--ease),
    transform 900ms var(--ease);
}

.menu-open .menu-overlay {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.menu-open .menu-overlay a {
  opacity: 1;
  transform: translateY(0);
}

.menu-open .menu-overlay a:nth-child(2) { transition-delay: 70ms; }
.menu-open .menu-overlay a:nth-child(3) { transition-delay: 140ms; }
.menu-open .menu-overlay a:nth-child(4) { transition-delay: 210ms; }
.menu-open .menu-overlay a:nth-child(5) { transition-delay: 280ms; }

main {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.section {
  width: min(calc(100% - 6rem), 1480px);
  margin: 0 auto;
  padding: 8.5rem 0;
  scroll-margin-top: 9rem;
}

.hero {
  position: relative;
  display: grid;
  place-items: end center;
  min-height: 100dvh;
  overflow: hidden;
  padding: 8rem 1.25rem 3.7rem;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 50% 48%, rgba(10, 116, 255, 0.14), transparent 26rem),
    linear-gradient(180deg, rgba(3, 6, 9, 0.06), rgba(3, 6, 9, 0.18) 44%, rgba(3, 6, 9, 0.9) 73%, #020305 100%),
    url("assets/generated/sections/padux-hero-clean-reference.png") center top / cover;
  filter: saturate(0.95) contrast(1.04);
  transform: scale(var(--heroScale, 1));
  transform-origin: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse at 50% 56%, transparent 0%, rgba(2, 3, 5, 0.06) 42%, rgba(2, 3, 5, 0.62) 90%),
    linear-gradient(180deg, rgba(2, 3, 5, 0.04) 0%, rgba(2, 3, 5, 0.12) 40%, rgba(2, 3, 5, 0.9) 68%, rgba(2, 3, 5, 0.94) 100%);
}

.hero-glow {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 28rem;
  background: linear-gradient(180deg, transparent, rgba(2, 3, 5, 0.9));
}

.hero-copy {
  display: grid;
  justify-items: center;
  width: min(100%, 980px);
  margin: 0 auto;
  text-align: center;
}

.hero-copy h1 {
  margin: 0 0 1rem;
  font-size: clamp(3.6rem, 5.25vw, 6.35rem);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.03em;
}

.hero-copy h1 span {
  display: block;
}

.hero-copy h1 em,
.proof-copy h2 em {
  color: var(--blue);
  font-style: normal;
}

.hero-copy p {
  max-width: 630px;
  margin: 0 0 2rem;
  color: rgba(244, 247, 251, 0.76);
  font-size: clamp(1rem, 1.4vw, 1.32rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-width: 17.5rem;
  min-height: 3.55rem;
  padding: 0 1.55rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  font-weight: 700;
  transition:
    transform 700ms var(--ease),
    border-color 700ms var(--ease),
    background 700ms var(--ease);
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(10, 116, 255, 0.55);
}

.button.primary {
  border-color: transparent;
  background: var(--blue);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 1.2rem 2.4rem rgba(2, 5, 10, 0.32);
}

.button.ghost {
  background: rgba(5, 8, 12, 0.48);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 2rem;
  color: var(--blue-2);
  font-family: "Space Mono", monospace;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--blue);
}

.services {
  display: grid;
  grid-template-columns: minmax(18rem, 0.58fr) minmax(0, 1fr);
  gap: 1.2rem;
}

.services-copy {
  padding-top: 0.8rem;
}

.services-copy h2,
.method-intro h2,
.proof-copy h2,
.contact-card h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(3rem, 4.6vw, 5.7rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.services-copy h2 em,
.method-intro h2 em,
.contact-card h2 em {
  color: var(--blue);
  font-style: normal;
}

.services-copy p:not(.section-kicker),
.method-intro p:not(.section-kicker),
.proof-copy p,
.contact-card p {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1.65;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  width: max-content;
  margin-top: 1.8rem;
  color: white;
  font-size: 1.2rem;
  text-decoration: underline;
  text-decoration-color: var(--blue);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.7rem;
  transition:
    color 650ms var(--ease),
    transform 650ms var(--ease);
}

.text-link:hover {
  color: var(--blue-2);
  transform: translateY(-1px);
}

.service-feature {
  position: relative;
  min-height: 32rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  background:
    linear-gradient(90deg, rgba(6, 10, 16, 0.98) 0%, rgba(6, 10, 16, 0.72) 32%, rgba(6, 10, 16, 0.08) 72%),
    url("assets/generated/sections/services-feature-clean.png") right center / cover no-repeat,
    radial-gradient(circle at 65% 48%, rgba(10, 116, 255, 0.1), transparent 22rem);
}

.service-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 1;
  background:
    linear-gradient(90deg, rgba(6, 10, 16, 0.92) 0%, rgba(6, 10, 16, 0.68) 29%, rgba(6, 10, 16, 0.02) 68%, rgba(6, 10, 16, 0.12) 100%),
    linear-gradient(180deg, rgba(6, 10, 16, 0.1), rgba(6, 10, 16, 0.26));
  mix-blend-mode: normal;
}

.count {
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.4rem;
  border: 1px solid rgba(10, 116, 255, 0.75);
  border-radius: 0.35rem;
  color: var(--blue-2);
  font-family: "Space Mono", monospace;
  font-size: 1rem;
}

.service-feature > .count {
  position: absolute;
  left: 2.3rem;
  top: 2.3rem;
  z-index: 1;
}

.service-feature h3,
.service-feature p {
  position: relative;
  z-index: 1;
  width: min(18rem, calc(100% - 4rem));
  margin-left: 2.3rem;
}

.service-feature h3 {
  margin-top: 7.3rem;
  margin-bottom: 1.2rem;
  font-size: 2rem;
  line-height: 1.05;
}

.service-feature p {
  color: var(--muted);
  line-height: 1.5;
}

.service-card::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 0;
  top: 54%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(10, 116, 255, 0.78), transparent);
  opacity: 0.78;
}

.service-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(18rem, 0.82fr);
  grid-template-rows: repeat(2, minmax(11.8rem, auto));
  gap: 1rem;
  margin-top: 1.15rem;
  scroll-margin-top: 8rem;
}

.service-card {
  position: relative;
  min-height: 15rem;
  overflow: hidden;
  padding: 1.7rem;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: linear-gradient(145deg, rgba(17, 24, 34, 0.86), rgba(7, 11, 17, 0.82));
}

.service-card:nth-child(1) {
  grid-row: span 2;
  display: grid;
  grid-template-columns: 5.6rem 1fr;
  align-content: center;
  column-gap: 1.4rem;
  min-height: 24rem;
  background:
    radial-gradient(circle at 78% 70%, rgba(10, 116, 255, 0.25) 0 0.08rem, transparent 0.1rem) 0 0 / 0.95rem 0.95rem,
    radial-gradient(circle at 76% 72%, rgba(10, 116, 255, 0.13), transparent 15rem),
    linear-gradient(145deg, rgba(17, 24, 34, 0.88), rgba(7, 11, 17, 0.84));
}

.service-card:nth-child(1) .count,
.service-card:nth-child(1) a {
  grid-column: 1 / -1;
}

.service-card:nth-child(1) .card-icon {
  grid-column: 1;
  grid-row: 2 / span 2;
  margin-top: 0.2rem;
}

.service-card:nth-child(1) h3,
.service-card:nth-child(1) p {
  grid-column: 2;
}

.service-card:nth-child(2),
.service-card:nth-child(3) {
  min-height: 11.8rem;
  padding-left: 7.2rem;
}

.service-card:nth-child(4) {
  grid-column: 3;
  grid-row: 1 / span 2;
  min-height: 24rem;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  margin: 1.9rem 0 1.45rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  color: var(--blue-2);
  font-style: normal;
}

.card-icon svg,
.method-icon svg {
  width: 1.85rem;
  height: 1.85rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin: 0 0 1.1rem;
  font-size: clamp(1.55rem, 1.75vw, 2rem);
  font-weight: 500;
}

.service-card p {
  color: var(--muted);
  line-height: 1.55;
}

.service-card a {
  position: absolute;
  display: inline-flex;
  left: 1.45rem;
  bottom: 1.5rem;
  color: var(--blue-2);
}

.service-card:nth-child(2) .count,
.service-card:nth-child(3) .count {
  position: absolute;
  left: 1.7rem;
  top: 1.7rem;
}

.service-card:nth-child(2) .card-icon,
.service-card:nth-child(3) .card-icon {
  position: absolute;
  left: 1.8rem;
  top: 4.9rem;
  width: 3.7rem;
  height: 3.7rem;
  margin: 0;
  border: 0;
  background: transparent;
}

.method {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(25rem, 0.72fr);
  gap: clamp(3rem, 5vw, 5.4rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

.system-diagram {
  position: relative;
  display: block;
  min-height: clamp(34rem, 56vw, 54rem);
  margin-top: 0;
  overflow: hidden;
  border: 1px solid rgba(191, 213, 255, 0.12);
  border-radius: 1rem;
  opacity: 0.98;
  background:
    linear-gradient(180deg, rgba(3, 6, 9, 0.04), rgba(3, 6, 9, 0.28)),
    url("assets/generated/sections/reference-method-diagram-crop.png") center bottom / cover no-repeat;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 1.4rem 4rem rgba(0, 0, 0, 0.24);
}

.method-stack {
  position: relative;
  display: grid;
  gap: 0.9rem;
  padding-top: 0;
}

.method-intro {
  margin-bottom: 1.15rem;
}

.method-intro .section-kicker {
  margin-bottom: 1.1rem;
}

.method-intro .section-kicker::before {
  display: none;
}

.method-intro h2 {
  max-width: 42rem;
  font-size: clamp(3.4rem, 4.5vw, 5.5rem);
}

.method-intro p:not(.section-kicker) {
  max-width: 36rem;
  margin-bottom: 1.65rem;
}

.method-line {
  position: absolute;
  left: -2rem;
  top: 17.4rem;
  bottom: 9rem;
  width: 2px;
  background: var(--blue);
  box-shadow: 0 0 0.8rem rgba(10, 116, 255, 0.22);
}

.method-stack article {
  position: relative;
  display: grid;
  grid-template-columns: 6rem 1fr 4.4rem;
  align-items: center;
  min-height: 8.7rem;
  padding: 1.25rem 1.55rem;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: linear-gradient(145deg, rgba(31, 39, 52, 0.92), rgba(12, 17, 24, 0.88));
  box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, 0.24);
}

.method-stack article:nth-of-type(1) { z-index: 4; }
.method-stack article:nth-of-type(2) { z-index: 3; }
.method-stack article:nth-of-type(3) { z-index: 2; }
.method-stack article:nth-of-type(4) { z-index: 1; }

.method-stack article > span {
  color: var(--blue);
  font-size: clamp(2.5rem, 3.2vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.08em;
}

.method-stack h3 {
  margin: 0 0 0.35rem;
  font-size: 1.55rem;
}

.method-stack p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.method-icon {
  display: grid;
  place-items: center;
  width: 3.45rem;
  height: 3.45rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  color: var(--blue);
}

.method-cta {
  display: inline-flex;
  align-items: center;
  gap: 1.4rem;
  justify-self: start;
  margin-top: 2.6rem;
  padding-left: 1.8rem;
  color: white;
  font-size: 1.45rem;
}

.proof {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(25rem, 0.74fr);
  gap: clamp(3rem, 5vw, 5rem);
  align-items: center;
  position: relative;
  z-index: 2;
}

.dossier {
  position: relative;
  min-height: clamp(34rem, 52vw, 50rem);
  border: 1px solid var(--line-soft);
  border-radius: 1rem;
  background:
    linear-gradient(90deg, rgba(3, 6, 9, 0.08), rgba(3, 6, 9, 0.02)),
    url("assets/generated/sections/reference-proof-dossier-crop.png") center / cover no-repeat;
  box-shadow:
    -1.4rem 1.2rem 0 rgba(13, 18, 25, 0.72),
    -2.8rem 2.3rem 0 rgba(9, 13, 19, 0.92),
    0 1.5rem 5rem rgba(0, 0, 0, 0.3);
  transform: rotate(0.6deg);
}

.corner {
  position: absolute;
  width: 8rem;
  height: 8rem;
  border-color: rgba(255, 255, 255, 0.85);
}

.corner-a {
  left: -1px;
  top: -1px;
  border-left: 1px solid;
  border-top: 1px solid;
}

.corner-b {
  right: -1px;
  bottom: -1px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.proof-copy .section-kicker {
  justify-content: space-between;
  width: min(100%, 20rem);
}

.proof-copy .section-kicker::before {
  display: none;
}

.proof-copy h2 {
  font-weight: 700;
  font-size: clamp(3.4rem, 4.6vw, 5.8rem);
}

.proof-copy table {
  width: 100%;
  margin: 2.5rem 0 1.2rem;
  border-collapse: collapse;
  border: 1px solid var(--line);
}

.proof-copy th,
.proof-copy td {
  padding: 1.25rem 1.1rem;
  border: 1px solid var(--line);
  text-align: left;
  font-weight: 400;
}

.proof-copy th {
  width: 42%;
  color: var(--blue-2);
}

.contact {
  width: 100%;
  padding-top: 3rem;
  padding-bottom: 0;
}

.contact-card {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: clamp(34rem, 62vw, 52rem);
  overflow: hidden;
  padding: clamp(2.5rem, 9vw, 7rem) 1.5rem;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(2, 3, 5, 0.08) 0%, rgba(2, 3, 5, 0.38) 42%, rgba(2, 3, 5, 0.96) 100%),
    radial-gradient(circle at 49% 31%, rgba(10, 116, 255, 0.18), transparent 18rem),
    linear-gradient(132deg, rgba(25, 30, 38, 0.9) 0 32%, rgba(9, 12, 17, 0.98) 32% 100%);
  text-align: center;
}

.contact-card::before {
  content: "";
  position: absolute;
  left: 18%;
  right: 7%;
  top: -12%;
  height: 41%;
  border-radius: 0.3rem 0.3rem 1.8rem 1.8rem;
  background:
    linear-gradient(92deg, transparent 0 28%, rgba(10, 116, 255, 0.95) 28.1% 28.7%, transparent 29%),
    linear-gradient(180deg, rgba(48, 55, 66, 0.5), rgba(10, 13, 18, 0.95));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 2.6rem 5rem rgba(0, 0, 0, 0.5);
  transform: skewX(-18deg) rotate(-2.5deg);
}

.contact-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 24%;
  width: 43%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--blue-2), transparent);
  box-shadow: 0 0 1.4rem rgba(10, 116, 255, 0.65);
}

.contact-card h2 {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin-top: 10rem;
  font-size: clamp(3.1rem, 4.6vw, 5.7rem);
  font-weight: 500;
}

.contact-card p:not(.section-kicker) {
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
}

.contact-card .button,
.cta-meta {
  position: relative;
  z-index: 1;
}

.cta-meta {
  margin-top: 1.55rem;
  color: rgba(244, 247, 251, 0.42);
  font-family: "Space Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
}

.cta-meta span {
  margin: 0 0.8rem;
  color: var(--blue-2);
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: min(calc(100% - 6rem), 1480px);
  margin: -5.8rem auto 0;
  padding: 1.5rem 0 2.6rem;
  border-top: 1px solid rgba(191, 213, 255, 0.18);
  background: transparent;
  color: var(--muted);
  font-family: "Space Mono", monospace;
  font-size: 0.74rem;
  position: relative;
  z-index: 2;
}

.footer-brand {
  margin-right: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: white;
  font-family: "Geist", system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.footer-brand img {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
}

footer a:last-child {
  margin-left: auto;
}

.js .reveal {
  opacity: 0;
  transform: translateY(4rem);
  filter: blur(10px);
}

.js .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition:
    opacity 1000ms var(--ease),
    transform 1000ms var(--ease),
    filter 1000ms var(--ease);
}

@media (max-width: 1180px) {
  .section {
    width: min(calc(100% - 2rem), 820px);
  }

  .services,
  .method,
  .proof {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .service-card:nth-child(1),
  .service-card:nth-child(2),
  .service-card:nth-child(3),
  .service-card:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
    margin-top: 0;
  }

  .service-card:nth-child(1) {
    grid-template-columns: 1fr;
  }

  .service-card:nth-child(1) .count,
  .service-card:nth-child(1) .card-icon,
  .service-card:nth-child(1) h3,
  .service-card:nth-child(1) p,
  .service-card:nth-child(1) a {
    grid-column: auto;
    grid-row: auto;
  }

  .service-card:nth-child(2),
  .service-card:nth-child(3) {
    padding-left: 1.7rem;
  }

  .service-card:nth-child(2) .count,
  .service-card:nth-child(3) .count,
  .service-card:nth-child(2) .card-icon,
  .service-card:nth-child(3) .card-icon {
    position: static;
  }

  .service-card:nth-child(2) .card-icon,
  .service-card:nth-child(3) .card-icon {
    width: 4.5rem;
    height: 4.5rem;
    margin: 1.9rem 0 1.45rem;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  }

  .dossier {
    min-height: 38rem;
  }
}

@media (max-width: 820px) {
  .nav-shell {
    top: 1rem;
    grid-template-columns: auto auto;
    width: calc(100% - 1rem);
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .menu-button {
    justify-self: end;
    display: block;
  }

  .brand-pill {
    font-size: 0.9rem;
  }

  .hero {
    min-height: 100dvh;
    padding: 8rem 1rem 3.2rem;
    place-items: end center;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 12vw, 4.4rem);
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(3, 6, 9, 0.2), rgba(3, 6, 9, 0.88) 64%, rgba(2, 3, 5, 0.96)),
      url("assets/generated/sections/padux-hero-clean-reference.png") center top / cover;
  }

  .button {
    width: 100%;
    min-width: 0;
  }

  .hero-actions,
  .service-grid {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    width: min(100%, 40rem);
  }

  .section {
    width: calc(100% - 1rem);
    padding: 5.5rem 0;
    scroll-margin-top: 6rem;
  }

  .services-copy h2,
  .method-intro h2,
  .proof-copy h2,
  .contact-card h2 {
    font-size: clamp(2.7rem, 13vw, 4.2rem);
  }

  .service-feature {
    min-height: 28rem;
  }

  .service-card {
    min-height: 19rem;
  }

  .system-diagram {
    min-height: 24rem;
  }

  .method-stack article {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .method-line {
    display: none;
  }

  .method-stack article > span {
    font-size: 3rem;
  }

  .dossier {
    min-height: 30rem;
    overflow: hidden;
  }

  .proof-copy table,
  .proof-copy tbody,
  .proof-copy tr,
  .proof-copy th,
  .proof-copy td {
    display: block;
    width: 100%;
  }

  footer {
    width: calc(100% - 1rem);
    margin-top: -4rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-brand,
  footer a:last-child {
    margin-left: 0;
    margin-right: 0;
  }
}
