:root {
  --night: #0b1220;
  --night-2: #0a0e1a;
  --night-3: #111a2b;
  --paper: #edefea;
  --paper-2: #f8f8f3;
  --ink: #0D1B2A;
  --muted: #5A6A85;
  --soft: #cbd2c8;
  --green: #1A4FAA;
  --green-2: #2660C0;
  --teal: #2B7FD4;
  --cream: #fbf8ef;
  --line-dark: rgba(237, 239, 234, 0.13);
  --line-light: rgba(13, 27, 42, 0.13);
  --shadow: 0 24px 70px rgba(10, 14, 26, 0.18);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--cream);
  color: var(--night);
  border-radius: 4px;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(237, 239, 234, 0.12);
  background: rgba(10, 14, 26, 0.88);
  color: var(--cream);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1180px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(237, 239, 234, 0.32);
  border-radius: 4px;
  color: var(--cream);
  font-family: var(--serif);
  font-size: 19px;
  background: linear-gradient(145deg, rgba(26, 79, 170, 0.7), rgba(43, 127, 212, 0.36));
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text strong {
  font-size: 17px;
}

.brand-text span {
  color: rgba(237, 239, 234, 0.64);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 10px 12px;
  border-radius: 4px;
  color: rgba(237, 239, 234, 0.76);
  font-size: 14px;
  transition: color 180ms ease, background 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link[aria-current="page"] {
  background: rgba(237, 239, 234, 0.08);
  color: var(--cream);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(237, 239, 234, 0.2);
  border-radius: 4px;
  background: transparent;
  color: var(--cream);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

/* ── Nav dropdown ─────────────────────────────────── */
.nav-dropdown {
  position: relative;
}
.nav-dropdown > .nav-link::after {
  content: " ▾";
  font-size: 0.65em;
  opacity: 0.55;
  vertical-align: middle;
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--night);
  border: 1px solid rgba(237, 239, 234, 0.14);
  border-radius: 8px;
  padding: 0.4rem 0;
  min-width: 168px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.32);
  z-index: 300;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: block;
}
.nav-dropdown-menu a {
  display: block;
  padding: 0.45rem 1.1rem;
  color: rgba(237, 239, 234, 0.78);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color 150ms ease, background 150ms ease;
}
.nav-dropdown-menu a:hover {
  color: var(--cream);
  background: rgba(237, 239, 234, 0.07);
}

@media (max-width: 860px) {
  .nav-dropdown-menu {
    position: static;
    transform: none;
    display: block;
    box-shadow: none;
    border: none;
    border-left: 2px solid rgba(237, 239, 234, 0.15);
    margin: 2px 0 4px 14px;
    padding: 0.2rem 0;
    background: transparent;
    min-width: unset;
  }
  .nav-dropdown-menu a {
    padding: 0.3rem 0.75rem;
    font-size: 12px;
  }
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  width: min(820px, calc(100% - 40px));
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(43, 127, 212, 0.18), transparent 42%),
    linear-gradient(180deg, var(--night), var(--night-2));
  color: var(--cream);
}

.hero::before,
.page-hero::before,
.dark-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(237, 239, 234, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237, 239, 234, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 78%);
}

.hero {
  min-height: calc(100svh - 72px);
  display: flex;
  align-items: center;
  padding: 86px 0 70px;
}

.page-hero {
  min-height: 66svh;
  display: flex;
  align-items: center;
  padding: 86px 0 78px;
}

.hero-grid,
.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 64px;
  align-items: center;
}

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

.eyebrow {
  margin: 0 0 18px;
  color: rgba(237, 239, 234, 0.64);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.light-eyebrow {
  color: var(--green);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.04;
}

h1 {
  font-size: 82px;
}

h2 {
  font-size: 48px;
}

h3 {
  font-size: 25px;
}

.lead {
  margin: 24px 0 0;
  max-width: 720px;
  color: rgba(237, 239, 234, 0.76);
  font-size: 20px;
  line-height: 1.55;
}

.page-hero .lead {
  max-width: 760px;
}

.section-lead {
  margin: 18px 0 0;
  max-width: 780px;
  color: var(--muted);
  font-size: 18px;
}

.dark-section .section-lead,
.dark-section p,
.page-hero p {
  color: rgba(237, 239, 234, 0.74);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid rgba(237, 239, 234, 0.16);
  border-radius: 4px;
  background: var(--cream);
  color: var(--night);
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button.secondary {
  background: rgba(237, 239, 234, 0.08);
  color: var(--cream);
  border-color: rgba(237, 239, 234, 0.2);
}

.button.dark {
  background: var(--night);
  color: var(--cream);
}

.button.ghost {
  background: transparent;
  color: var(--green);
  border-color: rgba(26, 79, 170, 0.28);
}

.proof-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
  padding: 0;
  list-style: none;
  color: rgba(237, 239, 234, 0.64);
}

.proof-line li {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid rgba(237, 239, 234, 0.14);
  border-radius: 4px;
  background: rgba(237, 239, 234, 0.045);
}

.signal-field {
  position: relative;
  min-height: 520px;
}

.signal-grid {
  position: absolute;
  inset: 14px 0 14px 10px;
  border-left: 1px solid rgba(237, 239, 234, 0.16);
  border-bottom: 1px solid rgba(237, 239, 234, 0.16);
}

.signal-grid::before,
.signal-grid::after {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  height: 1px;
  background: rgba(237, 239, 234, 0.1);
}

.signal-grid::before {
  top: 32%;
}

.signal-grid::after {
  top: 64%;
}

.signal-card {
  position: absolute;
  width: 220px;
  padding: 16px;
  border: 1px solid rgba(237, 239, 234, 0.15);
  border-radius: 8px;
  background: rgba(10, 14, 26, 0.58);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.signal-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--cream);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
}

.signal-card span {
  display: block;
  color: rgba(237, 239, 234, 0.64);
  font-size: 13px;
}

.signal-card.one {
  top: 24px;
  right: 24px;
}

.signal-card.two {
  top: 190px;
  left: 26px;
}

.signal-card.three {
  right: 0;
  bottom: 58px;
}

.signal-path {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(116deg, transparent 20%, rgba(43, 127, 212, 0.5) 20.2%, rgba(43, 127, 212, 0.5) 20.6%, transparent 20.8%),
    linear-gradient(42deg, transparent 44%, rgba(60, 122, 79, 0.5) 44.2%, rgba(60, 122, 79, 0.5) 44.6%, transparent 44.8%),
    linear-gradient(146deg, transparent 58%, rgba(237, 239, 234, 0.36) 58.2%, rgba(237, 239, 234, 0.36) 58.5%, transparent 58.8%);
  animation: drift 9s ease-in-out infinite alternate;
}

@keyframes drift {
  from {
    transform: translate3d(-6px, 4px, 0);
  }
  to {
    transform: translate3d(10px, -8px, 0);
  }
}

.section {
  padding: 96px 0;
}

.section.compact {
  padding: 72px 0;
}

.section-header {
  margin-bottom: 42px;
}

.dark-section {
  position: relative;
  overflow: hidden;
  background: var(--night);
  color: var(--cream);
}

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

.split-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line-dark);
  background: var(--line-dark);
}

.split-panel > article {
  padding: 38px;
  background: rgba(237, 239, 234, 0.035);
}

.split-panel h3 {
  margin-bottom: 14px;
  color: var(--cream);
}

.split-panel p {
  margin: 0;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  padding: 26px;
  border: 1px solid var(--line-light);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.48);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(26, 79, 170, 0.34);
}

.dark-card {
  border-color: var(--line-dark);
  background: rgba(237, 239, 234, 0.045);
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.dark-card p,
.dark-card li {
  color: rgba(237, 239, 234, 0.72);
}

.service-mark {
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(26, 79, 170, 0.28);
  border-radius: 50%;
  color: var(--green);
  font-family: var(--serif);
  font-size: 20px;
}

.method-preview {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  gap: 42px;
  align-items: center;
}

.formula {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1.2fr;
  gap: 14px;
  align-items: stretch;
}

.formula-part {
  min-height: 120px;
  padding: 22px;
  border: 1px solid rgba(26, 79, 170, 0.22);
  border-radius: 8px;
  background: var(--paper-2);
}

.formula-part strong {
  display: block;
  color: var(--green);
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
}

.formula-part span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.formula-sign {
  display: grid;
  place-items: center;
  color: var(--green);
  font-size: 28px;
}

.reference-box,
.callout,
.quote-band {
  border: 1px solid rgba(26, 79, 170, 0.24);
  border-radius: 8px;
  background: rgba(26, 79, 170, 0.08);
}

.reference-box {
  margin-top: 28px;
  padding: 24px;
}

.reference-box strong,
.callout strong {
  color: var(--green);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid rgba(26, 79, 170, 0.26);
  border-radius: 4px;
  color: var(--green);
  background: rgba(26, 79, 170, 0.08);
  font-size: 12px;
  font-weight: 700;
}

.badge.dark {
  border-color: rgba(237, 239, 234, 0.2);
  color: var(--cream);
  background: rgba(237, 239, 234, 0.08);
}

.prototype-card {
  display: flex;
  flex-direction: column;
  min-height: 320px;
}

.prototype-card .button {
  width: fit-content;
  margin-top: auto;
}

.impact-list {
  display: grid;
  gap: 18px;
}

.impact-item {
  padding: 26px;
  border-left: 3px solid var(--green);
  background: rgba(255, 255, 255, 0.45);
}

.team-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
}

.portrait {
  width: 78px;
  height: 78px;
  margin-bottom: 20px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(47, 107, 62, 0.25);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(47, 107, 62, 0.16), rgba(29, 138, 158, 0.1));
  color: var(--green);
  font-family: var(--serif);
  font-size: 28px;
}

.team-meta {
  margin: 7px 0 18px;
  color: var(--green);
  font-weight: 700;
}

.muted-note {
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  background: var(--night-2);
  color: var(--cream);
  padding: 56px 0 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 34px;
}

.site-footer p,
.site-footer a {
  color: rgba(237, 239, 234, 0.68);
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(237, 239, 234, 0.12);
  color: rgba(237, 239, 234, 0.54);
  font-size: 13px;
}

.page-hero-aside {
  padding: 28px;
  border: 1px solid rgba(237, 239, 234, 0.16);
  border-radius: 8px;
  background: rgba(237, 239, 234, 0.045);
}

.page-hero-aside dl {
  margin: 0;
  display: grid;
  gap: 18px;
}

.page-hero-aside dt {
  color: rgba(237, 239, 234, 0.56);
  font-size: 13px;
}

.page-hero-aside dd {
  margin: 4px 0 0;
  color: var(--cream);
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.15;
}

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

.numbered-card {
  position: relative;
  padding-top: 58px;
}

.numbered-card::before {
  content: attr(data-step);
  position: absolute;
  top: 22px;
  left: 24px;
  color: var(--teal);
  font-family: var(--serif);
  font-size: 28px;
}

.quote-band {
  margin-top: 26px;
  padding: 24px 28px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1.25;
}

.comparison,
.data-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line-light);
  border-radius: 8px;
}

.comparison th,
.comparison td,
.data-table th,
.data-table td {
  padding: 18px;
  border-bottom: 1px solid var(--line-light);
  text-align: left;
  vertical-align: top;
}

.comparison th,
.data-table th {
  background: rgba(47, 107, 62, 0.1);
  color: var(--green);
}

.comparison tr:last-child td,
.data-table tr:last-child td {
  border-bottom: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line-light);
  background: var(--line-light);
}

.step {
  padding: 24px;
  background: var(--paper-2);
}

.step h3 {
  color: var(--ink);
}

.step p {
  color: var(--muted);
}

.step span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--green);
  color: var(--cream);
  font-weight: 700;
}

.callout {
  margin-top: 28px;
  padding: 24px;
}

.trust-mock {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  gap: 24px;
  align-items: stretch;
}

.mock-window {
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: rgba(237, 239, 234, 0.05);
  overflow: hidden;
}

.mock-top {
  display: flex;
  gap: 8px;
  padding: 14px;
  border-bottom: 1px solid var(--line-dark);
}

.mock-top span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(237, 239, 234, 0.42);
}

.mock-body {
  padding: 24px;
}

.hash-line {
  padding: 14px;
  border: 1px solid rgba(237, 239, 234, 0.14);
  border-radius: 4px;
  background: rgba(10, 14, 26, 0.34);
  color: rgba(237, 239, 234, 0.8);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.audit-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.audit-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(237, 239, 234, 0.1);
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid rgba(47, 107, 62, 0.25);
  border-radius: 4px;
  background: rgba(26, 79, 170, 0.08);
  color: var(--green);
  font-weight: 700;
}

.connector-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.connector {
  min-height: 90px;
  display: grid;
  place-items: center;
  padding: 18px;
  border: 1px solid var(--line-light);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.42);
  text-align: center;
  font-weight: 700;
}

.roadmap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line-light);
  background: var(--line-light);
}

.roadmap-step {
  padding: 24px;
  background: var(--paper-2);
}

.roadmap-step.current {
  background: var(--night);
  color: var(--cream);
}

.roadmap-step.current p {
  color: rgba(237, 239, 234, 0.72);
}

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

.check-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 9px 0 9px 22px;
  border-bottom: 1px solid rgba(237, 239, 234, 0.1);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.word-cloud {
  min-height: 260px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  align-items: center;
}

.word-cloud span {
  display: grid;
  place-items: center;
  min-height: 54px;
  padding: 10px;
  border: 1px solid rgba(47, 107, 62, 0.2);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.52);
  color: var(--green);
  font-family: var(--serif);
  font-size: 19px;
  text-align: center;
}

.word-cloud span:nth-child(2n) {
  color: var(--teal);
}

.word-cloud span:nth-child(3n) {
  min-height: 78px;
  font-size: 23px;
}

.experience-band {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid rgba(26, 79, 170, 0.28);
  border-radius: 8px;
  background: rgba(26, 79, 170, 0.08);
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.3;
}

.toolbox {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.toolbox span {
  padding: 10px 13px;
  border: 1px solid rgba(26, 79, 170, 0.24);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.44);
  color: var(--green);
  font-weight: 700;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
  gap: 42px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  color: var(--green);
  font-weight: 700;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid rgba(23, 32, 23, 0.18);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  padding: 13px 14px;
}

.form-row textarea {
  min-height: 180px;
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid rgba(29, 138, 158, 0.32);
  border-color: var(--teal);
}

.form-status {
  min-height: 24px;
  color: var(--green);
  font-weight: 700;
}

.contact-card {
  padding: 28px;
  border: 1px solid var(--line-light);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
}

.contact-card dl {
  margin: 22px 0 0;
  display: grid;
  gap: 18px;
}

.contact-card dt {
  color: var(--muted);
  font-size: 13px;
}

.contact-card dd {
  margin: 3px 0 0;
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1080px) {
  h1 {
    font-size: 66px;
  }

  h2 {
    font-size: 42px;
  }

  .hero-grid,
  .page-hero-grid,
  .method-preview,
  .trust-mock,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .signal-field {
    min-height: 420px;
  }

  .grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps,
  .roadmap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .nav {
    width: min(100% - 28px, 1180px);
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    padding: 18px;
    border-bottom: 1px solid rgba(237, 239, 234, 0.12);
    background: var(--night-2);
  }

  body.nav-open .nav-links {
    display: grid;
  }

  .nav-link {
    padding: 14px;
  }

  .hero,
  .page-hero {
    min-height: auto;
    padding: 70px 0 58px;
  }

  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 36px;
  }

  .lead {
    font-size: 18px;
  }

  .section {
    padding: 72px 0;
  }

  .split-panel,
  .grid.two,
  .grid.three,
  .problem-grid,
  .state-columns,
  .footer-grid,
  .connector-map {
    grid-template-columns: 1fr;
  }

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

  .formula-sign {
    min-height: 30px;
  }

  .word-cloud {
    grid-template-columns: repeat(2, 1fr);
  }

  .comparison,
  .data-table {
    display: block;
    overflow-x: auto;
  }
}

@media (max-width: 560px) {
  .container,
  .narrow {
    width: min(100% - 28px, 1120px);
  }

  .brand-text span {
    display: none;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 31px;
  }

  h3 {
    font-size: 23px;
  }

  .hero-actions,
  .cta-row {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .signal-field {
    min-height: 500px;
  }

  .signal-card {
    width: 190px;
  }

  .signal-card.one {
    right: 0;
  }

  .signal-card.two {
    left: 0;
  }

  .grid.four,
  .steps,
  .roadmap {
    grid-template-columns: 1fr;
  }

  .split-panel > article,
  .card,
  .impact-item,
  .page-hero-aside {
    padding: 22px;
  }

  .quote-band,
  .experience-band {
    font-size: 22px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Premium redesign layer */
:root {
  --night: #060b13;
  --night-2: #0a101b;
  --night-3: #111927;
  --paper: #e8ebe2;
  --paper-2: #f4f4ec;
  --ink: #0B1520;
  --muted: #4A5E78;
  --soft: #c7cec1;
  --green: #1A4FAA;
  --green-2: #2660C0;
  --teal: #2B7FD4;
  --cream: #f7f3e8;
  --line-dark: rgba(247, 243, 232, 0.12);
  --line-light: rgba(10, 18, 32, 0.12);
  --shadow: 0 34px 90px rgba(6, 11, 19, 0.24);
  --serif: "Iowan Old Style", "Palatino Linotype", Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --pointer-x: 0.5;
  --pointer-y: 0.5;
  --hero-scroll: 0;
}

body {
  background:
    linear-gradient(180deg, var(--night) 0, var(--night) 760px, var(--paper) 760px),
    var(--paper);
  color: var(--ink);
  text-rendering: geometricPrecision;
}

.site-header {
  border-bottom: 1px solid rgba(247, 243, 232, 0.1);
  background: rgba(6, 11, 19, 0.7);
  backdrop-filter: blur(24px) saturate(1.25);
}

.nav {
  min-height: 78px;
}

.brand {
  gap: 14px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 2px;
  border-color: rgba(247, 243, 232, 0.28);
  background:
    linear-gradient(135deg, rgba(247, 243, 232, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(47, 107, 62, 0.9), rgba(29, 138, 158, 0.48));
  box-shadow: inset 0 1px 0 rgba(247, 243, 232, 0.18), 0 14px 30px rgba(0, 0, 0, 0.24);
}

.brand-text strong {
  font-size: 16px;
}

.brand-text span {
  color: rgba(247, 243, 232, 0.54);
}

.nav-links {
  gap: 2px;
  border: 1px solid rgba(247, 243, 232, 0.1);
  background: rgba(247, 243, 232, 0.035);
  padding: 4px;
}

.nav-link {
  border-radius: 2px;
  color: rgba(247, 243, 232, 0.68);
  font-size: 13px;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link[aria-current="page"] {
  background: rgba(247, 243, 232, 0.11);
}

.container {
  width: min(1200px, calc(100% - 48px));
}

.hero,
.page-hero {
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(6, 11, 19, 0.4), rgba(6, 11, 19, 0.96)),
    linear-gradient(120deg, #050810 0%, #09111d 48%, #071017 100%);
}

.hero {
  min-height: calc(100svh - 78px);
  display: block;
  padding: 0;
}

.hero::before,
.page-hero::before,
.dark-section::before {
  background-image:
    linear-gradient(rgba(247, 243, 232, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 243, 232, 0.045) 1px, transparent 1px);
  background-size: 96px 96px;
  opacity: 0.76;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1), transparent 84%);
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(103deg, transparent 12%, rgba(29, 138, 158, 0.12) 12.2%, transparent 12.6%),
    linear-gradient(103deg, transparent 42%, rgba(79, 141, 97, 0.16) 42.2%, transparent 42.7%),
    linear-gradient(103deg, transparent 72%, rgba(247, 243, 232, 0.1) 72.1%, transparent 72.4%);
  transform: translate3d(calc((var(--pointer-x) - 0.5) * 34px), calc((var(--pointer-y) - 0.5) * 28px), 0);
  animation: sweepField 18s ease-in-out infinite alternate;
}

@keyframes sweepField {
  from {
    opacity: 0.55;
    transform: translate3d(-18px, 10px, 0) rotate(0.001deg);
  }
  to {
    opacity: 0.95;
    transform: translate3d(18px, -14px, 0) rotate(0.001deg);
  }
}

.hero-grid {
  position: relative;
  min-height: calc(100svh - 78px);
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  gap: 0;
  text-align: center;
}

.hero-copy {
  position: relative;
  z-index: 4;
  max-width: 1040px;
  padding: 112px 0 138px;
  transform: translate3d(0, calc(var(--hero-scroll) * -38px), 0);
}

.hero .eyebrow,
.page-hero .eyebrow {
  color: rgba(247, 243, 232, 0.56);
}

.eyebrow {
  letter-spacing: 0;
}

h1 {
  font-size: 96px;
  line-height: 0.95;
}

.hero h1 {
  max-width: 1030px;
  margin: 0 auto;
  color: var(--cream);
  text-wrap: balance;
}

h2 {
  font-size: 56px;
  line-height: 1;
  text-wrap: balance;
}

h3 {
  font-size: 27px;
}

.lead {
  max-width: 760px;
  margin: 28px auto 0;
  color: rgba(247, 243, 232, 0.72);
  font-size: 22px;
}

.hero-actions,
.cta-row {
  justify-content: center;
  gap: 10px;
  margin-top: 38px;
}

.button {
  min-height: 50px;
  border-radius: 2px;
  border-color: rgba(247, 243, 232, 0.18);
  background: var(--cream);
  color: var(--night);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.button.secondary {
  background: rgba(247, 243, 232, 0.055);
  color: var(--cream);
  border-color: rgba(247, 243, 232, 0.18);
  box-shadow: none;
}

.button.ghost {
  border-color: rgba(47, 107, 62, 0.35);
  background: rgba(47, 107, 62, 0.04);
  color: var(--green);
  box-shadow: none;
}

.button.dark {
  background: var(--night);
  color: var(--cream);
  box-shadow: 0 18px 40px rgba(6, 11, 19, 0.22);
}

.button:hover,
.button:focus-visible {
  border-color: rgba(29, 138, 158, 0.52);
  transform: translateY(-2px);
}

.proof-line {
  width: min(760px, 100%);
  justify-content: center;
  margin: 42px auto 0;
  gap: 0;
  border-top: 1px solid rgba(247, 243, 232, 0.16);
  border-bottom: 1px solid rgba(247, 243, 232, 0.16);
}

.proof-line li {
  min-height: 42px;
  padding: 8px 18px;
  border: 0;
  border-right: 1px solid rgba(247, 243, 232, 0.14);
  border-radius: 0;
  background: transparent;
  color: rgba(247, 243, 232, 0.62);
  font-size: 13px;
}

.proof-line li:last-child {
  border-right: 0;
}

.signal-field {
  position: absolute;
  inset: 0;
  z-index: 2;
  min-height: 0;
  pointer-events: none;
}

.signal-grid {
  inset: 34px;
  border: 1px solid rgba(247, 243, 232, 0.11);
  transform: translate3d(calc((var(--pointer-x) - 0.5) * -16px), calc((var(--pointer-y) - 0.5) * -14px), 0);
}

.signal-grid::before,
.signal-grid::after {
  background: rgba(247, 243, 232, 0.1);
}

.signal-grid::before {
  top: 28%;
}

.signal-grid::after {
  top: 76%;
}

.signal-path {
  inset: 6%;
  opacity: 0.85;
  background:
    linear-gradient(128deg, transparent 21%, rgba(29, 138, 158, 0.44) 21.1%, rgba(29, 138, 158, 0.44) 21.28%, transparent 21.4%),
    linear-gradient(42deg, transparent 47%, rgba(79, 141, 97, 0.46) 47.08%, rgba(79, 141, 97, 0.46) 47.24%, transparent 47.36%),
    linear-gradient(155deg, transparent 63%, rgba(247, 243, 232, 0.24) 63.08%, rgba(247, 243, 232, 0.24) 63.22%, transparent 63.34%);
  animation: drift 11s ease-in-out infinite alternate;
}

.signal-card {
  width: 214px;
  border-radius: 2px;
  border-color: rgba(247, 243, 232, 0.16);
  background: rgba(6, 11, 19, 0.54);
  box-shadow: none;
  backdrop-filter: blur(16px);
  animation: floatCard 8s ease-in-out infinite alternate;
}

.signal-card strong {
  color: var(--cream);
  font-size: 20px;
}

.signal-card span {
  color: rgba(247, 243, 232, 0.58);
}

.signal-card.one {
  top: 12%;
  right: 7%;
}

.signal-card.two {
  top: 62%;
  left: 5%;
  animation-delay: -2s;
}

.signal-card.three {
  right: 8%;
  bottom: 10%;
  animation-delay: -4s;
}

@keyframes floatCard {
  from {
    transform: translate3d(0, -8px, 0);
  }
  to {
    transform: translate3d(0, 12px, 0);
  }
}

.section {
  padding: 122px 0;
}

.section.compact {
  padding: 88px 0;
}

.section-header {
  max-width: 860px;
  margin-bottom: 52px;
}

.section-header h2 {
  color: inherit;
}

.section-lead {
  color: rgba(89, 102, 94, 0.92);
  font-size: 19px;
}

.dark-section {
  background:
    linear-gradient(180deg, rgba(6, 11, 19, 0.98), rgba(10, 16, 27, 0.98)),
    var(--night);
}

.light-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent),
    var(--paper-2);
}

.split-panel,
.steps,
.roadmap {
  border-radius: 0;
  box-shadow: var(--shadow);
}

.split-panel {
  gap: 0;
  border-color: rgba(247, 243, 232, 0.12);
  background: rgba(247, 243, 232, 0.12);
}

.split-panel > article {
  padding: 50px;
  background: rgba(247, 243, 232, 0.045);
}

.grid {
  gap: 20px;
}

.card,
.impact-item,
.contact-card,
.formula-part,
.reference-box,
.callout,
.quote-band,
.page-hero-aside,
.connector,
.mock-window {
  border-radius: 2px;
}

.card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border-color: rgba(10, 18, 32, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.28)),
    rgba(255, 255, 255, 0.2);
  box-shadow: 0 18px 46px rgba(6, 11, 19, 0.07);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47, 107, 62, 0.55), transparent);
  opacity: 0;
  transition: opacity 180ms ease;
}

.card:hover {
  border-color: rgba(29, 138, 158, 0.32);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.34)),
    rgba(255, 255, 255, 0.2);
}

.card:hover::before {
  opacity: 1;
}

.dark-card {
  border-color: rgba(247, 243, 232, 0.12);
  background:
    linear-gradient(180deg, rgba(247, 243, 232, 0.065), rgba(247, 243, 232, 0.028)),
    rgba(6, 11, 19, 0.26);
  box-shadow: none;
}

.dark-card:hover {
  border-color: rgba(43, 127, 212, 0.36);
  background:
    linear-gradient(180deg, rgba(247, 243, 232, 0.085), rgba(247, 243, 232, 0.04)),
    rgba(6, 11, 19, 0.28);
}

.service-mark,
.portrait {
  border-radius: 2px;
}

.service-mark {
  border-color: rgba(29, 138, 158, 0.3);
  color: var(--teal);
}

.formula {
  gap: 0;
  border: 1px solid rgba(10, 18, 32, 0.12);
  background: rgba(10, 18, 32, 0.12);
  box-shadow: var(--shadow);
}

.formula-part {
  border: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.32)),
    var(--paper-2);
}

.formula-sign {
  min-width: 42px;
  background: var(--paper-2);
  color: rgba(16, 24, 17, 0.42);
}

.reference-box,
.callout {
  border-color: rgba(26, 79, 170, 0.22);
  background:
    linear-gradient(135deg, rgba(47, 107, 62, 0.12), rgba(29, 138, 158, 0.055)),
    rgba(255, 255, 255, 0.2);
}

.quote-band {
  border-color: rgba(16, 24, 17, 0.1);
  background: var(--night);
  color: var(--cream);
  box-shadow: var(--shadow);
}

.badge {
  border-radius: 2px;
  color: var(--green);
}

.badge.dark {
  border-color: rgba(247, 243, 232, 0.18);
  background: rgba(247, 243, 232, 0.06);
}

.prototype-card {
  min-height: 370px;
}

.prototype-card h3 {
  font-size: 36px;
}

.impact-item {
  padding: 34px;
  border: 1px solid rgba(16, 24, 17, 0.1);
  border-left: 2px solid var(--green);
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 18px 44px rgba(6, 11, 19, 0.06);
}

.portrait {
  border-color: rgba(29, 138, 158, 0.24);
  background:
    linear-gradient(135deg, rgba(29, 138, 158, 0.14), transparent),
    rgba(26, 79, 170, 0.08);
}

.team-card {
  min-height: 410px;
}

.site-footer {
  background:
    linear-gradient(180deg, var(--night), #03060b);
  padding: 74px 0 36px;
}

.page-hero {
  min-height: 74svh;
  padding: 112px 0 96px;
}

.page-hero .hero-copy {
  max-width: 860px;
  padding: 0;
  text-align: left;
  transform: none;
}

.page-hero .hero-actions {
  justify-content: flex-start;
}

.page-hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.7fr);
  gap: 82px;
}

.page-hero h1 {
  color: var(--cream);
  font-size: 78px;
  line-height: 0.96;
}

.page-hero .lead {
  margin-left: 0;
}

.page-hero-aside {
  border-color: rgba(247, 243, 232, 0.14);
  background:
    linear-gradient(180deg, rgba(247, 243, 232, 0.075), rgba(247, 243, 232, 0.025)),
    rgba(6, 11, 19, 0.32);
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.2);
}

.page-hero-aside dd {
  font-size: 30px;
}

.comparison,
.data-table {
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 54px rgba(6, 11, 19, 0.07);
}

.comparison th,
.data-table th {
  background: rgba(6, 11, 19, 0.92);
  color: var(--cream);
}

.steps,
.roadmap {
  border-color: rgba(10, 18, 32, 0.12);
  background: rgba(10, 18, 32, 0.12);
}

.step,
.roadmap-step {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.34)),
    var(--paper-2);
}

.step span {
  border-radius: 2px;
  background: var(--night);
}

.roadmap-step.current {
  background:
    linear-gradient(135deg, rgba(43, 127, 212, 0.18), transparent),
    var(--night);
}

.mock-window {
  box-shadow: 0 28px 74px rgba(0, 0, 0, 0.24);
}

.pill,
.toolbox span {
  border-radius: 2px;
}

.connector {
  border-color: rgba(16, 24, 17, 0.11);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.32)),
    var(--paper-2);
}

.word-cloud span {
  border-radius: 2px;
}

.contact-form {
  padding: 34px;
  border: 1px solid rgba(10, 18, 32, 0.12);
  background: rgba(255, 255, 255, 0.38);
  box-shadow: var(--shadow);
}

.form-row input,
.form-row select,
.form-row textarea {
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.78);
}

.reveal {
  transform: translateY(28px);
}

.reveal.is-visible {
  transform: none;
}

@media (max-width: 1080px) {
  h1 {
    font-size: 76px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 76px;
  }

  h2 {
    font-size: 46px;
  }

  .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .page-hero .lead {
    margin-left: auto;
  }

  .page-hero .hero-copy {
    text-align: center;
  }

  .page-hero .hero-actions {
    justify-content: center;
  }
}

@media (max-width: 860px) {
  body {
    background:
      linear-gradient(180deg, var(--night) 0, var(--night) 620px, var(--paper) 620px),
      var(--paper);
  }

  .nav {
    min-height: 72px;
  }

  .nav-links {
    top: 72px;
    border: 0;
    border-bottom: 1px solid rgba(247, 243, 232, 0.12);
    background: rgba(6, 11, 19, 0.96);
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    min-height: 700px;
  }

  .hero-copy {
    padding: 86px 0 116px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 58px;
  }

  h2 {
    font-size: 40px;
  }

  .lead {
    font-size: 19px;
  }

  .section {
    padding: 86px 0;
  }

  .signal-card {
    width: 190px;
  }

  .signal-card.one {
    top: 8%;
    right: 0;
  }

  .signal-card.two {
    top: auto;
    bottom: 4%;
  }

  .signal-card.three {
    display: none;
  }

  .page-hero {
    min-height: auto;
    padding: 84px 0 72px;
  }
}

@media (max-width: 560px) {
  .container,
  .narrow {
    width: min(100% - 30px, 1200px);
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .nav-links {
    padding: 14px;
  }

  .hero-grid {
    min-height: 660px;
  }

  .hero-copy {
    padding: 76px 0 112px;
  }

  .hero h1,
  .page-hero h1,
  h1 {
    font-size: 42px;
    line-height: 1;
  }

  h2 {
    font-size: 33px;
  }

  h3 {
    font-size: 23px;
  }

  .proof-line {
    display: grid;
    border: 1px solid rgba(247, 243, 232, 0.16);
  }

  .proof-line li {
    justify-content: center;
    border-right: 0;
    border-bottom: 1px solid rgba(247, 243, 232, 0.12);
  }

  .proof-line li:last-child {
    border-bottom: 0;
  }

  .signal-grid {
    inset: 18px;
  }

  .signal-card {
    display: none;
  }

  .split-panel > article,
  .card,
  .impact-item,
  .page-hero-aside,
  .contact-form {
    padding: 24px;
  }

  .prototype-card h3 {
    font-size: 30px;
  }

  .formula-sign {
    min-height: 34px;
  }
}

/* Landing page v3: cinematic, Morpho-inspired energy without copying content */
.site-header {
  background: rgba(0, 0, 0, 0.82);
  border-bottom: 1px solid rgba(247, 243, 232, 0.075);
}

.nav {
  width: min(1360px, calc(100% - 64px));
  min-height: 86px;
}

.brand-mark {
  border-radius: 14px 2px 14px 2px;
  background:
    radial-gradient(circle at 72% 24%, rgba(255, 255, 255, 0.36), transparent 28%),
    linear-gradient(135deg, #5c7cff, #18a89a 52%, #3c7a4f);
}

.brand-text strong {
  font-size: 19px;
  letter-spacing: 0;
}

.brand-text span {
  font-size: 12px;
}

.nav-links {
  border: 0;
  background: transparent;
  gap: 22px;
}

.nav-link {
  color: rgba(247, 243, 232, 0.48);
  font-size: 15px;
  padding: 10px 4px;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link[aria-current="page"] {
  color: var(--cream);
  background: transparent;
}

.nav-link[href$="contact/index.html"] {
  min-width: 132px;
  padding: 13px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6484ff, #4f6fd9);
  color: white;
  text-align: center;
  box-shadow: 0 14px 38px rgba(83, 116, 235, 0.34);
}

.hero {
  min-height: calc(100svh - 86px);
  background: #000;
  border-bottom: 1px solid rgba(247, 243, 232, 0.14);
}

.hero::before {
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(247, 243, 232, 0.052) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 243, 232, 0.038) 1px, transparent 1px);
  background-size: 142px 142px;
  mask-image: linear-gradient(180deg, transparent 0, #000 18%, transparent 90%);
}

.hero::after {
  inset: auto 0 0;
  height: 30%;
  z-index: 1;
  opacity: 0.78;
  background:
    linear-gradient(180deg, transparent, rgba(6, 11, 19, 0.78)),
    linear-gradient(102deg, transparent 20%, rgba(83, 116, 235, 0.22) 20.18%, transparent 20.38%),
    linear-gradient(72deg, transparent 68%, rgba(24, 168, 154, 0.2) 68.18%, transparent 68.38%);
  animation: footerSweep 12s ease-in-out infinite alternate;
}

@keyframes footerSweep {
  from {
    transform: translate3d(-14px, 0, 0);
  }
  to {
    transform: translate3d(18px, 0, 0);
  }
}

.hero-grid {
  width: min(1440px, calc(100% - 72px));
  min-height: calc(100svh - 86px);
  display: block;
}

.hero-copy {
  position: relative;
  z-index: 6;
  max-width: 980px;
  margin: 0 auto;
  padding: 104px 0 0;
  text-align: center;
}

.hero .eyebrow {
  margin-bottom: 20px;
  color: rgba(247, 243, 232, 0.48);
  font-size: 12px;
  font-weight: 600;
}

.hero h1 {
  max-width: 1060px;
  font-family: var(--sans);
  font-size: 82px;
  font-weight: 400;
  line-height: 1.05;
  color: rgba(247, 243, 232, 0.92);
}

.hero .lead {
  max-width: 700px;
  margin-top: 24px;
  color: rgba(247, 243, 232, 0.5);
  font-size: 22px;
  line-height: 1.55;
}

.hero-actions {
  margin-top: 36px;
}

.hero .button {
  min-height: 56px;
  padding: 15px 24px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(135deg, #6b87ff, #516dde);
  color: white;
  box-shadow: 0 16px 42px rgba(87, 116, 237, 0.34);
}

.hero .button.secondary {
  border: 1px solid rgba(247, 243, 232, 0.14);
  background: rgba(247, 243, 232, 0.045);
  color: rgba(247, 243, 232, 0.84);
  box-shadow: none;
}

.hero-orb-mark {
  position: absolute;
  left: 50%;
  top: 64%;
  z-index: 3;
  width: clamp(170px, 18vw, 270px);
  height: clamp(166px, 17.6vw, 264px);
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: white;
  font-family: var(--serif);
  font-size: 42px;
  transform: translate(-50%, -50%);
  box-shadow: none;
  backdrop-filter: none;
  animation: logoFloat 7s ease-in-out infinite alternate;
}

.hero-orb-mark::after {
  content: "";
  position: absolute;
  inset: -44px;
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(83, 116, 235, 0.24), transparent 36%),
    conic-gradient(from 120deg, transparent, rgba(24, 168, 154, 0.34), transparent, rgba(83, 116, 235, 0.32), transparent);
  opacity: 0.6;
  filter: blur(8px);
  animation: logoHalo 12s linear infinite;
}

@keyframes logoFloat {
  from {
    transform: translate(-50%, -52%) scale(0.98);
  }
  to {
    transform: translate(-50%, -48%) scale(1.02);
  }
}

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

.hero-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 54px;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 44px;
  align-items: end;
  color: rgba(247, 243, 232, 0.56);
}

.hero-metric {
  text-align: left;
}

.hero-metric span,
.hero-scroll {
  display: block;
  color: rgba(247, 243, 232, 0.38);
  font-size: 15px;
}

.hero-metric strong {
  display: block;
  margin-top: 7px;
  color: rgba(247, 243, 232, 0.9);
  font-size: 38px;
  font-weight: 400;
}

.hero-scroll {
  padding-bottom: 4px;
  text-align: right;
}

.signal-grid {
  inset: auto 0 0;
  height: 34%;
  border-top: 1px solid rgba(247, 243, 232, 0.08);
  border-right: 0;
  border-left: 0;
  border-bottom: 0;
}

.signal-grid::before,
.signal-grid::after {
  opacity: 0.42;
}

.signal-path {
  display: none;
}

.signal-card {
  display: none;
}

.signal-card strong {
  margin: 0;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
}

.signal-card span {
  display: none;
}

.signal-card.one {
  top: 42%;
  right: 13%;
}

.signal-card.two {
  top: 61%;
  left: 12%;
}

.signal-card.three {
  right: 15%;
  bottom: 22%;
}

.signature-section {
  margin-top: -1px;
  background:
    radial-gradient(circle at 20% 0%, rgba(83, 116, 235, 0.2), transparent 34%),
    linear-gradient(180deg, #020305, #071019 72%, #0a101b);
}

.signature-section .section-header {
  max-width: 1000px;
  margin-inline: auto;
  text-align: center;
}

.signature-section .section-lead {
  margin-inline: auto;
  color: rgba(247, 243, 232, 0.54);
}

.signature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(247, 243, 232, 0.1);
  background: rgba(247, 243, 232, 0.1);
}

.signature-grid article {
  min-height: 330px;
  padding: 38px;
  background:
    linear-gradient(180deg, rgba(247, 243, 232, 0.06), rgba(247, 243, 232, 0.025)),
    rgba(0, 0, 0, 0.18);
}

.signature-grid span {
  display: block;
  margin-bottom: 80px;
  color: #6b87ff;
  font-size: 13px;
  font-weight: 700;
}

.signature-grid h3 {
  color: var(--cream);
  font-family: var(--sans);
  font-size: 30px;
  font-weight: 400;
}

.signature-grid p {
  color: rgba(247, 243, 232, 0.56);
}

.premium-method {
  align-items: stretch;
}

.premium-method .formula {
  transform: translateY(28px);
}

.prototype-showcase {
  background:
    radial-gradient(circle at 72% 22%, rgba(24, 168, 154, 0.17), transparent 34%),
    radial-gradient(circle at 20% 78%, rgba(83, 116, 235, 0.2), transparent 34%),
    #030508;
}

.prototype-showcase .section-header {
  max-width: 1040px;
  margin-inline: auto;
  text-align: center;
}

.prototype-showcase .section-lead {
  margin-inline: auto;
  color: rgba(247, 243, 232, 0.54);
}

.prototype-stage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.prototype-stage .prototype-card {
  min-height: 430px;
  padding: 42px;
  border: 1px solid rgba(247, 243, 232, 0.13);
  background:
    linear-gradient(145deg, rgba(247, 243, 232, 0.09), rgba(247, 243, 232, 0.025)),
    rgba(0, 0, 0, 0.24);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.26);
}

.prototype-stage .prototype-card h3 {
  margin-top: 84px;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 64px;
  font-weight: 400;
}

.prototype-stage .prototype-card p {
  max-width: 560px;
  color: rgba(247, 243, 232, 0.58);
}

.prototype-stage .prototype-card .button {
  margin-top: 32px;
}

.experience-section {
  background:
    linear-gradient(180deg, #f5f5ef, #e7ebe2);
}

.team-section {
  background:
    radial-gradient(circle at 80% 0%, rgba(24, 168, 154, 0.13), transparent 34%),
    var(--paper);
}

@media (max-width: 1080px) {
  .nav {
    width: min(100% - 40px, 1360px);
  }

  .hero-grid {
    width: min(100% - 44px, 1440px);
  }

  .hero-copy {
    padding-top: 64px;
  }

  .signature-grid,
  .prototype-stage {
    grid-template-columns: 1fr;
  }

  .signature-grid article {
    min-height: 250px;
  }

  .signature-grid span {
    margin-bottom: 38px;
  }
}

@media (max-width: 860px) {
  .nav {
    min-height: 76px;
  }

  .nav-links {
    background: rgba(0, 0, 0, 0.96);
  }

  .nav-link[href$="contact/index.html"] {
    min-width: 0;
    text-align: left;
  }

  .hero {
    min-height: 820px;
  }

  .hero-grid {
    min-height: 820px;
  }

  .hero-copy {
    padding-top: 58px;
  }

  .hero-orb-mark {
    top: 60%;
  }

  .hero-bottom {
    bottom: 34px;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-scroll {
    text-align: left;
  }

  .signal-card {
    display: none;
  }
}

@media (max-width: 560px) {
  .nav {
    width: min(100% - 28px, 1360px);
  }

  .hero {
    min-height: 760px;
  }

  .hero-grid {
    width: min(100% - 30px, 1440px);
    min-height: 760px;
  }

  .hero .button {
    width: 100%;
  }

  .hero-orb-mark {
    width: 58px;
    height: 58px;
    font-size: 34px;
  }

  .hero-bottom {
    bottom: 26px;
  }

  .signature-grid article,
  .prototype-stage .prototype-card {
    padding: 28px;
  }

  .prototype-stage .prototype-card h3 {
    margin-top: 54px;
  }
}

/* UQASE logo integration */
.brand-mark {
  position: relative;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border: 0 !important;
  outline: 0;
  border-radius: 0;
  color: transparent;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 0;
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: url("./assets/uqase-symbol-blue.png") center / contain no-repeat;
  filter: brightness(1.26) saturate(1.16) drop-shadow(0 0 9px rgba(24, 168, 154, 0.2));
}

.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 {
  font-size: 82px;
}

.hero .lead {
  font-size: 22px;
}

.hero-orb-mark {
  position: relative;
  left: auto;
  top: auto;
  z-index: 4;
  width: 248px;
  height: 242px;
  margin: 42px auto 0;
  border: 0 !important;
  outline: 0;
  border-radius: 0;
  background: transparent !important;
  color: transparent;
  box-shadow: none !important;
  font-size: 0;
  transform: none;
  backdrop-filter: none;
  animation: logoFloatInline 7s ease-in-out infinite alternate;
}

.hero-orb-mark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("./assets/uqase-symbol-blue.png") center / contain no-repeat;
  filter: brightness(1.32) saturate(1.2) drop-shadow(0 0 28px rgba(83, 116, 235, 0.46));
  animation: logoBreath 4.8s ease-in-out infinite alternate;
}

.hero-orb-mark::after {
  content: "";
  position: absolute;
  inset: -70px;
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(83, 116, 235, 0.2), transparent 34%),
    conic-gradient(from 120deg, transparent, rgba(24, 168, 154, 0.28), transparent, rgba(83, 116, 235, 0.3), transparent);
  opacity: 0.62;
  filter: blur(13px);
  animation: logoHalo 14s linear infinite;
}

.hero-bottom {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  width: 100%;
  margin-top: auto;
  padding: 42px 0 52px;
}

.hero-metric strong {
  font-size: 38px;
}

.prototype-stage .prototype-card h3 {
  font-size: 64px;
}

@keyframes logoFloatInline {
  from {
    transform: translate3d(0, -8px, 0) scale(0.985);
  }
  to {
    transform: translate3d(0, 8px, 0) scale(1.015);
  }
}

@keyframes logoBreath {
  from {
    opacity: 0.78;
    transform: scale(0.985);
  }
  to {
    opacity: 1;
    transform: scale(1.025);
  }
}

@media (max-width: 1080px) {
  .hero h1 {
    font-size: 68px;
  }

  .hero-orb-mark {
    width: 218px;
    height: 213px;
    margin-top: 36px;
  }

  .prototype-stage .prototype-card h3 {
    font-size: 52px;
  }
}

@media (max-width: 860px) {
  .hero h1 {
    font-size: 58px;
  }

  .hero-orb-mark {
    width: 190px;
    height: 185px;
    margin-top: 34px;
  }

  .hero-bottom {
    padding-bottom: 34px;
  }

  .hero-metric strong {
    font-size: 32px;
  }
}

@media (max-width: 560px) {
  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-orb-mark {
    width: 150px;
    height: 146px;
    margin-top: 30px;
  }

  .hero-orb-mark::before {
    inset: 0;
  }

  .hero-orb-mark::after {
    inset: -48px;
  }

  .hero-metric strong {
    font-size: 29px;
  }

  .prototype-stage .prototype-card h3 {
    font-size: 34px;
  }
}

/* Kinetic logo hero */
.hero-copy {
  padding-top: 82px;
}

.hero-logo-stage {
  position: relative;
  z-index: 4;
  width: min(680px, calc(100vw - 72px));
  height: 360px;
  margin: 26px auto 0;
  isolation: isolate;
  pointer-events: auto;
}

.hero-logo-stage::before {
  content: "";
  position: absolute;
  inset: 20px 14%;
  z-index: -2;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(83, 116, 235, 0.22), transparent 58%),
    radial-gradient(circle at 62% 40%, rgba(24, 168, 154, 0.18), transparent 48%);
  filter: blur(22px);
  opacity: 0.86;
  animation: logoStageGlow 7.5s ease-in-out infinite alternate;
}

.hero-logo-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.96;
  mix-blend-mode: screen;
}

.hero-logo-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 118px;
  height: 115px;
  background: url("./assets/uqase-symbol-blue.png") center / contain no-repeat;
  filter:
    brightness(1.5)
    saturate(1.18)
    drop-shadow(0 0 18px rgba(83, 116, 235, 0.54))
    drop-shadow(0 0 42px rgba(24, 168, 154, 0.22));
  transform: translate(-50%, -50%);
  animation: logoCorePulse 4.6s ease-in-out infinite alternate;
}

.hero-orb-mark {
  display: none;
}

.signal-field {
  z-index: 1;
}

@keyframes logoStageGlow {
  from {
    opacity: 0.62;
    transform: scale(0.94);
  }
  to {
    opacity: 0.95;
    transform: scale(1.03);
  }
}

@keyframes logoCorePulse {
  from {
    opacity: 0.84;
    transform: translate(-50%, -50%) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.04);
  }
}

@media (max-width: 1080px) {
  .hero-copy {
    padding-top: 70px;
  }

  .hero-logo-stage {
    width: min(600px, calc(100vw - 56px));
    height: 330px;
  }

  .hero-logo-core {
    width: 106px;
    height: 103px;
  }
}

@media (max-width: 860px) {
  .hero-grid {
    min-height: 860px;
  }

  .hero-logo-stage {
    width: min(540px, calc(100vw - 42px));
    height: 310px;
    margin-top: 22px;
  }

  .hero-logo-core {
    width: 96px;
    height: 93px;
  }
}

@media (max-width: 560px) {
  .hero-grid {
    min-height: 790px;
  }

  .hero-copy {
    padding-top: 54px;
  }

  .hero-logo-stage {
    width: min(360px, calc(100vw - 28px));
    height: 236px;
    margin-top: 20px;
  }

  .hero-logo-stage::before {
    inset: 24px 7%;
  }

  .hero-logo-core {
    width: 78px;
    height: 76px;
  }
}

/* Landing refinement: logo constellation and consulting-grade sections */
.hero-logo-stage {
  width: min(780px, calc(100vw - 72px));
  height: 420px;
  margin-top: 18px;
}

.hero-logo-stage::before {
  inset: 10px 10%;
  background:
    radial-gradient(circle, rgba(24, 168, 154, 0.16), transparent 58%),
    radial-gradient(circle at 66% 38%, rgba(83, 116, 235, 0.18), transparent 50%);
  filter: blur(30px);
  opacity: 0.72;
  animation-duration: 8.5s;
}

.hero-logo-stage::after {
  content: none;
}

.hero-logo-canvas {
  opacity: 1;
}

.hero-logo-core {
  width: 152px;
  height: 148px;
  opacity: 0.18;
  mix-blend-mode: screen;
  filter:
    brightness(1.42)
    saturate(1.18)
    drop-shadow(0 0 20px rgba(83, 116, 235, 0.38))
    drop-shadow(0 0 46px rgba(24, 168, 154, 0.16));
}

.hero-logo-stage.is-animated .hero-logo-core {
  animation: none;
  opacity: 0.075;
}

.hero-bottom {
  padding-top: 22px;
}

.hero-metric strong {
  font-size: 34px;
}

.method-stack {
  display: grid;
  gap: 1px;
  border: 1px solid rgba(10, 18, 32, 0.12);
  background: rgba(10, 18, 32, 0.12);
  box-shadow: var(--shadow);
}

.method-stack article {
  min-height: 150px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(247, 243, 232, 0.08), rgba(247, 243, 232, 0.025)),
    var(--night);
  color: var(--cream);
}

.method-stack span {
  display: block;
  margin-bottom: 30px;
  color: #6b87ff;
  font-size: 13px;
  font-weight: 800;
}

.method-stack h3 {
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 400;
}

.method-stack p {
  color: rgba(247, 243, 232, 0.58);
}

.sector-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sector-list .impact-item {
  min-height: 250px;
}

.capability-grid .team-card {
  min-height: 330px;
}

.capability-grid .portrait {
  border-radius: 2px;
  background:
    linear-gradient(135deg, rgba(83, 116, 235, 0.14), rgba(24, 168, 154, 0.08)),
    rgba(255, 255, 255, 0.22);
  color: var(--night);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 800;
}

@media (min-width: 1081px) {
  .prototype-stage {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .prototype-stage .prototype-card h3 {
    font-size: 48px;
  }
}

@media (max-width: 1080px) {
  .hero-logo-stage {
    width: min(650px, calc(100vw - 56px));
    height: 360px;
  }

  .hero-logo-core {
    width: 128px;
    height: 124px;
  }

  .sector-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .hero-logo-stage {
    width: min(560px, calc(100vw - 42px));
    height: 324px;
  }

  .hero-logo-core {
    width: 110px;
    height: 107px;
  }

  .sector-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero-logo-stage {
    width: min(380px, calc(100vw - 28px));
    height: 254px;
  }

  .hero-logo-stage::before {
    inset: 18px 5%;
  }

  .hero-logo-core {
    width: 86px;
    height: 84px;
  }

  .hero-metric strong {
    font-size: 24px;
  }
}

/* Method page: co-design, design thinking, lean startup */
.method-triad {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(10, 18, 32, 0.12);
  background: rgba(10, 18, 32, 0.12);
  box-shadow: var(--shadow);
}

.method-triad article {
  min-height: 190px;
  padding: 30px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.34)),
    var(--paper-2);
}

.method-triad span,
.method-flow span {
  display: block;
  margin-bottom: 34px;
  color: #6b87ff;
  font-size: 13px;
  font-weight: 800;
}

.method-triad h3,
.method-flow h3 {
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 400;
}

.method-triad p {
  color: var(--muted);
}

.method-matrix {
  border-top: 1px solid rgba(16, 24, 17, 0.16);
}

.matrix-row {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(180px, 0.62fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid rgba(16, 24, 17, 0.14);
}

.matrix-row span {
  color: var(--muted);
}

.matrix-row span:nth-child(2) {
  color: var(--green);
  font-weight: 800;
}

.matrix-head {
  padding-top: 0;
}

.matrix-head span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.method-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(247, 243, 232, 0.12);
  background: rgba(247, 243, 232, 0.12);
}

.method-flow article {
  min-height: 230px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(247, 243, 232, 0.07), rgba(247, 243, 232, 0.025)),
    rgba(0, 0, 0, 0.18);
}

.method-flow p {
  color: rgba(247, 243, 232, 0.58);
}

@media (max-width: 1080px) {
  .matrix-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 860px) {
  .method-flow,
  .method-triad {
    grid-template-columns: 1fr;
  }

  .method-flow article,
  .method-triad article {
    min-height: 0;
  }
}

/* Bilingual navigation, direct contact and values */
.nav-links {
  gap: 14px;
}

.nav-link {
  white-space: nowrap;
}

.nav-link.contact-link,
.nav-link[href^="mailto:contact@uqase.com"] {
  min-width: 132px;
  padding: 13px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6484ff, #4f6fd9);
  color: white;
  text-align: center;
  box-shadow: 0 14px 38px rgba(83, 116, 235, 0.34);
}

.nav-link.contact-link:hover,
.nav-link.contact-link:focus-visible,
.nav-link[href^="mailto:contact@uqase.com"]:hover,
.nav-link[href^="mailto:contact@uqase.com"]:focus-visible {
  color: white;
  background: linear-gradient(135deg, #718eff, #5876e4);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 34px;
  padding: 3px;
  border: 1px solid rgba(247, 243, 232, 0.13);
  border-radius: 999px;
  background: rgba(247, 243, 232, 0.055);
}

.language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 28px;
  padding: 5px 8px;
  border-radius: 999px;
  color: rgba(247, 243, 232, 0.58);
  font-size: 12px;
  font-weight: 800;
}

.language-switch a:hover,
.language-switch a:focus-visible {
  color: var(--cream);
  outline: none;
}

.language-switch a.is-active {
  background: rgba(247, 243, 232, 0.14);
  color: var(--cream);
}

.values-section {
  background:
    radial-gradient(circle at 80% 0%, rgba(29, 138, 158, 0.12), transparent 32%),
    linear-gradient(180deg, #f4f4ec, #e8ebe2);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(10, 18, 32, 0.12);
  background: rgba(10, 18, 32, 0.12);
  box-shadow: var(--shadow);
}

.value-card {
  min-height: 300px;
  padding: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.34)),
    var(--paper-2);
}

.value-token {
  display: block;
  margin-bottom: 78px;
  color: #5c7cff;
  font-size: 13px;
  font-weight: 800;
}

.value-card h3 {
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 400;
}

.value-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.compact-cta {
  justify-content: flex-start;
  margin-top: 26px;
}

@media (max-width: 1180px) {
  .nav {
    width: min(100% - 36px, 1360px);
  }

  .nav-links {
    gap: 8px;
  }

  .nav-link {
    font-size: 14px;
  }
}

@media (max-width: 1080px) {
  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .value-token {
    margin-bottom: 42px;
  }
}

@media (max-width: 860px) {
  .nav-links {
    gap: 4px;
  }

  .nav-link.contact-link,
  .nav-link[href^="mailto:contact@uqase.com"] {
    min-width: 0;
    padding: 14px;
    border-radius: 2px;
    text-align: left;
  }

  .language-switch {
    width: max-content;
    margin: 10px 0 4px;
  }
}

@media (max-width: 560px) {
  .values-grid {
    grid-template-columns: 1fr;
  }

  .value-card {
    min-height: 0;
    padding: 26px;
  }

  .value-token {
    margin-bottom: 30px;
  }
}

/* Hero viewport fit: keep the whole first screen visible on laptop and desktop */
.hero {
  min-height: calc(100svh - 86px);
}

.hero-grid {
  min-height: calc(100svh - 86px);
}

.hero-copy {
  padding-top: clamp(38px, 6svh, 62px);
}

.hero h1 {
  font-size: clamp(48px, 5vw, 76px);
  line-height: 1.04;
}

.hero .eyebrow {
  margin-bottom: 16px;
}

.hero-actions {
  margin-top: 26px;
}

.hero .button {
  min-height: 50px;
  padding: 13px 22px;
}

.hero-logo-stage {
  width: min(650px, calc(100vw - 72px));
  height: clamp(205px, 28svh, 300px);
  margin-top: 10px;
}

.hero-logo-core {
  width: clamp(88px, 9vw, 118px);
  height: clamp(86px, 8.8vw, 115px);
}

.hero-bottom {
  padding: 14px 0 24px;
}

.hero-metric strong {
  font-size: clamp(22px, 2vw, 28px);
}

@media (max-width: 860px) {
  .hero,
  .hero-grid {
    min-height: calc(100svh - 76px);
  }

  .hero-copy {
    padding-top: 46px;
  }

  .hero-logo-stage {
    width: min(500px, calc(100vw - 42px));
    height: 245px;
  }
}

@media (max-width: 560px) {
  .hero,
  .hero-grid {
    min-height: auto;
  }

  .hero-copy {
    padding-top: 44px;
  }

  .hero-logo-stage {
    width: min(340px, calc(100vw - 28px));
    height: 220px;
  }

  .hero-bottom {
    padding-bottom: 28px;
  }
}

/* Hero viewport fit v2: keep text, CTA and logo animation inside the first viewport */
.hero {
  height: calc(100vh - 86px);
  min-height: 760px;
}

.hero-grid {
  position: relative;
  height: 100%;
  min-height: 0;
  justify-content: center;
  gap: 0;
  padding-bottom: 0;
}

.hero-copy {
  max-width: 1060px;
  padding: 0 0 255px;
}

.hero h1 {
  font-size: clamp(46px, 4.35vw, 66px);
  line-height: 1.03;
}

.hero-actions {
  margin-top: 22px;
}

.hero-logo-stage {
  position: absolute;
  left: 50%;
  bottom: 58px;
  width: min(520px, calc(100vw - 72px));
  height: 210px;
  margin: 0;
  transform: translateX(-50%);
}

.hero-logo-core {
  width: 92px;
  height: 90px;
}

.hero-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  margin: 0;
  padding: 0;
}

.hero-metric strong {
  font-size: 22px;
}

.hero-metric span,
.hero-scroll {
  font-size: 12px;
}

@media (max-height: 860px) and (min-width: 861px) {
  .hero {
    min-height: 680px;
  }

  .hero-copy {
    padding-bottom: 215px;
  }

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

  .hero-logo-stage {
    bottom: 48px;
    height: 178px;
  }
}

@media (max-width: 860px) {
  .hero {
    height: auto;
    min-height: 760px;
  }

  .hero-grid {
    min-height: 760px;
  }

  .hero-copy {
    padding: 48px 0 285px;
  }

  .hero-logo-stage {
    bottom: 90px;
    width: min(420px, calc(100vw - 42px));
    height: 220px;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 720px;
  }

  .hero-grid {
    min-height: 720px;
  }

  .hero-copy {
    padding: 42px 0 258px;
  }

  .hero-logo-stage {
    bottom: 74px;
    width: min(320px, calc(100vw - 28px));
    height: 190px;
  }

  .hero-bottom {
    display: none;
  }
}


/* =========================================================
   UQASE PREMIUM VISUAL REFRESH
   ========================================================= */

/* --- Morpho blob (behind canvas, morpho.org inspired) --- */

.hero-morpho {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 92%;
  height: 92%;
  border-radius: 58% 42% 34% 66% / 58% 28% 72% 42%;
  background:
    radial-gradient(ellipse at 40% 38%, rgba(29, 138, 158, 0.86) 0%, transparent 56%),
    radial-gradient(ellipse at 68% 62%, rgba(83, 116, 235, 0.70) 0%, transparent 52%),
    radial-gradient(ellipse at 50% 48%, rgba(47, 107, 62, 0.60) 0%, transparent 44%);
  filter: blur(38px);
  opacity: 0.62;
  animation: uqMorpho 11s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes uqMorpho {
  0%,100% { border-radius: 58% 42% 34% 66% / 58% 28% 72% 42%; opacity: 0.60; transform: translate(-50%,-50%) scale(1.00); }
  17%      { border-radius: 36% 64% 54% 46% / 44% 60% 40% 56%; }
  33%      { border-radius: 52% 58% 28% 44% / 32% 72% 58% 48%; opacity: 0.76; transform: translate(-50%,-50%) scale(1.07); }
  50%      { border-radius: 44% 56% 68% 32% / 56% 34% 68% 44%; }
  66%      { border-radius: 62% 38% 44% 56% / 70% 30% 70% 30%; opacity: 0.58; transform: translate(-50%,-50%) scale(0.95); }
  83%      { border-radius: 32% 68% 52% 48% / 46% 54% 46% 54%; }
}

/* --- Large decorative numbers — premium card treatment --- */

/* Dark section — Signature grid (index.html) */
.signature-grid article {
  border-left: 2px solid rgba(107, 135, 255, 0.12);
  transition: border-left-color 320ms ease;
}
.signature-grid article:hover {
  border-left-color: rgba(29, 138, 158, 0.42);
}
.signature-grid span {
  margin-bottom: 20px;
  color: rgba(107, 135, 255, 0.18);
  font-family: var(--serif);
  font-size: 78px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}

/* Light section — Value cards */
.value-card {
  border-top: 2px solid rgba(92, 124, 255, 0.15);
  transition: border-top-color 320ms ease, transform 260ms ease, box-shadow 260ms ease;
}
.value-card:hover {
  border-top-color: rgba(47, 107, 62, 0.42);
  transform: translateY(-5px);
  box-shadow: 0 18px 48px rgba(10, 14, 26, 0.10);
}
.value-token {
  margin-bottom: 20px;
  color: rgba(92, 124, 255, 0.14);
  font-family: var(--serif);
  font-size: 74px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}

/* Dark method stack (homepage method section) */
.method-stack article {
  border-left: 2px solid rgba(107, 135, 255, 0.14);
  transition: border-left-color 320ms ease;
}
.method-stack article:hover {
  border-left-color: rgba(29, 138, 158, 0.42);
}
.method-stack span {
  margin-bottom: 18px;
  color: rgba(107, 135, 255, 0.15);
  font-family: var(--serif);
  font-size: 66px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}

/* --- Method page — premium cards --- */

/* Method triad (light) */
.method-triad article {
  border-top: 2px solid rgba(47, 107, 62, 0.14);
  transition: border-top-color 320ms ease, transform 260ms ease;
}
.method-triad article:hover {
  border-top-color: rgba(47, 107, 62, 0.40);
  transform: translateY(-3px);
}
.method-triad span {
  margin-bottom: 18px;
  color: rgba(47, 107, 62, 0.12);
  font-family: var(--serif);
  font-size: 66px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}

/* Method flow (dark) */
.method-flow article {
  border-left: 2px solid rgba(107, 135, 255, 0.12);
  transition: border-left-color 320ms ease;
}
.method-flow article:hover {
  border-left-color: rgba(29, 138, 158, 0.38);
}
.method-flow span {
  margin-bottom: 16px;
  color: rgba(107, 135, 255, 0.14);
  font-family: var(--serif);
  font-size: 60px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}

/* --- Prototype cards — subtle top accent on hover --- */
.prototype-stage .prototype-card {
  border-top: 2px solid rgba(247, 243, 232, 0.08);
  transition: border-top-color 320ms ease, transform 260ms ease, box-shadow 260ms ease;
}
.prototype-stage .prototype-card:hover {
  border-top-color: rgba(29, 138, 158, 0.50);
  transform: translateY(-6px);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.32);
}

/* --- Method page hero aside — premium left accent --- */
.page-hero-aside {
  border-top: 3px solid rgba(43, 127, 212, 0.55);
}

/* --- Method matrix — cleaner row hover --- */
.matrix-row:not(.matrix-head):hover {
  background: rgba(47, 107, 62, 0.04);
}

/* --- Impact items — tighten accent --- */
.impact-item {
  border-left: 3px solid var(--green);
  transition: border-left-color 260ms ease, background 260ms ease;
}
.impact-item:hover {
  border-left-color: var(--teal);
  background: rgba(255, 255, 255, 0.62);
}

/* --- Responsive: keep numbers readable at small sizes --- */
@media (max-width: 1080px) {
  .signature-grid span,
  .value-token { font-size: 58px; }
  .method-stack span,
  .method-triad span,
  .method-flow span { font-size: 50px; }
}

@media (max-width: 560px) {
  .signature-grid span,
  .value-token,
  .method-stack span,
  .method-triad span,
  .method-flow span { font-size: 42px; margin-bottom: 14px; }
}

/* ─── Publications / Perspectives ─────────────────────────────── */
.perspectives-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.perspectives-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 36px 32px;
  border: 1px solid rgba(247, 243, 232, 0.10);
  border-top: 2px solid rgba(43, 127, 212, 0.55);
  border-radius: 4px;
  background: rgba(247, 243, 232, 0.03);
  transition: border-top-color 280ms ease, background 280ms ease, transform 260ms ease;
}

.perspectives-card:hover {
  border-top-color: rgba(43, 127, 212, 0.85);
  background: rgba(247, 243, 232, 0.055);
  transform: translateY(-4px);
}

.perspectives-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--cream);
  margin: 0;
}

.perspectives-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(247, 243, 232, 0.62);
  margin: 0;
  flex: 1;
}

.perspectives-source {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.perspectives-outlet {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--teal);
}

.perspectives-date {
  font-size: 0.78rem;
  color: rgba(247, 243, 232, 0.40);
}

.perspectives-link {
  display: inline-block;
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(247, 243, 232, 0.70);
  text-decoration: none;
  transition: color 220ms ease;
  margin-top: auto;
}

.perspectives-link:hover {
  color: var(--cream);
}

@media (max-width: 720px) {
  .perspectives-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── Terrain metrics bar ──────────────────────────────────────── */
.terrain-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 48px 0 40px;
  border: 1px solid var(--line-light);
  border-radius: 6px;
  overflow: hidden;
}

.terrain-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid var(--line-light);
  background: #fff;
  transition: background 220ms ease;
}

.terrain-metric:last-child { border-right: none; }

.terrain-metric:hover { background: #f5faf7; }

.terrain-num {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--green);
  letter-spacing: -0.02em;
}

.terrain-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted, #7a8a7e);
  line-height: 1.4;
}

/* ─── Anonymised case briefs ───────────────────────────────────── */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}

.case-brief {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 26px;
  border: 1px solid var(--line-light);
  border-left: 3px solid var(--green);
  border-radius: 4px;
  background: #fff;
  transition: border-left-color 240ms ease, box-shadow 240ms ease, transform 240ms ease;
}

.case-brief:hover {
  border-left-color: var(--teal);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
  transform: translateY(-3px);
}

.case-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--teal);
}

.case-brief h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  margin: 0;
}

.case-brief p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #4d5a50;
  margin: 0;
  flex: 1;
}

.case-meta {
  font-size: 0.75rem;
  font-weight: 600;
  color: #8a9b8e;
  padding-top: 8px;
  border-top: 1px solid var(--line-light);
  margin-top: auto;
}

/* ─── Formats grid (Méthode page) ─────────────────────────────── */
.formats-grid-method {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.format-card {
  padding: 24px 22px;
  border: 1px solid var(--line-light);
  border-top: 2px solid var(--green);
  border-radius: 4px;
  background: #fff;
  transition: border-top-color 240ms ease, box-shadow 240ms ease;
}

.format-card:hover {
  border-top-color: var(--teal);
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
}

.format-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 10px;
}

.format-card p {
  font-size: 0.85rem;
  line-height: 1.65;
  color: #4d5a50;
  margin: 0;
}

@media (max-width: 900px) {
  .formats-grid-method { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .formats-grid-method { grid-template-columns: 1fr; }
}

/* ─── Formats row ──────────────────────────────────────────────── */
.formats-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line-light);
}

.formats-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--green);
  white-space: nowrap;
}

.formats-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.formats-tags span {
  display: inline-block;
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 500;
  color: #3d5240;
  background: rgba(47, 107, 62, 0.07);
  border: 1px solid rgba(47, 107, 62, 0.18);
  border-radius: 100px;
}

/* ─── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 840px) {
  .terrain-metrics { grid-template-columns: repeat(2, 1fr); }
  .terrain-metric:nth-child(2) { border-right: none; }
  .terrain-metric:nth-child(3) { border-top: 1px solid var(--line-light); }
}

@media (max-width: 640px) {
  .cases-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .terrain-metrics { grid-template-columns: 1fr 1fr; }
  .terrain-num { font-size: 2rem; }
}

/* Premium kinetic hero v3 */
.hero {
  height: calc(100vh - 86px);
  min-height: 760px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 76%, rgba(32, 55, 72, 0.32), transparent 38%),
    #000;
}

.hero::after {
  opacity: 0.24;
}

.hero-grid {
  position: relative;
  width: min(1440px, calc(100% - 72px));
  height: 100%;
  min-height: 0;
  display: block;
}

.hero-copy {
  position: absolute;
  left: 50%;
  top: 37%;
  z-index: 7;
  width: min(1040px, calc(100% - 48px));
  max-width: none;
  padding: 0;
  text-align: center;
  transform: translate(-50%, -50%);
}

.hero h1 {
  max-width: 980px;
  font-size: clamp(45px, 4.25vw, 68px);
  line-height: 1.04;
}

.hero .eyebrow {
  margin-bottom: 18px;
  color: rgba(247, 243, 232, 0.5);
}

.hero-actions {
  margin-top: 26px;
}

.hero-logo-stage {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  margin: 0;
  pointer-events: auto;
  transform: none;
  isolation: isolate;
  mask-image: linear-gradient(180deg, transparent 12%, #000 34%, #000 88%, transparent 100%);
}

.hero-logo-stage::before {
  inset: auto 14% 0;
  height: 52%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 48% 48%, rgba(207, 241, 232, 0.13), transparent 34%),
    radial-gradient(circle at 58% 46%, rgba(83, 116, 235, 0.11), transparent 44%);
  filter: blur(42px);
  opacity: 0.68;
}

.hero-logo-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.96;
  mix-blend-mode: screen;
}

.hero-logo-core {
  display: none !important;
}

.hero .signal-field {
  z-index: 1;
  opacity: 0.2;
}

.hero .signal-grid {
  inset: auto 0 0;
  height: 30%;
  opacity: 0.55;
}

.hero .signal-path {
  display: none !important;
}

.hero-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  z-index: 6;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

.hero-metric strong {
  font-size: clamp(22px, 2vw, 30px);
}

@media (max-height: 860px) and (min-width: 861px) {
  .hero {
    min-height: 680px;
  }

  .hero-copy {
    top: 35%;
  }

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

@media (max-width: 860px) {
  .hero {
    height: auto;
    min-height: 760px;
  }

  .hero-grid {
    width: min(100% - 42px, 1440px);
    min-height: 760px;
  }

  .hero-copy {
    top: 34%;
    width: 100%;
  }

  .hero-logo-stage {
    mask-image: linear-gradient(180deg, transparent 8%, #000 30%, #000 92%);
  }

  .hero-bottom {
    bottom: 28px;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 700px;
  }

  .hero-grid {
    width: min(100% - 30px, 1440px);
    min-height: 700px;
  }

  .hero-copy {
    top: 35%;
  }

  .hero h1 {
    font-size: clamp(38px, 12vw, 46px);
  }

  .hero-bottom {
    display: none;
  }
}

/* Hero alignment fix: reveal transforms must not shift the centered headline */
.hero .hero-copy,
.hero .hero-copy.reveal,
.hero .hero-copy.reveal.is-visible {
  left: 0;
  right: 0;
  top: 24%;
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto;
  transform: none;
}

.hero h1 {
  margin-inline: auto;
  text-align: center;
}

@media (max-height: 860px) and (min-width: 861px) {
  .hero .hero-copy,
  .hero .hero-copy.reveal,
  .hero .hero-copy.reveal.is-visible {
    top: 21%;
  }
}

@media (max-width: 860px) {
  .hero .hero-copy,
  .hero .hero-copy.reveal,
  .hero .hero-copy.reveal.is-visible {
    top: 72px;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .hero .hero-copy,
  .hero .hero-copy.reveal,
  .hero .hero-copy.reveal.is-visible {
    top: 54px;
  }
}

/* Editorial premium system v4 */
:root {
  --night: #030506;
  --night-2: #081014;
  --night-3: #10191d;
  --paper: #e8ebe4;
  --paper-2: #f5f3ec;
  --ink: #111712;
  --muted: #626c64;
  --soft: #ccd2c8;
  --green: #1A4FAA;
  --green-2: #2660C0;
  --teal: #2B7FD4;
  --blue: #4f69c8;
  --cream: #f3efe5;
  --line-dark: rgba(243, 239, 229, 0.12);
  --line-light: rgba(17, 23, 18, 0.12);
  --shadow: 0 18px 54px rgba(3, 5, 6, 0.14);
}

* {
  letter-spacing: 0;
}

body {
  background: var(--paper);
  color: var(--ink);
}

.site-header {
  border-bottom-color: rgba(243, 239, 229, 0.09);
  background: rgba(0, 0, 0, 0.86);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.02);
}

.nav {
  min-height: 82px;
}

.brand-text strong {
  font-size: 18px;
  font-weight: 800;
}

.brand-text span {
  color: rgba(243, 239, 229, 0.5);
  font-size: 12px;
  font-weight: 700;
}

.nav-links {
  gap: 18px;
}

.nav-link {
  color: rgba(243, 239, 229, 0.52);
  font-size: 15px;
  font-weight: 500;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link[aria-current="page"] {
  color: var(--cream);
}

.language-switch {
  border-color: rgba(243, 239, 229, 0.14);
  background: rgba(243, 239, 229, 0.045);
}

.language-switch a {
  color: rgba(243, 239, 229, 0.56);
}

.language-switch a.is-active {
  background: rgba(243, 239, 229, 0.14);
}

.nav-link.contact-link,
.nav-link[href^="mailto:contact@uqase.com"],
.nav-link[href$="contact/index.html"] {
  min-width: 132px;
  padding: 13px 22px;
  border: 1px solid rgba(122, 143, 220, 0.34);
  border-radius: 999px;
  background: linear-gradient(135deg, #5873d6, #385ba9);
  color: #fff;
  box-shadow: 0 14px 34px rgba(79, 105, 200, 0.26);
}

.nav-link.contact-link:hover,
.nav-link.contact-link:focus-visible,
.nav-link[href^="mailto:contact@uqase.com"]:hover,
.nav-link[href^="mailto:contact@uqase.com"]:focus-visible,
.nav-link[href$="contact/index.html"]:hover,
.nav-link[href$="contact/index.html"]:focus-visible {
  border-color: rgba(147, 166, 232, 0.5);
  background: linear-gradient(135deg, #617bd9, #4162b2);
  color: #fff;
}

h1,
h2,
h3 {
  font-family: var(--sans);
  font-weight: 400;
}

h2 {
  font-size: 2.7rem;
  line-height: 1.08;
}

h3 {
  font-size: 1.45rem;
  line-height: 1.22;
}

.hero h1 {
  max-width: 900px;
  font-size: 4.15rem;
  line-height: 1.06;
  color: rgba(243, 239, 229, 0.93);
}

.hero .eyebrow,
.page-hero .eyebrow {
  color: rgba(243, 239, 229, 0.5);
  font-size: 0.78rem;
  font-weight: 700;
}

.hero .button,
.button {
  border-radius: 999px;
  border-color: rgba(79, 105, 200, 0.28);
  background: linear-gradient(135deg, #5873d6, #3d60b2);
  color: #fff;
  box-shadow: 0 16px 38px rgba(79, 105, 200, 0.24);
}

.button.secondary {
  border: 1px solid rgba(243, 239, 229, 0.16);
  background: rgba(243, 239, 229, 0.055);
  color: rgba(243, 239, 229, 0.88);
  box-shadow: none;
}

.button.dark {
  border-color: rgba(3, 5, 6, 0.08);
  background: linear-gradient(135deg, #11191f, #050708);
  color: var(--cream);
}

.button.ghost {
  border-color: rgba(52, 107, 67, 0.28);
  background: rgba(52, 107, 67, 0.045);
  color: var(--green);
  box-shadow: none;
}

.page-hero {
  min-height: auto;
  padding: 7.25rem 0 6rem;
  background:
    linear-gradient(180deg, rgba(3, 5, 6, 0.24), rgba(3, 5, 6, 0.96)),
    linear-gradient(124deg, #020304 0%, #071014 46%, #0d171c 100%);
}

.page-hero::before {
  opacity: 0.34;
  background-size: 112px 112px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.88), transparent 78%);
}

.page-hero::after {
  inset: 0;
  opacity: 0.6;
  background:
    linear-gradient(110deg, transparent 10%, rgba(35, 123, 131, 0.09) 10.12%, transparent 10.32%),
    linear-gradient(110deg, transparent 72%, rgba(79, 105, 200, 0.1) 72.12%, transparent 72.32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 42%);
  animation: none;
}

.page-hero-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.58fr);
  gap: 4.75rem;
  align-items: end;
}

.page-hero .hero-copy,
.page-hero .hero-copy.reveal,
.page-hero .hero-copy.reveal.is-visible {
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  max-width: 760px;
  width: auto;
  margin: 0;
  padding: 0;
  text-align: left;
  transform: none;
}

.page-hero h1 {
  max-width: 760px;
  font-size: 3.45rem;
  line-height: 1.08;
  color: rgba(243, 239, 229, 0.94);
}

.page-hero .lead {
  max-width: 680px;
  margin: 1.25rem 0 0;
  color: rgba(243, 239, 229, 0.66);
  font-size: 1.08rem;
  line-height: 1.68;
}

.page-hero .hero-actions {
  justify-content: flex-start;
  margin-top: 1.8rem;
}

.badge-row {
  gap: 0.45rem;
  margin-bottom: 1.05rem;
}

.badge,
.badge.dark {
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.badge.dark {
  border-color: rgba(243, 239, 229, 0.16);
  background: rgba(243, 239, 229, 0.055);
  color: rgba(243, 239, 229, 0.74);
}

.page-hero-aside {
  padding: 1.45rem;
  border: 1px solid rgba(243, 239, 229, 0.13);
  border-top: 1px solid rgba(243, 239, 229, 0.22);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(243, 239, 229, 0.07), rgba(243, 239, 229, 0.025)),
    rgba(3, 5, 6, 0.28);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.22);
}

.page-hero-aside dl {
  gap: 1rem;
}

.page-hero-aside dt {
  color: rgba(243, 239, 229, 0.48);
  font-size: 0.78rem;
}

.page-hero-aside dd {
  color: rgba(243, 239, 229, 0.9);
  font-family: var(--sans);
  font-size: 1.35rem;
  font-weight: 400;
}

.section {
  padding: 5.9rem 0;
}

.section.compact {
  padding: 4.5rem 0;
}

.section-header {
  max-width: 800px;
  margin-bottom: 2.6rem;
}

.section-header h2 {
  max-width: 780px;
  font-size: 2.55rem;
  line-height: 1.1;
}

.section-lead {
  max-width: 760px;
  color: rgba(98, 108, 100, 0.94);
  font-size: 1.05rem;
  line-height: 1.72;
}

.dark-section {
  background:
    linear-gradient(180deg, #030506, #071013 70%, #081014);
}

.light-section,
.values-section,
.experience-section,
.team-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 48%),
    var(--paper-2);
}

.card,
.impact-item,
.contact-card,
.contact-form,
.formula-part,
.reference-box,
.callout,
.quote-band,
.page-hero-aside,
.connector,
.mock-window,
.format-card,
.case-brief,
.perspectives-card {
  border-radius: 6px;
}

.card,
.impact-item,
.contact-card,
.contact-form,
.format-card,
.case-brief {
  border-color: rgba(17, 23, 18, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0.38)),
    var(--paper-2);
  box-shadow: 0 12px 34px rgba(3, 5, 6, 0.055);
}

.card {
  padding: 1.65rem;
}

.card:hover,
.impact-item:hover,
.format-card:hover,
.case-brief:hover {
  border-color: rgba(35, 123, 131, 0.28);
  transform: translateY(-2px);
  box-shadow: 0 16px 42px rgba(3, 5, 6, 0.08);
}

.card h3,
.value-card h3,
.method-triad h3,
.method-flow h3,
.method-stack h3,
.signature-grid h3,
.case-brief h3,
.format-card h3 {
  font-family: var(--sans);
  font-weight: 500;
}

.card h3 {
  margin-bottom: 0.75rem;
}

.card p,
.case-brief p,
.format-card p,
.impact-item p {
  color: var(--muted);
  line-height: 1.7;
}

.dark-card,
.prototype-stage .prototype-card,
.method-stack article,
.method-flow article,
.signature-grid article,
.perspectives-card {
  border-color: rgba(243, 239, 229, 0.1);
  background:
    linear-gradient(180deg, rgba(243, 239, 229, 0.055), rgba(243, 239, 229, 0.022)),
    rgba(0, 0, 0, 0.2);
  box-shadow: none;
}

.dark-card:hover,
.prototype-stage .prototype-card:hover,
.method-stack article:hover,
.method-flow article:hover,
.signature-grid article:hover,
.perspectives-card:hover {
  border-color: rgba(35, 123, 131, 0.28);
  transform: translateY(-2px);
  box-shadow: none;
}

.dark-card p,
.dark-card li,
.method-flow p,
.method-stack p,
.signature-grid p,
.prototype-stage .prototype-card p,
.perspectives-card p {
  color: rgba(243, 239, 229, 0.62);
}

.quote-band,
.experience-band {
  border-color: rgba(17, 23, 18, 0.1);
  background:
    linear-gradient(135deg, rgba(17, 23, 18, 0.96), rgba(7, 16, 19, 0.96));
  color: var(--cream);
  font-family: var(--sans);
  font-size: 1.45rem;
  line-height: 1.4;
}

.comparison,
.data-table,
.method-triad,
.method-flow,
.method-stack,
.values-grid,
.signature-grid,
.prototype-stage,
.steps,
.roadmap,
.formula {
  border-radius: 6px;
  box-shadow: 0 14px 42px rgba(3, 5, 6, 0.075);
}

.comparison,
.data-table {
  background: rgba(255, 255, 255, 0.34);
}

.comparison th,
.data-table th {
  background: #10181d;
  color: var(--cream);
  font-weight: 600;
}

.comparison td,
.data-table td {
  color: rgba(17, 23, 18, 0.76);
  line-height: 1.65;
}

.method-triad span,
.method-flow span,
.method-stack span,
.signature-grid span,
.value-token {
  margin-bottom: 1.05rem;
  color: rgba(79, 105, 200, 0.7);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
}

.method-triad article,
.method-flow article,
.method-stack article,
.signature-grid article {
  min-height: 0;
  padding: 1.65rem;
}

.method-triad h3,
.method-flow h3,
.method-stack h3,
.signature-grid h3 {
  font-size: 1.45rem;
  line-height: 1.2;
}

.method-triad p,
.method-flow p,
.method-stack p,
.signature-grid p {
  margin-bottom: 0;
  line-height: 1.7;
}

.value-card {
  min-height: 0;
  padding: 1.75rem;
  border-top-color: rgba(35, 123, 131, 0.24);
}

.value-token {
  display: inline-flex;
  margin-bottom: 1.1rem;
}

.value-card h3 {
  font-size: 1.45rem;
}

.prototype-stage {
  gap: 1.2rem;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.prototype-stage .prototype-card {
  min-height: 340px;
  padding: 2rem;
}

.prototype-stage .prototype-card h3 {
  margin-top: 3.25rem;
  font-size: 2.35rem;
  line-height: 1.08;
}

.terrain-metrics {
  border-radius: 6px;
  box-shadow: 0 12px 34px rgba(3, 5, 6, 0.055);
}

.terrain-metric {
  background: rgba(255, 255, 255, 0.58);
}

.terrain-num {
  color: var(--green);
  font-size: 2.25rem;
  font-weight: 500;
}

.terrain-label,
.case-meta,
.case-tag,
.perspectives-outlet {
  letter-spacing: 0;
}

.format-card,
.case-brief {
  border-left-width: 1px;
  border-top: 1px solid rgba(35, 123, 131, 0.22);
}

.format-card h3,
.case-brief h3 {
  font-size: 1rem;
  line-height: 1.38;
}

.contact-layout {
  gap: 2rem;
}

.contact-form {
  padding: 1.75rem;
}

.form-row label {
  color: rgba(17, 23, 18, 0.7);
}

.form-row input,
.form-row select,
.form-row textarea {
  border-color: rgba(17, 23, 18, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.74);
}

.footer-grid h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

@media (max-width: 1080px) {
  .nav {
    width: min(100% - 40px, 1360px);
  }

  .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
  }

  .page-hero .hero-copy,
  .page-hero .hero-copy.reveal,
  .page-hero .hero-copy.reveal.is-visible {
    max-width: 760px;
    text-align: left;
  }

  .page-hero .lead {
    margin-left: 0;
  }

  .page-hero .hero-actions {
    justify-content: flex-start;
  }

  .page-hero h1 {
    font-size: 3.05rem;
  }

  .hero h1 {
    font-size: 3.6rem;
  }

  .section-header h2,
  h2 {
    font-size: 2.35rem;
  }

  .prototype-stage .prototype-card h3 {
    font-size: 2rem;
  }
}

@media (max-width: 860px) {
  .nav {
    min-height: 76px;
  }

  .nav-links {
    gap: 0.25rem;
  }

  .nav-link.contact-link,
  .nav-link[href^="mailto:contact@uqase.com"],
  .nav-link[href$="contact/index.html"] {
    width: 100%;
    min-width: 0;
    border-radius: 6px;
    text-align: left;
  }

  .language-switch {
    margin: 0.65rem 0 0.35rem;
  }

  .page-hero {
    padding: 5.25rem 0 4.4rem;
  }

  .page-hero h1 {
    font-size: 2.55rem;
  }

  .page-hero .lead {
    font-size: 1rem;
  }

  .hero h1 {
    font-size: 3.05rem;
  }

  .section {
    padding: 4.6rem 0;
  }

  .section-header h2,
  h2 {
    font-size: 2.1rem;
  }
}

@media (max-width: 560px) {
  .nav {
    width: min(100% - 28px, 1360px);
  }

  .brand-text strong {
    font-size: 1rem;
  }

  .page-hero {
    padding: 4.25rem 0 3.6rem;
  }

  .page-hero h1 {
    font-size: 2.1rem;
    line-height: 1.12;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .section-header h2,
  h2 {
    font-size: 1.85rem;
  }

  h3,
  .card h3,
  .value-card h3,
  .method-triad h3,
  .method-flow h3,
  .method-stack h3,
  .signature-grid h3 {
    font-size: 1.22rem;
  }

  .card,
  .impact-item,
  .page-hero-aside,
  .contact-form,
  .contact-card,
  .format-card,
  .case-brief {
    padding: 1.25rem;
  }

  .quote-band,
  .experience-band {
    font-size: 1.18rem;
  }
}

/* ─── Hero tagline (bilingual accent) ─────────────────────── */
.hero-tagline {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0.5rem 0 1.6rem;
  opacity: 0.85;
}

/* ─── Services page ────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.service-card {
  background: var(--paper-2);
  border: 1px solid var(--line-light);
  border-top: 3px solid var(--green);
  border-radius: 4px;
  padding: 2rem 1.75rem;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.5rem;
}

.service-card .service-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.85rem;
}

.service-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 0 0 1rem;
}

.service-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.8;
}

.service-cta {
  margin-top: 0.75rem;
}

.service-cta a {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.services-products-strip {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.services-products-strip a {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  border: 1.5px solid var(--teal);
  border-radius: 3px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal);
  transition: background 0.18s, color 0.18s;
}

.services-products-strip a:hover {
  background: var(--teal);
  color: #fff;
}

@media (max-width: 740px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════
   PREMIUM LAYOUT OVERRIDE — Big Four caliber
   Wins over all earlier signature-section rules
   ═══════════════════════════════════════════════════════════ */

/* Section breathing room */
.signature-section {
  padding: 9rem 0 8rem;
}

/* Header: large, centered, generous margin below */
.signature-section .section-header {
  max-width: 820px;
  margin-bottom: 5rem;
}

.signature-section .section-header h2 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: rgba(247, 243, 232, 0.95);
  margin-bottom: 1.4rem;
}

.signature-section .section-lead {
  font-size: 1.08rem;
  line-height: 1.75;
  max-width: 680px;
  margin-inline: auto;
}

/* Grid: open columns, no border-box look */
.signature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: none;
  background: none;
  border-top: 1px solid rgba(247, 243, 232, 0.12);
}

/* Cards: open, spacious, no background box */
.signature-grid article {
  min-height: 0;
  padding: 3rem 2.75rem 3rem 0;
  background: none;
  border: none;
  border-left: none;
  border-right: 1px solid rgba(247, 243, 232, 0.08);
}

.signature-grid article:last-child {
  border-right: none;
  padding-right: 0;
  padding-left: 2.75rem;
}

.signature-grid article:nth-child(2) {
  padding-left: 2.75rem;
}

/* Number: small, precise, label-like */
.signature-grid span {
  display: block;
  margin-bottom: 1.75rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  line-height: 1;
}

/* Title: large, light weight — editorial */
.signature-grid h3 {
  font-family: var(--sans);
  font-size: 1.65rem;
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: rgba(247, 243, 232, 0.95);
  margin-bottom: 1rem;
}

/* Body: legible, subdued */
.signature-grid p {
  font-size: 0.93rem;
  line-height: 1.75;
  color: rgba(247, 243, 232, 0.48);
  margin-bottom: 0;
}

/* Hover: subtle teal top accent */
.signature-grid article:hover {
  border-left: none;
}

@media (max-width: 860px) {
  .signature-section {
    padding: 5rem 0 4.5rem;
  }
  .signature-grid {
    grid-template-columns: 1fr;
    border-top: none;
  }
  .signature-grid article {
    padding: 2rem 0;
    border-right: none;
    border-left: none;
    border-top: 1px solid rgba(247, 243, 232, 0.1);
  }
  .signature-grid article:nth-child(2),
  .signature-grid article:last-child {
    padding-left: 0;
    padding-right: 0;
  }
}

/* ─── Prototype card CTA alignment (flex column) ───────────── */
.prototype-stage .prototype-card {
  display: flex;
  flex-direction: column;
}

.prototype-stage .prototype-card .badge-row {
  flex-shrink: 0;
}

.prototype-stage .prototype-card h3 {
  flex-shrink: 0;
}

.prototype-stage .prototype-card p {
  flex: 1;
}

.prototype-stage .prototype-card .button {
  margin-top: 2rem;
  align-self: flex-start;
  flex-shrink: 0;
}

/* ─── Method section (dark bg, dark cards) ─────────────────── */
#methode .method-stack {
  border-color: rgba(237, 239, 234, 0.14);
  background: rgba(237, 239, 234, 0.07);
}

#methode .method-stack span {
  color: var(--teal);
}

/* ─── Impact section (dark bg, metrics override) ────────────── */
#impact .terrain-metrics {
  border-color: rgba(237, 239, 234, 0.15);
  background: rgba(237, 239, 234, 0.06);
}

#impact .terrain-metric {
  background: transparent;
  border-right-color: rgba(237, 239, 234, 0.15);
}

#impact .terrain-metric:hover {
  background: rgba(237, 239, 234, 0.06);
}

#impact .terrain-num {
  color: var(--teal);
}

#impact .terrain-label {
  color: rgba(237, 239, 234, 0.65);
}

/* ─── Perspectives cards in light sections ────────────────── */
.light-section .perspectives-card {
  background: var(--paper-2);
  border: 1px solid var(--line-light);
  border-top: 2px solid rgba(26, 79, 170, 0.45);
}

.light-section .perspectives-card:hover {
  border-top-color: var(--green);
  background: #fff;
  transform: translateY(-4px);
}

.light-section .perspectives-card h3 {
  color: var(--ink);
}

.light-section .perspectives-card p {
  color: var(--muted);
}

.light-section .perspectives-date {
  color: var(--muted);
}

.light-section .perspectives-link {
  color: var(--green);
}

.light-section .perspectives-link:hover {
  color: var(--ink);
}

/* ─── Prototype cards sur sections claires ───────────────────── */
#prototypes .prototype-card,
#products .prototype-card {
  background: var(--ink);
}

/* ─── Footer sous-liens produits ─────────────────────────────── */
.footer-sub-link {
  padding-left: 1rem !important;
  font-size: 0.82em !important;
  opacity: 0.65;
}

/* ─── Section experience (EN) — métriques dark bg ─────────────── */
#experience .terrain-metrics { border-color: rgba(237,239,234,0.15); background: rgba(237,239,234,0.06); }
#experience .terrain-metric { background: transparent; border-right-color: rgba(237,239,234,0.15); }
#experience .terrain-metric:hover { background: rgba(237,239,234,0.06); }
#experience .terrain-num { color: var(--teal); }
#experience .terrain-label { color: rgba(237,239,234,0.65); }
