:root {
  --ink: #07111f;
  --ink-strong: #03070d;
  --navy: #0d1a2a;
  --slate: #233247;
  --body: #3a4656;
  --muted: #6d7a89;
  --soft: #f5f7f4;
  --paper: #ffffff;
  --line: #dce3e1;
  --line-dark: rgba(232, 239, 241, 0.16);
  --text-on-dark: #eef6f4;
  --muted-on-dark: #aebdc0;
  --teal: #3fc5b6;
  --teal-strong: #169c8f;
  --gold: #d8b46a;
  --blue: #5f8ccf;
  --radius: 8px;
  --radius-sm: 6px;
  --shadow: 0 22px 55px rgba(8, 19, 32, 0.12);
  --shadow-soft: 0 14px 32px rgba(8, 19, 32, 0.09);
  --container: 1120px;
  --header-height: 78px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--body);
  background: var(--soft);
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
  font: inherit;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

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

p,
h1,
h2,
h3,
figure {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
}

button {
  border: 0;
}

:focus-visible {
  outline: 3px solid rgba(63, 197, 182, 0.55);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--teal);
  color: var(--ink);
  font-weight: 700;
  transform: translateY(-140%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(4, 10, 18, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  width: min(1240px, calc(100% - 40px));
  min-height: var(--header-height);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text-on-dark);
  font-weight: 700;
}

.brand__mark {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.brand__text {
  display: grid;
  gap: 0;
  font-size: 0.84rem;
  line-height: 1.05;
}

.brand__text span {
  color: var(--muted-on-dark);
  font-weight: 600;
}

.brand__text strong {
  color: var(--text-on-dark);
  font-size: 1rem;
}

.brand--footer .brand__text span {
  color: var(--muted-on-dark);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: rgba(238, 246, 244, 0.78);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text-on-dark);
  background: rgba(255, 255, 255, 0.07);
}

.site-nav a:hover {
  transform: translateY(-1px);
}

.site-nav .nav-cta {
  margin-left: 8px;
  color: var(--ink);
  background: var(--teal);
  box-shadow: 0 12px 28px rgba(63, 197, 182, 0.22);
}

.site-nav .nav-cta:hover {
  color: var(--ink);
  background: #73d6cb;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.nav-toggle__line {
  display: block;
  width: 21px;
  height: 2px;
  margin: 4px auto;
  background: var(--text-on-dark);
  border-radius: 99px;
}

.hero-shell {
  position: relative;
  min-height: calc(100svh - var(--header-height) - 72px);
  overflow: hidden;
  color: var(--text-on-dark);
  background-image:
    linear-gradient(90deg, rgba(3, 7, 13, 0.96), rgba(7, 17, 31, 0.86) 46%, rgba(7, 17, 31, 0.55)),
    var(--hero-image);
  background-position: center;
  background-size: cover;
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.65), transparent 72%);
  pointer-events: none;
}

.hero-shell__grain {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(63, 197, 182, 0.10), transparent 34%),
    linear-gradient(0deg, rgba(216, 180, 106, 0.06), transparent 42%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  gap: 52px;
  align-items: center;
  min-height: calc(100svh - var(--header-height) - 72px);
  padding: 72px 0 58px;
}

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

.eyebrow,
.section-kicker {
  color: var(--teal);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-copy h1,
.page-hero h1 {
  max-width: 830px;
  margin-top: 12px;
  color: var(--text-on-dark);
  font-size: 4.8rem;
  line-height: 0.98;
  font-weight: 800;
}

.hero-copy__lead,
.page-hero p {
  max-width: 650px;
  margin-top: 24px;
  color: var(--muted-on-dark);
  font-size: 1.14rem;
}

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

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  line-height: 1.2;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  color: var(--ink);
  background: var(--teal);
  box-shadow: 0 16px 34px rgba(63, 197, 182, 0.22);
}

.btn--primary:hover {
  background: #73d6cb;
}

.btn--secondary {
  color: var(--text-on-dark);
  background: var(--ink);
}

.btn--secondary:hover {
  background: var(--slate);
}

.btn--ghost {
  color: var(--text-on-dark);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.09);
}

.btn--ghost-dark {
  color: var(--ink);
  border: 1px solid rgba(7, 17, 31, 0.22);
  background: transparent;
}

.btn--ghost-dark:hover {
  border-color: rgba(7, 17, 31, 0.42);
  background: rgba(7, 17, 31, 0.04);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(63, 197, 182, 0.55);
  text-underline-offset: 5px;
}

.text-link:hover {
  color: var(--teal-strong);
}

.labyrinth-map {
  position: relative;
  min-height: 430px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02)),
    rgba(7, 17, 31, 0.62);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
  overflow: hidden;
}

.labyrinth-map::before,
.labyrinth-map::after {
  content: "";
  position: absolute;
  inset: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}

.labyrinth-map::after {
  inset: 76px 58px 58px 76px;
  border-color: rgba(63, 197, 182, 0.28);
}

.map-path {
  position: absolute;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  box-shadow: 0 0 20px rgba(63, 197, 182, 0.25);
}

.map-path--one {
  left: 18%;
  top: 24%;
  width: 52%;
  height: 3px;
}

.map-path--two {
  left: 69%;
  top: 24%;
  width: 3px;
  height: 39%;
}

.map-path--three {
  right: 22%;
  top: 63%;
  width: 45%;
  height: 3px;
}

.map-path--four {
  left: 31%;
  top: 40%;
  width: 3px;
  height: 34%;
}

.map-node {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--ink);
  box-shadow: 0 0 0 7px rgba(216, 180, 106, 0.18);
}

.map-node--one {
  left: 17%;
  top: calc(24% - 6px);
}

.map-node--two {
  left: calc(69% - 5px);
  top: calc(24% - 6px);
  background: var(--teal);
}

.map-node--three {
  right: calc(22% - 6px);
  top: calc(63% - 6px);
}

.map-node--four {
  left: calc(31% - 6px);
  top: calc(74% - 6px);
  background: var(--teal);
}

.map-label {
  position: absolute;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: var(--text-on-dark);
  background: rgba(3, 7, 13, 0.42);
  font-size: 0.79rem;
  font-weight: 800;
}

.map-label--one {
  left: 12%;
  top: 12%;
}

.map-label--two {
  right: 14%;
  top: 32%;
}

.map-label--three {
  right: 22%;
  bottom: 16%;
}

.map-label--four {
  left: 21%;
  bottom: 14%;
}

.trust-strip {
  color: var(--ink);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

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

.trust-grid span {
  min-height: 72px;
  display: grid;
  place-items: center;
  padding: 18px 14px;
  border-inline: 1px solid var(--line);
  color: var(--slate);
  font-size: 0.86rem;
  font-weight: 800;
  text-align: center;
}

.section {
  padding: 96px 0;
}

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

.section--panel {
  position: relative;
  color: var(--text-on-dark);
  background:
    linear-gradient(135deg, rgba(63, 197, 182, 0.07), transparent 32%),
    var(--ink);
}

.section--panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: 0.55;
  pointer-events: none;
}

.section--panel > *,
.section--dark > * {
  position: relative;
  z-index: 1;
}

.section--dark {
  color: var(--text-on-dark);
  background: var(--ink-strong);
}

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

.section-heading--split {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.section-title {
  margin-top: 10px;
  color: var(--ink);
  font-size: 2.75rem;
  line-height: 1.08;
  font-weight: 800;
}

.section--panel .section-title,
.section--dark .section-title {
  color: var(--text-on-dark);
}

.section-lede {
  max-width: 690px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.05rem;
}

.section--panel .section-lede,
.section--dark .section-lede {
  color: var(--muted-on-dark);
}

.about-grid,
.split-feature,
.testimonial-grid,
.contact-grid,
.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 62px;
  align-items: start;
}

.rich-copy {
  color: var(--body);
  font-size: 1.04rem;
}

.rich-copy p + p {
  margin-top: 18px;
}

.section--panel .rich-copy,
.section--dark .rich-copy {
  color: var(--muted-on-dark);
}

.section--panel .text-link,
.section--dark .text-link {
  color: var(--text-on-dark);
}

.easter-image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.service-card,
.process-card,
.project-card,
.contact-card,
.testimonial-card,
.cta-panel {
  border-radius: var(--radius);
}

.service-card {
  min-height: 278px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(63, 197, 182, 0.42);
  background: rgba(255, 255, 255, 0.075);
}

.section--light .service-card {
  border-color: var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.section--light .service-card:hover {
  border-color: rgba(63, 197, 182, 0.5);
  background: #fbfdfc;
}

.service-card__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: var(--radius-sm);
  color: var(--teal);
  background: rgba(63, 197, 182, 0.10);
}

.service-card__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3,
.project-card h3,
.process-card h3 {
  color: inherit;
  font-size: 1.16rem;
  line-height: 1.25;
  font-weight: 800;
}

.service-card p,
.project-card p,
.process-card p {
  margin-top: 12px;
  color: var(--muted-on-dark);
}

.section--light .service-card h3,
.section--light .project-card h3,
.section--light .process-card h3 {
  color: var(--ink);
}

.section--light .service-card p,
.section--light .project-card p,
.section--light .process-card p {
  color: var(--muted);
}

.project-section {
  border-top: 1px solid var(--line);
}

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

.project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.project-card__media {
  display: block;
  aspect-ratio: 1.24;
  overflow: hidden;
  background: #e9efed;
}

.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.project-card:hover .project-card__media img {
  transform: scale(1.035);
}

.project-card__body {
  padding: 24px;
}

.project-card__category {
  margin: 0 0 10px;
  color: var(--teal-strong);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.project-card .text-link {
  margin-top: 20px;
}

.testimonial-section {
  border-block: 1px solid rgba(255, 255, 255, 0.09);
}

.testimonial-card {
  padding: 34px;
  border: 1px solid var(--line-dark);
  background:
    linear-gradient(135deg, rgba(63, 197, 182, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.035);
}

.testimonial-card blockquote {
  color: var(--text-on-dark);
  font-size: 1.42rem;
  line-height: 1.45;
  font-weight: 700;
}

.testimonial-card figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}

.testimonial-card img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-card strong,
.testimonial-card small {
  display: block;
}

.testimonial-card small {
  color: var(--muted-on-dark);
}

.closing-cta {
  background:
    linear-gradient(90deg, rgba(216, 180, 106, 0.10), transparent 42%),
    var(--soft);
}

.cta-panel {
  padding: 46px;
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.cta-panel h2 {
  max-width: 780px;
  margin-top: 10px;
  font-size: 2.5rem;
  line-height: 1.1;
}

.cta-panel p:not(.section-kicker) {
  max-width: 680px;
  margin-top: 16px;
  color: var(--muted);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 82px;
  color: var(--text-on-dark);
  background:
    linear-gradient(135deg, rgba(63, 197, 182, 0.12), transparent 34%),
    linear-gradient(90deg, var(--ink-strong), var(--navy));
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 58px 58px;
  opacity: 0.5;
  pointer-events: none;
}

.page-hero__grid {
  position: relative;
  z-index: 1;
  align-items: end;
}

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

.page-hero p {
  margin-top: 0;
  font-size: 1.1rem;
}

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

.process-card {
  padding: 24px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.045);
}

.process-card span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--gold);
  font-weight: 800;
}

.contact-section {
  border-top: 1px solid var(--line);
}

.contact-intro p:not(.section-kicker) {
  margin-top: 18px;
  color: var(--muted);
}

.contact-details {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-details a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(63, 197, 182, 0.48);
  text-underline-offset: 4px;
}

.contact-card {
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}

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

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

.form-row--full {
  grid-column: 1 / -1;
}

.form-row label {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid #cfd8d6;
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfdfc;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

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

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--teal-strong);
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(63, 197, 182, 0.14);
  outline: 0;
}

.alert {
  margin-bottom: 18px;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.alert-success {
  color: #0f5b50;
  background: #dff7f2;
  border: 1px solid #ace6dc;
}

.site-footer {
  color: var(--muted-on-dark);
  background: var(--ink-strong);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) repeat(3, minmax(0, 0.7fr));
  gap: 42px;
  padding: 58px 0 42px;
}

.footer-brand p {
  max-width: 420px;
  margin-top: 18px;
}

.site-footer h2 {
  margin-bottom: 15px;
  color: var(--text-on-dark);
  font-size: 0.96rem;
}

.footer-list {
  display: grid;
  gap: 10px;
  list-style: none;
}

.footer-list a {
  color: var(--muted-on-dark);
  overflow-wrap: anywhere;
}

.footer-list a:hover {
  color: var(--teal);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}

.team-grid,
.blog-grid,
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.team-card,
.blog-card,
.proof-card,
.testimonial-wide,
.case-study-card {
  border-radius: var(--radius);
}

.team-card {
  display: grid;
  gap: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.team-card__avatar {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(63, 197, 182, 0.22), rgba(216, 180, 106, 0.18)),
    #edf4f2;
  font-weight: 800;
}

.team-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card__role,
.blog-card__date,
.case-stack {
  color: var(--teal-strong);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.team-card h2,
.blog-card h2,
.case-study-card h2,
.testimonial-wide blockquote,
.proof-card h2 {
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.2;
  font-weight: 800;
}

.team-card h2 {
  margin-top: 8px;
}

.team-card p:not(.team-card__role),
.blog-card p:not(.blog-card__date),
.proof-card p {
  margin-top: 12px;
  color: var(--muted);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.social-links a {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 800;
}

.social-links a:hover {
  border-color: rgba(63, 197, 182, 0.55);
  color: var(--teal-strong);
}

.case-study-list {
  display: grid;
  gap: 30px;
}

.case-study-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.case-study-card__media {
  display: block;
  min-height: 100%;
  background: #e8eeec;
}

.case-study-card__media img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.case-study-card__content {
  padding: 32px;
}

.case-meta {
  display: grid;
  gap: 18px;
  margin: 24px 0 0;
}

.case-meta div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.case-meta dt {
  color: var(--ink);
  font-weight: 800;
}

.case-meta dd {
  margin: 0;
  color: var(--muted);
}

.case-stack {
  margin-top: 24px;
}

.testimonials-list {
  display: grid;
  gap: 22px;
}

.testimonial-wide {
  padding: 34px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.testimonial-wide blockquote {
  font-size: 1.55rem;
  line-height: 1.42;
}

.testimonial-wide figcaption {
  margin-top: 24px;
}

.testimonial-wide strong,
.testimonial-wide small {
  display: block;
}

.testimonial-wide small {
  margin-top: 3px;
  color: var(--muted);
}

.proof-card {
  padding: 26px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.045);
}

.proof-card span {
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--gold);
  font-weight: 800;
}

.proof-card h2 {
  color: var(--text-on-dark);
}

.proof-card p {
  color: var(--muted-on-dark);
}

.blog-card {
  min-height: 270px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.blog-card h2 {
  margin-top: 16px;
}

.blog-card h2 a:hover {
  color: var(--teal-strong);
}

.blog-detail-hero h1 {
  max-width: 920px;
}

.blog-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 58px;
  align-items: start;
}

.blog-article {
  max-width: 760px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.blog-article p {
  color: var(--body);
  font-size: 1.08rem;
}

.blog-article p + p {
  margin-top: 20px;
}

.blog-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.blog-sidebar h2 {
  margin-top: 8px;
  color: var(--ink);
  font-size: 1.1rem;
}

.blog-sidebar__links {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.blog-sidebar__links a {
  display: grid;
  gap: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.blog-sidebar__links span {
  color: var(--ink);
  font-weight: 800;
  line-height: 1.3;
}

.blog-sidebar__links a:hover span {
  color: var(--teal-strong);
}

.blog-sidebar__links small {
  color: var(--muted);
}

@media (max-width: 1120px) {
  .site-header.menu-open {
    background: rgba(4, 10, 18, 0.98);
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--radius);
    background: var(--ink-strong);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.32);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a,
  .site-nav .nav-cta {
    justify-content: flex-start;
    margin-left: 0;
    padding-inline: 14px;
  }

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

@media (max-width: 1020px) {
  .hero-copy h1 {
    font-size: 3.7rem;
  }

  .hero-grid,
  .about-grid,
  .split-feature,
  .testimonial-grid,
  .contact-grid,
  .page-hero__grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
  }

  .labyrinth-map {
    min-height: 340px;
  }

  .trust-grid,
  .services-grid,
  .project-grid,
  .team-grid,
  .blog-grid,
  .proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-study-card {
    grid-template-columns: 1fr;
  }

  .blog-detail-layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    position: static;
  }

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

@media (max-width: 760px) {
  :root {
    --header-height: 70px;
  }

  .container,
  .site-header__inner {
    width: min(100% - 28px, var(--container));
  }

  .site-header.menu-open {
    background: rgba(4, 10, 18, 0.98);
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--radius);
    background: var(--ink-strong);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.32);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a,
  .site-nav .nav-cta {
    justify-content: flex-start;
    margin-left: 0;
    padding-inline: 14px;
  }

  .hero-shell {
    min-height: auto;
  }

  .hero-grid {
    gap: 34px;
    padding: 58px 0 42px;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: 2.8rem;
    line-height: 1.04;
  }

  .hero-copy__lead,
  .page-hero p {
    font-size: 1rem;
  }

  .labyrinth-map {
    display: none;
  }

  .section {
    padding: 70px 0;
  }

  .page-hero {
    padding: 70px 0 62px;
  }

  .section-title,
  .cta-panel h2 {
    font-size: 2.05rem;
  }

  .section-heading--split {
    display: grid;
    align-items: start;
  }

  .trust-grid,
  .services-grid,
  .project-grid,
  .team-grid,
  .blog-grid,
  .proof-grid,
  .process-grid,
  .footer-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    border: 0;
  }

  .trust-grid span {
    min-height: 54px;
    border: 1px solid var(--line);
  }

  .service-card {
    min-height: auto;
  }

  .testimonial-card,
  .testimonial-wide,
  .cta-panel,
  .contact-card {
    padding: 24px;
  }

  .testimonial-card blockquote,
  .testimonial-wide blockquote {
    font-size: 1.15rem;
  }

  .case-study-card__content {
    padding: 24px;
  }

  .blog-article {
    padding: 24px;
  }

  .case-study-card__media img {
    min-height: 240px;
  }

  .case-meta div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .footer-bottom {
    display: grid;
  }
}

@media (max-width: 460px) {
  .brand__text {
    display: none;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: 2.35rem;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .labyrinth-map {
    min-height: 230px;
  }

  .map-label {
    font-size: 0.7rem;
  }
}

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