:root {
  --ink: #111a2d;
  --navy: #13233a;
  --navy-2: #192b46;
  --accent: #5b5bd6;
  --accent-dark: #4444b8;
  --accent-pale: #f0f0ff;
  --blue-pale: #f4f7fc;
  --muted: #68738b;
  --soft: #f7f8fb;
  --border: #e1e5ed;
  --white: #ffffff;
  --shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.shell {
  margin: 0 auto;
  max-width: var(--shell);
  padding-left: 32px;
  padding-right: 32px;
  width: 100%;
}

.skip-link {
  background: var(--accent);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  left: 12px;
  padding: 10px 16px;
  position: fixed;
  top: -80px;
  z-index: 100;
}

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

.site-header {
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(225, 229, 237, 0.9);
  position: sticky;
  top: 0;
  z-index: 30;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 35px rgba(19, 35, 58, 0.08);
}

.nav-shell {
  align-items: center;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto minmax(150px, 1fr);
  min-height: 74px;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  justify-self: start;
}

.brand-mark {
  align-items: center;
  background: var(--navy);
  color: var(--white);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  height: 36px;
  justify-content: center;
  letter-spacing: -0.02em;
  width: 36px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
}

.brand-copy strong {
  font-size: 13px;
  letter-spacing: -0.01em;
}

.brand-copy small {
  color: var(--muted);
  font-size: 11px;
}

nav {
  align-items: center;
  display: flex;
  gap: 30px;
  justify-content: center;
}

nav a {
  color: #4d586f;
  font-size: 13px;
  font-weight: 650;
  transition: color 160ms ease;
}

nav a:hover,
nav a:focus-visible {
  color: var(--accent);
}

nav a[aria-current] {
  color: var(--accent);
}

.nav-resume {
  align-items: center;
  border: 1px solid var(--border);
  display: inline-flex;
  font-size: 12px;
  font-weight: 750;
  gap: 8px;
  justify-self: end;
  padding: 9px 13px;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav-resume:hover,
.nav-resume:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.hero {
  min-height: 700px;
  overflow: hidden;
  padding: 105px 0 90px;
  position: relative;
}

.dot-grid {
  color: #ccd1ff;
  height: 180px;
  opacity: 0.7;
  position: absolute;
  right: 4vw;
  top: 68px;
  width: 180px;
}

.hero::before {
  background: radial-gradient(circle, rgba(91, 91, 214, 0.11), transparent 70%);
  content: "";
  height: 440px;
  position: absolute;
  right: 4%;
  top: 100px;
  width: 440px;
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: 80px;
  grid-template-columns: minmax(0, 1.2fr) minmax(350px, 0.8fr);
  position: relative;
}

.eyebrow {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.4;
  margin: 0 0 18px;
}

.hero h1 {
  font-size: clamp(50px, 6vw, 78px);
  font-weight: 720;
  letter-spacing: -0.055em;
  line-height: 0.99;
  margin: 0;
  max-width: 760px;
}

.hero h1 span {
  color: var(--accent);
  display: block;
}

.hero-lead {
  color: #515e75;
  font-size: 18px;
  line-height: 1.72;
  margin: 30px 0 0;
  max-width: 700px;
}

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

.button {
  align-items: center;
  display: inline-flex;
  font-size: 13px;
  font-weight: 750;
  gap: 12px;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

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

.button-primary {
  background: var(--navy);
  border: 1px solid var(--navy);
  color: var(--white);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
}

.button-secondary {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--ink);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-note {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 11px;
  gap: 9px;
  margin-top: 23px;
}

.availability-dot {
  background: #35b67c;
  border: 3px solid #ddf7eb;
  border-radius: 50%;
  display: inline-block;
  height: 11px;
  width: 11px;
}

.hero-panel {
  background: var(--navy);
  box-shadow: 0 30px 80px rgba(19, 35, 58, 0.2);
  color: var(--white);
  min-height: 410px;
  padding: 28px;
  position: relative;
}

.hero-panel::after {
  border: 1px solid rgba(255, 255, 255, 0.1);
  content: "";
  inset: 10px;
  pointer-events: none;
  position: absolute;
}

.panel-topline {
  color: #aeb9ce;
  display: flex;
  font-size: 9px;
  font-weight: 750;
  justify-content: space-between;
  letter-spacing: 0.11em;
  position: relative;
  z-index: 1;
}

.panel-heading {
  align-items: flex-start;
  display: flex;
  gap: 18px;
  margin-top: 42px;
  position: relative;
  z-index: 1;
}

.panel-index {
  color: #8f90ff;
  font-size: 12px;
  font-weight: 800;
  padding-top: 7px;
}

.panel-heading h2 {
  font-size: 27px;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 0;
}

.panel-heading p {
  color: #aeb9ce;
  font-size: 12px;
  margin: 7px 0 0;
}

.panel-flow {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 55px 0 50px;
  position: relative;
  z-index: 1;
}

.panel-flow div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.panel-flow span {
  color: #8f90ff;
  font-size: 9px;
  font-weight: 800;
}

.panel-flow strong {
  font-size: 10px;
  white-space: nowrap;
}

.panel-flow i {
  color: #65728a;
  font-size: 13px;
  font-style: normal;
}

.panel-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr;
  padding-top: 22px;
  position: relative;
  z-index: 1;
}

.panel-bottom div {
  display: flex;
  flex-direction: column;
}

.panel-bottom small {
  color: #8f9ab0;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.panel-bottom strong {
  font-size: 16px;
  margin-top: 4px;
}

.metrics {
  background: var(--soft);
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-bottom: 0;
  padding-top: 0;
}

.metric {
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 126px;
  padding: 24px 30px;
}

.metric:last-child {
  border-right: 1px solid var(--border);
}

.metric strong {
  font-size: 20px;
  letter-spacing: -0.025em;
}

.metric span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
  margin-top: 4px;
}

.section {
  padding: 118px 0;
}

.section-heading {
  align-items: end;
  display: grid;
  gap: 80px;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  margin-bottom: 64px;
}

.section-heading .eyebrow {
  margin-bottom: 15px;
}

.section-heading h2 {
  font-size: clamp(36px, 4.2vw, 58px);
  font-weight: 710;
  letter-spacing: -0.045em;
  line-height: 1.06;
  margin: 0;
  max-width: 760px;
}

.section-heading > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
  margin: 0;
}

.case-section {
  background: var(--white);
}

.case-overview {
  border-top: 1px solid var(--ink);
  display: grid;
  gap: 70px;
  grid-template-columns: minmax(0, 1.5fr) minmax(270px, 0.5fr);
  padding-top: 42px;
}

.case-kicker {
  color: var(--accent);
  font-size: 13px;
  font-weight: 750;
}

.case-intro {
  font-size: 20px;
  letter-spacing: -0.015em;
  line-height: 1.62;
  margin: 18px 0 42px;
  max-width: 800px;
}

.problem-solution {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr 1fr;
}

.problem-solution article {
  border-left: 2px solid var(--border);
  padding-left: 20px;
}

.problem-solution article:last-child {
  border-left-color: var(--accent);
}

.problem-solution span,
.facts-label {
  color: var(--accent);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.problem-solution h3 {
  font-size: 16px;
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin: 9px 0 8px;
}

.problem-solution p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  margin: 0;
}

.case-facts {
  background: var(--blue-pale);
  border: 1px solid var(--border);
  padding: 26px;
}

.facts-label {
  margin: 0 0 20px;
}

.fact {
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 18px 0;
}

.fact:last-child {
  padding-bottom: 0;
}

.fact span {
  color: var(--muted);
  font-size: 10px;
}

.fact strong {
  font-size: 15px;
  line-height: 1.35;
  margin-top: 3px;
}

.architecture-block {
  background: var(--navy);
  color: var(--white);
  margin-top: 76px;
  padding: 46px;
}

.architecture-head {
  align-items: end;
  display: grid;
  gap: 50px;
  grid-template-columns: 1fr auto;
}

.architecture-head .eyebrow {
  color: #9f9fff;
  margin-bottom: 10px;
}

.architecture-head h3 {
  font-size: 28px;
  letter-spacing: -0.035em;
  margin: 0;
}

.architecture-head > p {
  color: #9eabc0;
  font-size: 11px;
  margin: 0;
}

.architecture-flow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  list-style: none;
  margin: 38px 0 0;
  padding: 0;
}

.architecture-flow li {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-right: 0;
  display: flex;
  flex-direction: column;
  min-height: 118px;
  padding: 18px;
  position: relative;
}

.architecture-flow li:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.architecture-flow li:not(:last-child)::after {
  align-items: center;
  background: var(--accent);
  border-radius: 50%;
  color: white;
  content: "→";
  display: flex;
  font-size: 10px;
  height: 20px;
  justify-content: center;
  position: absolute;
  right: -10px;
  top: 48px;
  width: 20px;
  z-index: 2;
}

.architecture-flow span {
  color: #9091ff;
  font-size: 9px;
  font-weight: 800;
}

.architecture-flow strong {
  font-size: 13px;
  margin-top: 22px;
}

.architecture-flow small {
  color: #8e9bb1;
  font-size: 9px;
}

.case-delivery {
  display: grid;
  gap: 80px;
  grid-template-columns: 0.7fr 1.3fr;
  padding: 72px 0;
}

.case-delivery h3 {
  font-size: 27px;
  letter-spacing: -0.035em;
  line-height: 1.18;
  margin: 0;
}

.case-delivery ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.case-delivery li {
  border-top: 1px solid var(--border);
  color: #4f5a70;
  font-size: 13px;
  padding: 12px 0 12px 22px;
  position: relative;
}

.case-delivery li::before {
  color: var(--accent);
  content: "•";
  font-size: 18px;
  left: 2px;
  position: absolute;
  top: 6px;
}

.case-delivery li:last-child {
  border-bottom: 1px solid var(--border);
}

.case-links {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}

.case-links > a {
  align-items: center;
  background: var(--accent-pale);
  border: 1px solid #d8d9ff;
  display: grid;
  gap: 18px;
  grid-template-columns: auto 1fr auto;
  min-height: 132px;
  padding: 24px;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.case-links > a:hover,
.case-links > a:focus-visible {
  background: #e8e8ff;
  border-color: var(--accent);
  box-shadow: 0 18px 45px rgba(91, 91, 214, 0.14);
  transform: translateY(-3px);
}

.link-number {
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  align-self: start;
}

.link-content {
  display: flex;
  flex-direction: column;
}

.link-content small {
  color: var(--accent);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.link-content strong {
  font-size: 16px;
  letter-spacing: -0.015em;
  margin-top: 6px;
}

.link-content em {
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
  margin-top: 2px;
}

.link-icon {
  align-items: center;
  background: var(--accent);
  color: white;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  width: 40px;
}

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

.timeline {
  border-top: 1px solid var(--ink);
}

.timeline-item {
  border-bottom: 1px solid var(--border);
  display: grid;
  gap: 60px;
  grid-template-columns: 190px 1fr;
  padding: 42px 0;
  position: relative;
}

.timeline-item::before {
  background: var(--accent);
  content: "";
  height: 8px;
  left: 0;
  position: absolute;
  top: 49px;
  width: 8px;
}

.timeline-period {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  padding-left: 22px;
  padding-top: 2px;
}

.timeline-content h3 {
  font-size: 21px;
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin: 0;
}

.timeline-content h4 {
  color: var(--accent);
  font-size: 12px;
  margin: 4px 0 11px;
}

.timeline-content > p {
  color: #48546a;
  font-size: 13px;
  margin: 0 0 14px;
  max-width: 800px;
}

.timeline-content ul {
  display: grid;
  gap: 5px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.timeline-content li {
  color: var(--muted);
  font-size: 12px;
  padding-left: 16px;
  position: relative;
}

.timeline-content li::before {
  color: var(--accent);
  content: "•";
  left: 1px;
  position: absolute;
}

.projects-section {
  background: var(--white);
}

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

.project-card {
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  min-height: 470px;
  padding: 28px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.project-card:hover {
  border-color: #c5c8f5;
  box-shadow: 0 24px 60px rgba(19, 35, 58, 0.09);
  transform: translateY(-4px);
}

.project-topline {
  color: var(--muted);
  display: flex;
  font-size: 8px;
  font-weight: 800;
  justify-content: space-between;
  letter-spacing: 0.1em;
}

.project-topline span:first-child {
  color: var(--accent);
  font-size: 11px;
}

.project-eyebrow {
  color: var(--accent);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.09em;
  margin: 56px 0 12px;
}

.project-card h3 {
  font-size: 24px;
  letter-spacing: -0.035em;
  line-height: 1.18;
  margin: 0;
}

.project-description {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
  margin: 18px 0 25px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-list span {
  background: var(--soft);
  border: 1px solid var(--border);
  color: #4c5870;
  font-size: 9px;
  font-weight: 650;
  padding: 5px 8px;
}

.project-link,
.project-status {
  align-items: center;
  border-top: 1px solid var(--border);
  display: flex;
  font-size: 11px;
  font-weight: 750;
  gap: 9px;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 20px;
}

.project-link {
  color: var(--accent);
}

.project-link:hover,
.project-link:focus-visible {
  color: var(--accent-dark);
}

.project-status {
  color: var(--muted);
  justify-content: flex-start;
}

.project-status span {
  background: #35b67c;
  border-radius: 50%;
  height: 7px;
  width: 7px;
}

.capabilities-section {
  background: var(--navy);
  color: var(--white);
}

.capabilities-layout {
  display: grid;
  gap: 80px;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
}

.capabilities-copy .eyebrow {
  color: #a4a5ff;
}

.capabilities-copy h2 {
  font-size: clamp(36px, 4.5vw, 54px);
  letter-spacing: -0.045em;
  line-height: 1.07;
  margin: 0;
}

.capabilities-copy > p {
  color: #a3aec1;
  font-size: 13px;
  line-height: 1.75;
  margin: 25px 0 42px;
}

.capability-principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.capability-principles div {
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  min-height: 115px;
  padding: 16px;
}

.capability-principles strong {
  font-size: 11px;
}

.capability-principles span {
  color: #8f9bb0;
  font-size: 9px;
  line-height: 1.5;
  margin-top: 5px;
}

.technology-list {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.technology-row {
  align-items: start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  gap: 20px;
  grid-template-columns: 34px 150px 1fr;
  padding: 22px 0;
}

.technology-row > span {
  color: #8e90ff;
  font-size: 10px;
  font-weight: 800;
}

.technology-row strong {
  font-size: 12px;
  text-transform: uppercase;
}

.technology-row p {
  color: #a8b3c6;
  font-size: 11px;
  line-height: 1.65;
  margin: 0;
}

.contact-section {
  background: var(--accent-pale);
  overflow: hidden;
  padding: 110px 0;
  position: relative;
}

.contact-section .dot-grid {
  color: #acaeff;
  left: 3vw;
  right: auto;
  top: 20px;
}

.contact-layout {
  align-items: center;
  display: grid;
  gap: 90px;
  grid-template-columns: minmax(0, 1.15fr) minmax(350px, 0.85fr);
  position: relative;
}

.contact-layout h2 {
  font-size: clamp(38px, 4.8vw, 62px);
  letter-spacing: -0.05em;
  line-height: 1.04;
  margin: 0;
}

.contact-actions {
  display: grid;
  gap: 10px;
}

.contact-actions > a {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 82px;
  padding: 18px 20px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.contact-actions > a:hover,
.contact-actions > a:focus-visible {
  transform: translateX(4px);
}

.contact-primary {
  background: var(--navy);
  color: var(--white);
}

.contact-primary:hover,
.contact-primary:focus-visible {
  background: var(--accent);
}

.contact-secondary {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid #d9daf7;
}

.contact-secondary:hover,
.contact-secondary:focus-visible {
  background: var(--white);
  color: var(--accent);
}

.contact-actions span {
  display: flex;
  flex-direction: column;
}

.contact-actions small {
  color: #929bb0;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.contact-primary small {
  color: #a9b4c7;
}

.contact-actions strong {
  font-size: 13px;
  margin-top: 4px;
}

footer {
  background: #0e1a2d;
  color: var(--white);
  padding: 30px 0;
}

.footer-layout {
  align-items: center;
  display: grid;
  font-size: 10px;
  grid-template-columns: 1fr auto 1fr;
}

.footer-layout div {
  display: flex;
  flex-direction: column;
}

.footer-layout div span,
.footer-layout > span {
  color: #7f8ca2;
}

.footer-layout > a {
  color: #a3a5ff;
  font-weight: 700;
  justify-self: end;
}

@media (max-width: 1050px) {
  .nav-shell {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .hero {
    padding-top: 78px;
  }

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

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

  .hero-panel {
    max-width: 650px;
  }

  .section-heading,
  .case-overview,
  .capabilities-layout,
  .contact-layout {
    gap: 45px;
  }

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

  .project-card:last-child {
    grid-column: 1 / -1;
    min-height: 390px;
  }

  .architecture-flow {
    grid-template-columns: repeat(3, 1fr);
  }

  .architecture-flow li:nth-child(3) {
    border-right: 1px solid rgba(255, 255, 255, 0.13);
  }

  .architecture-flow li:nth-child(n + 4) {
    border-top: 0;
  }

  .architecture-flow li:nth-child(3)::after {
    display: none;
  }
}

@media (max-width: 800px) {
  .shell {
    padding-left: 22px;
    padding-right: 22px;
  }

  .hero {
    min-height: auto;
    padding-bottom: 70px;
  }

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

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

  .metric:nth-child(2) {
    border-right: 1px solid var(--border);
  }

  .metric:nth-child(n + 3) {
    border-top: 1px solid var(--border);
  }

  .section {
    padding: 88px 0;
  }

  .section-heading,
  .case-overview,
  .case-delivery,
  .capabilities-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .section-heading {
    margin-bottom: 46px;
  }

  .architecture-head {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .architecture-block {
    padding: 28px;
  }

  .case-delivery {
    gap: 30px;
  }

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

  .timeline-item {
    gap: 20px;
    grid-template-columns: 1fr;
    padding-left: 24px;
  }

  .timeline-item::before {
    top: 49px;
  }

  .timeline-period {
    padding-left: 0;
  }

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

  .project-card:last-child {
    grid-column: auto;
    min-height: 470px;
  }

  .contact-section {
    padding: 88px 0;
  }

  .footer-layout {
    gap: 20px;
    grid-template-columns: 1fr auto;
  }

  .footer-layout > span {
    display: none;
  }
}

@media (max-width: 560px) {
  .brand-copy {
    display: none;
  }

  .nav-shell {
    min-height: 66px;
  }

  .nav-resume {
    font-size: 11px;
  }

  .hero {
    padding-top: 58px;
  }

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

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

  .button {
    justify-content: space-between;
    width: 100%;
  }

  .hero-panel {
    min-height: 430px;
    padding: 22px;
  }

  .panel-heading h2 {
    font-size: 23px;
  }

  .panel-flow {
    align-items: stretch;
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr 1fr;
    margin: 35px 0;
  }

  .panel-flow div {
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 10px;
  }

  .panel-flow i {
    display: none;
  }

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

  .metric,
  .metric:nth-child(2),
  .metric:last-child {
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    border-top: 1px solid var(--border);
    min-height: 105px;
  }

  .metric:first-child {
    border-top: 0;
  }

  .problem-solution,
  .architecture-flow,
  .capability-principles {
    grid-template-columns: 1fr;
  }

  .architecture-flow li,
  .architecture-flow li:nth-child(3),
  .architecture-flow li:last-child {
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-bottom: 0;
    min-height: 90px;
  }

  .architecture-flow li:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .architecture-flow li:not(:last-child)::after {
    bottom: -10px;
    content: "↓";
    display: flex;
    left: 50%;
    right: auto;
    top: auto;
  }

  .architecture-flow strong {
    margin-top: 12px;
  }

  .case-links > a {
    gap: 12px;
    grid-template-columns: auto 1fr;
    padding: 20px;
  }

  .link-icon {
    display: none;
  }

  .project-card {
    min-height: 440px;
    padding: 23px;
  }

  .technology-row {
    gap: 6px 14px;
    grid-template-columns: 26px 1fr;
  }

  .technology-row p {
    grid-column: 2;
  }

  .contact-layout {
    gap: 45px;
  }

  .contact-actions strong {
    font-size: 12px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
