:root {
  --bg: #090b10;
  --bg-alt: #11141b;
  --surface: rgba(17, 20, 27, 0.7);
  --surface-strong: rgba(20, 24, 32, 0.9);
  --surface-dark: #0e1117;
  --surface-dark-soft: #161a22;
  --text: #f2ede4;
  --text-on-dark: #f2ede4;
  --muted: #a9a195;
  --muted-on-dark: rgba(242, 237, 228, 0.72);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --line-on-dark: rgba(255, 255, 255, 0.12);
  --accent: #98a3ba;
  --accent-soft: rgba(127, 136, 151, 0.14);
  --shadow-soft: 0 18px 42px rgba(0, 0, 0, 0.26);
  --shadow-strong: 0 42px 90px rgba(0, 0, 0, 0.38);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --focus-ring: 0 0 0 4px rgba(152, 163, 186, 0.18);
  --surface-highlight: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0));
  --scroll-depth: 0;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 0% 12%, rgba(80, 95, 126, 0.22), transparent 34%),
    radial-gradient(circle at 84% 0%, rgba(112, 98, 82, 0.2), transparent 28%),
    linear-gradient(180deg, #08090d 0%, #0c0f14 42%, #10141b 100%);
  font-family: "Manrope", sans-serif;
  line-height: 1.7;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 16%),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.03), transparent 40%);
}

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

a {
  color: inherit;
}

.page-aura {
  position: fixed;
  pointer-events: none;
  z-index: -1;
  border-radius: 999px;
  filter: blur(96px);
  opacity: 0.65;
  animation: aura-drift 18s ease-in-out infinite alternate;
  transform: translate3d(0, calc(var(--scroll-depth) * -24px), 0);
}

.aura-a {
  width: min(42vw, 460px);
  height: min(42vw, 460px);
  left: -120px;
  top: -120px;
  background: rgba(77, 88, 112, 0.42);
}

.aura-b {
  width: min(38vw, 420px);
  height: min(38vw, 420px);
  right: -80px;
  top: 42vh;
  background: rgba(94, 82, 70, 0.42);
  animation-duration: 24s;
}

@keyframes aura-drift {
  0% {
    transform: translate3d(0, calc(var(--scroll-depth) * -24px), 0) scale(1);
  }

  100% {
    transform: translate3d(0, calc((var(--scroll-depth) * -24px) - 20px), 0) scale(1.06);
  }
}

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.eyebrow,
.section-label,
.note-label,
.credential-label,
.card-index {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow,
.section-label,
.note-label,
.credential-label {
  color: var(--accent);
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 20;
  padding-top: 18px;
}

.nav-shell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(12, 15, 20, 0.78);
  backdrop-filter: blur(20px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
}

.nav-shell::before {
  content: "";
  position: absolute;
  inset: 1px 1px auto;
  height: 1px;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  pointer-events: none;
}

.brand {
  font-size: 1.02rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.06em;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
}

.nav-cta {
  padding: 11px 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

.nav-cta:hover,
.nav-cta:focus-visible,
.btn:hover,
.btn:focus-visible,
.contact-links a:hover,
.contact-links a:focus-visible,
.case-logo:hover,
.case-logo:focus-within {
  transform: translateY(-2px);
}

.hero {
  padding-top: 56px;
}

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

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.78fr);
  gap: 28px;
  align-items: end;
}

.hero-copy h1 {
  margin: 14px 0 22px;
  max-width: 10ch;
  font-size: clamp(3.35rem, 8vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: -0.09em;
  text-wrap: balance;
}

.hero-title {
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.98) 0%, rgba(233, 226, 214, 0.92) 48%, rgba(173, 182, 199, 0.82) 100%);
  background-size: 100% 160%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: title-sheen 12s ease-in-out infinite;
}

@keyframes title-sheen {
  0%,
  100% {
    background-position: 50% 0%;
  }

  50% {
    background-position: 50% 100%;
  }
}

.hero-lead,
.section-intro,
.case-summary,
.capability-copy,
.background-copy,
.contact-copy,
.note-copy {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-lead {
  max-width: 37rem;
  font-size: 1.14rem;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn {
  padding: 13px 22px;
  border: 1px solid transparent;
  font-size: 0.96rem;
  font-weight: 700;
}

.btn-primary {
  background: #f3eee5;
  color: #101217;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

.btn-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-on-dark);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.proof-card {
  position: relative;
  overflow: hidden;
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 100% 0%, rgba(152, 163, 186, 0.06), transparent 36%);
  box-shadow: var(--shadow-soft);
  transform: translateY(calc(var(--scroll-depth) * -8px));
}

.proof-card::before,
.hero-note::before,
.case-card::before,
.journal-card::before,
.capability-card::before,
.credential-card::before,
.contact-panel::before {
  content: "";
  position: absolute;
  inset: 1px 1px auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  pointer-events: none;
}

.proof-value {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1;
  letter-spacing: -0.06em;
  font-weight: 800;
}

.proof-label {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.hero-note {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(20, 24, 32, 0.92), rgba(16, 19, 26, 0.98)),
    radial-gradient(circle at 0% 0%, rgba(116, 129, 155, 0.16), transparent 45%);
  box-shadow: var(--shadow-soft);
  transform: translateY(calc(var(--scroll-depth) * -12px));
  animation: panel-breathe 12s ease-in-out infinite;
}

.hero-note::after {
  content: "";
  position: absolute;
  inset: auto -70px -100px auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: rgba(152, 163, 186, 0.08);
  filter: blur(12px);
}

.hero-note h2 {
  position: relative;
  margin: 12px 0 14px;
  max-width: 10ch;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.note-list {
  position: relative;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.note-list li {
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-on-dark);
  font-weight: 600;
  line-height: 1.55;
}

.logo-band {
  position: relative;
  overflow: hidden;
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow-soft);
  transform: translateY(calc(var(--scroll-depth) * -10px));
}

.logo-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 11, 16, 0.8), transparent 12%, transparent 88%, rgba(9, 11, 16, 0.8));
  pointer-events: none;
  z-index: 1;
}

.logo-marquee {
  display: flex;
  width: max-content;
  animation: logo-scroll 40s linear infinite;
}

.logo-band:hover .logo-marquee,
.logo-band:focus-within .logo-marquee {
  animation-play-state: paused;
}

.logo-track {
  display: flex;
  gap: 14px;
  padding: 14px;
  position: relative;
  z-index: 0;
}

.logo-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-on-dark);
  font-size: 0.84rem;
  font-weight: 700;
}

.logo-pill img,
.case-logo img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.logo-pill img {
  filter: grayscale(1) invert(1);
  opacity: 0.78;
}

@keyframes logo-scroll {
  to {
    transform: translateX(-50%);
  }
}

@keyframes panel-breathe {
  0%,
  100% {
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
  }

  50% {
    box-shadow: 0 24px 52px rgba(0, 0, 0, 0.34);
  }
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-head-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.section-heading h2,
.background-intro h2,
.contact-panel h2 {
  margin: 10px 0 0;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.section-heading.narrow {
  max-width: 640px;
}

.section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}

.section-link:hover,
.section-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.16);
}

.section-intro {
  margin: 16px 0 0;
  max-width: 40rem;
  text-wrap: pretty;
}

.section-emphasis {
  padding-top: 34px;
}

.work-shell {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 0% 0%, rgba(139, 149, 167, 0.12), transparent 28%),
    linear-gradient(180deg, #12151b 0%, #181c23 100%);
  color: var(--text-on-dark);
  box-shadow: var(--shadow-strong);
}

.work-shell::before {
  content: "";
  position: absolute;
  inset: auto -120px -120px auto;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  filter: blur(10px);
}

.work-shell .section-label,
.work-shell .section-intro,
.case-kicker {
  color: var(--muted-on-dark);
}

.work-shell h2,
.case-card h3 {
  color: var(--text-on-dark);
}

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

.case-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border: 1px solid var(--line-on-dark);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  transition: transform 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}

.case-card:hover,
.case-card:focus-within {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.045);
}

.case-kicker {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-card h3 {
  margin: 12px 0 14px;
  font-size: 1.65rem;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.case-summary {
  margin: 0;
  color: var(--muted-on-dark);
}

.case-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 18px;
}

.case-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.78rem;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.case-logo img {
  filter: grayscale(1) invert(1);
  opacity: 0.95;
}

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

.journal-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(20, 23, 30, 0.86), rgba(15, 18, 24, 0.94)),
    radial-gradient(circle at 100% 0%, rgba(152, 163, 186, 0.08), transparent 28%);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  transition: transform 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}

.journal-card:hover,
.journal-card:focus-within {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.14);
}

.journal-card:hover h3,
.journal-card:focus-visible h3 {
  color: rgba(255, 255, 255, 0.96);
}

.journal-meta {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.journal-card h3 {
  margin: 16px 0 12px;
  font-size: 1.3rem;
  line-height: 1.2;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

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

.journal-foot {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.journal-hero {
  padding-top: 72px;
}

.journal-hero-copy {
  max-width: 860px;
}

.journal-hero-copy h1,
.post-header h1 {
  margin: 14px 0 18px;
  font-size: clamp(2.9rem, 7vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.085em;
  text-wrap: balance;
}

.journal-hero-copy p,
.post-dek,
.post-body p,
.post-body li {
  color: var(--muted);
  font-size: 1.06rem;
}

.journal-list {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.journal-index-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(220px, 0.22fr);
  gap: 26px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(20, 23, 30, 0.88), rgba(14, 17, 23, 0.96)),
    radial-gradient(circle at 100% 0%, rgba(152, 163, 186, 0.08), transparent 32%);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  transition: transform 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}

.journal-index-card::before,
.post-shell::before {
  content: "";
  position: absolute;
  inset: 1px 1px auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  pointer-events: none;
}

.journal-index-card:hover,
.journal-index-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.14);
}

.journal-index-card h2 {
  margin: 12px 0 14px;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.journal-index-card p {
  margin: 0;
}

.journal-index-meta,
.post-meta,
.breadcrumb {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.journal-index-summary {
  margin-top: 12px;
  color: var(--muted);
}

.journal-index-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.journal-index-side strong {
  font-size: 1rem;
}

.journal-index-side span {
  color: var(--muted);
  font-size: 0.9rem;
}

.post-page {
  min-height: 100vh;
}

.post-shell {
  position: relative;
  overflow: hidden;
  max-width: 920px;
  margin: 72px auto 0;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(20, 24, 32, 0.92), rgba(13, 16, 22, 0.98)),
    radial-gradient(circle at 100% 0%, rgba(152, 163, 186, 0.1), transparent 26%);
  box-shadow: var(--shadow-strong);
}

.post-header {
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.post-meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
}

.post-dek {
  margin: 18px 0 0;
  max-width: 40rem;
  text-wrap: pretty;
}

.post-body {
  margin-top: 34px;
}

.post-body h2 {
  margin: 34px 0 14px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.04em;
}

.post-body p {
  margin: 0 0 18px;
}

.post-body ul {
  margin: 0 0 18px;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.post-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.post-nav a,
.breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.post-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-weight: 700;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.post-nav a:hover,
.post-nav a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.16);
}

.case-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
}

.case-result {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.result-value {
  margin: 0;
  font-size: clamp(2.4rem, 4.4vw, 3.5rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
  font-weight: 800;
}

.result-label {
  margin: 10px 0 0;
  max-width: 20ch;
  color: var(--muted-on-dark);
  font-size: 0.9rem;
}

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

.capability-card,
.credential-card,
.contact-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 100% 0%, rgba(152, 163, 186, 0.05), transparent 26%);
  box-shadow: var(--shadow-soft);
}

.capability-card {
  padding: 28px;
}

.card-index {
  color: var(--accent);
}

.capability-card h3 {
  margin: 18px 0 10px;
  font-size: 1.3rem;
  letter-spacing: -0.04em;
}

.capability-card p {
  margin: 0;
}

.background-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
  align-items: start;
}

.background-intro {
  position: sticky;
  top: 118px;
}

.background-copy {
  margin: 18px 0 0;
  max-width: 31rem;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.trust-list span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-on-dark);
  font-size: 0.82rem;
  font-weight: 700;
}

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

.credential-card {
  padding: 28px;
}

.credential-item + .credential-item {
  margin-top: 18px;
}

.credential-item {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.credential-item span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
}

.credential-item strong {
  display: block;
  margin-top: 5px;
  font-size: 1rem;
  line-height: 1.5;
}

.credential-list {
  margin: 18px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.contact-section {
  padding-top: 70px;
}

.contact-panel {
  padding: clamp(30px, 4.6vw, 54px);
  background:
    linear-gradient(180deg, rgba(20, 24, 32, 0.92), rgba(16, 19, 26, 0.98)),
    radial-gradient(circle at 100% 0%, rgba(127, 136, 151, 0.14), transparent 26%);
}

.contact-copy {
  margin: 18px 0 0;
  max-width: 38rem;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.footer {
  padding: 28px 0 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  text-align: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
}

.reveal-up {
  opacity: 0;
  transform: translateY(32px) scale(0.985);
  filter: blur(10px);
  transition:
    opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

@media (max-width: 1120px) {
  .hero-grid,
  .background-layout,
  .capability-grid,
  .case-grid,
  .journal-grid {
    grid-template-columns: 1fr;
  }

  .journal-index-card {
    grid-template-columns: 1fr;
  }

  .journal-index-side {
    padding-left: 0;
    padding-top: 16px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .background-intro {
    position: static;
  }

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

@media (max-width: 820px) {
  .site-header {
    top: 10px;
    padding-top: 10px;
  }

  .nav-shell {
    flex-direction: column;
    align-items: stretch;
    border-radius: 28px;
  }

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

  .nav-cta {
    width: 100%;
  }

  .hero {
    padding-top: 38px;
  }

  .section {
    padding: 78px 0;
  }

  .proof-grid,
  .contact-links {
    grid-template-columns: 1fr;
  }

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

  .section-head-row {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(1180px, 94vw);
  }

  .hero-copy h1 {
    max-width: 12ch;
    font-size: clamp(2.8rem, 15vw, 4rem);
  }

  .section-heading h2,
  .background-intro h2,
  .contact-panel h2,
  .hero-note h2 {
    font-size: clamp(1.8rem, 9vw, 2.5rem);
  }

  .hero-actions,
  .contact-links {
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .contact-links a {
    width: 100%;
  }

  .logo-track {
    gap: 10px;
    padding: 12px;
  }

  .logo-pill {
    padding: 9px 12px;
  }

  .work-shell,
  .hero-note,
  .contact-panel,
  .credential-card,
  .capability-card {
    border-radius: 22px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0s !important;
  }

  .reveal-up {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
