:root {
  --bg: #f4f8fb;
  --surface: #ffffff;
  --text: #102033;
  --muted: #607086;
  --line: #d9e7f2;
  --primary: #085f99;
  --primary-dark: #063f70;
  --primary-deep: #62b0fd;
  --accent: #28a9e2;
  --gold: #f7c948;
  --success: #15803d;
  --danger: #b42318;
  --warning: #9a6700;
  --pending: #855a00;
  --shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  --motion-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --motion-ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --motion-drift: cubic-bezier(0.19, 1, 0.22, 1);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

a {
  color: var(--primary);
}

.site-header {
  background: #061f3a;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 14px 30px rgba(6, 31, 58, 0.2);
}

.site-header-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  text-decoration: none;
  min-width: 0;
}

.brand-logo {
  width: 142px;
  height: auto;
  display: block;
}

.brand-text {
  color: #d4eaff;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

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

.site-nav a {
  color: #d9edff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus {
  color: #ffffff;
}

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto 52px;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 22px;
  margin-bottom: 22px;
}

.panel.compact {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

h1,
h2,
h3 {
  margin: 0 0 14px;
  line-height: 1.2;
}

h1 {
  font-size: 28px;
}

h2 {
  font-size: 20px;
}

h3 {
  font-size: 16px;
}

p {
  line-height: 1.55;
}

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

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

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  font-weight: 700;
  font-size: 14px;
}

input,
select {
  width: 100%;
  min-height: 42px;
  border: 1px solid #b9c4d0;
  border-radius: 6px;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
}

input:focus,
select:focus {
  outline: 3px solid rgba(24, 160, 198, 0.22);
  border-color: var(--primary);
}

.actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.actions.nowrap {
  flex-wrap: nowrap;
}

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid var(--primary);
  border-radius: 6px;
  background: var(--primary);
  color: #fff;
  padding: 9px 14px;
  text-decoration: none;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color 360ms var(--motion-ease),
    border-color 360ms var(--motion-ease),
    color 360ms var(--motion-ease),
    box-shadow 420ms var(--motion-ease),
    transform 420ms var(--motion-ease);
}

.button:hover,
button:hover {
  background: var(--primary-dark);
  color: #fff;
  box-shadow: 0 12px 28px rgba(8, 95, 153, 0.2);
  transform: translateY(-1px);
}

.button:active,
button:active {
  transform: translateY(0);
}

.button.light,
button.light {
  background: #fff;
  border-color: #fff;
  color: var(--primary-deep);
}

.button.light:hover,
button.light:hover {
  background: #e9f6ff;
  color: var(--primary-deep);
}

.button.ghost,
button.ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.button.ghost:hover,
button.ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.button.secondary,
button.secondary {
  background: #fff;
  color: var(--primary);
}

.button.secondary:hover,
button.secondary:hover {
  background: #edf8fb;
  color: var(--primary-dark);
}

.button.danger,
button.danger {
  background: #fff;
  color: var(--danger);
  border-color: var(--danger);
}

.button.danger:hover,
button.danger:hover {
  background: #fff4f3;
  color: var(--danger);
}

.button.expired,
button.expired {
  background: #fff;
  color: var(--warning);
  border-color: var(--warning);
}

.button.expired:hover,
button.expired:hover {
  background: #fff8e6;
  color: var(--warning);
}

.inline-form {
  display: inline-flex;
  margin: 0;
}

.notice {
  border-radius: 6px;
  padding: 12px 14px;
  margin: 0 0 18px;
  border: 1px solid transparent;
}

.notice.success {
  background: #ecfdf3;
  border-color: #badbcc;
  color: #0f5132;
}

.notice.error {
  background: #fff1f0;
  border-color: #f1b7b2;
  color: #842029;
}

.notice.warning {
  background: #fff8e6;
  border-color: #ffe1a6;
  color: #664d03;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--primary);
  border-radius: 8px;
  padding: 16px;
}

.stat strong {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px;
}

.stat span {
  font-size: 28px;
  font-weight: 700;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

th,
td {
  padding: 12px;
  border-bottom: 1px solid #e8edf2;
  text-align: left;
  vertical-align: middle;
}

th {
  background: #f8fafc;
  color: #344054;
  font-size: 13px;
}

td {
  white-space: nowrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 700;
}

.badge.valid {
  background: #ecfdf3;
  color: var(--success);
}

.badge.revoked {
  background: #fff1f0;
  color: var(--danger);
}

.badge.expired {
  background: #fff8e6;
  color: var(--warning);
}

.badge.pending {
  background: #fff8e6;
  color: var(--pending);
}

.result {
  border: 2px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  margin-top: 20px;
  background: #fff;
}

.result.valid {
  border-color: var(--success);
}

.result.revoked {
  border-color: var(--danger);
}

.result.expired {
  border-color: var(--warning);
}

.result h2 {
  margin-bottom: 12px;
}

.record-list {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}

.record-list div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 10px;
}

.empty {
  color: var(--muted);
  padding: 22px;
  text-align: center;
}

@keyframes heroImageSettle {
  0% {
    opacity: 1;
    transform: scale(1.12);
  }

  58% {
    opacity: 1;
    transform: scale(1.035);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes premiumRise {
  0% {
    opacity: 1;
    transform: translate3d(0, 58px, 0) scale(0.965);
  }

  46% {
    opacity: 1;
    transform: translate3d(0, 18px, 0) scale(0.988);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes premiumSlideLeft {
  0% {
    opacity: 1;
    transform: translate3d(-34px, 28px, 0) scale(0.975);
  }

  52% {
    opacity: 1;
    transform: translate3d(-8px, 8px, 0) scale(0.992);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes premiumSlideRight {
  0% {
    opacity: 1;
    transform: translate3d(34px, 28px, 0) scale(0.975);
  }

  52% {
    opacity: 1;
    transform: translate3d(8px, 8px, 0) scale(0.992);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes introAssembleLeft {
  0% {
    opacity: 1;
    transform: translate3d(-110px, 34px, 0) rotateY(-8deg) scale(0.94);
    clip-path: inset(0 18% 0 0);
  }

  48% {
    opacity: 1;
    transform: translate3d(-28px, 10px, 0) rotateY(-2deg) scale(0.986);
    clip-path: inset(0 4% 0 0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateY(0) scale(1);
    clip-path: inset(0);
  }
}

@keyframes introAssembleRight {
  0% {
    opacity: 1;
    transform: translate3d(110px, 34px, 0) rotateY(8deg) scale(0.94);
    clip-path: inset(0 0 0 18%);
  }

  48% {
    opacity: 1;
    transform: translate3d(28px, 10px, 0) rotateY(2deg) scale(0.986);
    clip-path: inset(0 0 0 4%);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateY(0) scale(1);
    clip-path: inset(0);
  }
}

@keyframes premiumScaleIn {
  0% {
    opacity: 1;
    transform: translate3d(0, 44px, 0) scale(0.92);
  }

  55% {
    opacity: 1;
    transform: translate3d(0, 12px, 0) scale(0.978);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes metricGlow {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(42px) scale(0.965);
  }

  55% {
    opacity: 1;
    transform: translateX(-50%) translateY(10px) scale(0.99);
  }

  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

.site-home {
  margin: 0;
  width: 100%;
}

.home-hero {
  min-height: 720px;
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: end;
  color: #fff;
  background: #061f3a;
}

.home-hero-bg,
.home-hero-bg img,
.home-hero-overlay {
  position: absolute;
  inset: 0;
}

.home-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.05);
  transform-origin: center;
  animation: heroImageSettle 1900ms var(--motion-ease-soft) both;
}

.home-hero-overlay {
  background:
    linear-gradient(90deg, rgba(3, 18, 36, 0.92), rgba(6, 31, 58, 0.72) 46%, rgba(6, 31, 58, 0.16)),
    linear-gradient(0deg, rgba(3, 18, 36, 0.9), rgba(3, 18, 36, 0.05) 48%);
}

.home-hero-content {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 110px 0 190px;
}

.home-hero-content .eyebrow,
.home-hero h1,
.hero-copy,
.hero-actions {
  animation: premiumRise 1250ms var(--motion-ease) both;
  transform-origin: left center;
}

.home-hero-content .eyebrow {
  animation-delay: 180ms;
}

.home-hero h1 {
  animation-delay: 360ms;
}

.hero-copy {
  animation-delay: 560ms;
}

.hero-actions {
  animation-delay: 780ms;
}

.home-hero h1 {
  max-width: 850px;
  font-size: 64px;
  line-height: 1.02;
  margin-bottom: 22px;
}

.hero-copy {
  max-width: 670px;
  color: #d9edff;
  font-size: 19px;
  margin-bottom: 28px;
}

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

.hero-metrics {
  position: absolute;
  left: 50%;
  bottom: 34px;
  width: min(1180px, calc(100% - 32px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(6, 31, 58, 0.9);
  animation: metricGlow 1300ms var(--motion-ease) 980ms both;
}

.hero-metrics div {
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-metrics div:last-child {
  border-right: 0;
}

.hero-metrics strong {
  display: block;
  font-size: 40px;
  line-height: 1;
}

.hero-metrics span {
  color: #d9edff;
  font-weight: 700;
}

.home-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0;
}

.intro-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  align-items: end;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.home-section h2 {
  font-size: 42px;
  line-height: 1.08;
  margin-bottom: 16px;
  color: var(--primary-deep);
}

.home-section p {
  color: var(--muted);
  font-size: 16px;
}

.section-head {
  max-width: 780px;
  margin-bottom: 34px;
}

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

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(8, 95, 153, 0.08);
}

.service-card-link {
  color: inherit;
  display: block;
  height: 100%;
  text-decoration: none;
}

.service-card-link:hover h3,
.service-card-link:focus h3 {
  color: var(--primary);
}

.service-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.service-card div {
  padding: 20px;
}

.service-card h3,
.client-card h3,
.project-card h3 {
  color: var(--primary-deep);
  font-size: 20px;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 42px;
  align-items: center;
  background: #061f3a;
  color: #fff;
  width: 100%;
  padding: 84px max(16px, calc((100% - 1180px) / 2));
}

.split-section h2,
.split-section p {
  color: #fff;
}

.split-section .eyebrow {
  color: #9edcff;
}

.split-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.split-copy {
  max-width: 520px;
}

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

.founder-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  min-height: 440px;
  background: #061f3a;
  box-shadow: 0 24px 52px rgba(6, 31, 58, 0.16);
}

.founder-card img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.08);
}

.founder-card div {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 60px 22px 22px;
  color: #fff;
  background: linear-gradient(0deg, rgba(3, 18, 36, 0.92), rgba(3, 18, 36, 0));
}

.founder-card strong {
  display: block;
  font-size: 22px;
}

.founder-card span {
  color: #d9edff;
  font-weight: 700;
}

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

.facility-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  min-height: 250px;
}

.facility-card img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  display: block;
  object-fit: cover;
}

.facility-card span {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--primary-deep);
  border-radius: 6px;
  padding: 10px 12px;
  font-weight: 800;
}

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

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

.project-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(8, 95, 153, 0.09);
  display: flex;
  flex-direction: column;
}

.project-image {
  width: 100%;
  height: 280px;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

.project-body {
  padding: 24px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.project-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.project-head span {
  color: var(--primary);
  font-weight: 800;
  font-size: 13px;
  text-align: right;
  text-transform: uppercase;
}

.logo-box {
  width: 142px;
  flex: 0 0 142px;
  height: 64px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.project-logo {
  max-width: 118px;
  max-height: 42px;
}

.project-logo-text {
  color: var(--primary);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.project-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--text);
}

.project-card li {
  margin-bottom: 7px;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}

.client-card {
  min-height: 250px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.client-logo-wrap {
  height: 82px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fbfe;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.client-logo-wrap img {
  max-width: 100%;
  max-height: 58px;
  object-fit: contain;
}

.client-logo-text {
  color: var(--primary);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.client-card p {
  font-size: 14px;
  margin-bottom: 0;
}

.document-overview {
  padding-bottom: 48px;
}

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

.document-summary-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.07);
  padding: 24px;
}

.document-summary-grid strong {
  color: var(--primary);
  display: block;
  font-size: 36px;
  line-height: 1;
  margin-bottom: 10px;
}

.document-summary-grid span {
  color: var(--muted);
  font-weight: 800;
}

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

.document-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.07);
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 22px;
}

.document-card-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.document-logo-wrap {
  width: 118px;
  height: 82px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fbfdff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.document-logo-wrap img {
  display: block;
  max-width: 96px;
  max-height: 58px;
  object-fit: contain;
}

.document-logo-wrap span {
  font-weight: 900;
}

.document-category {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-align: right;
  text-transform: uppercase;
}

.document-card-body {
  flex: 1;
}

.document-card h3 {
  color: var(--primary-deep);
  font-size: 24px;
}

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

.document-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.service-card,
.service-link-card,
.project-card,
.client-card,
.founder-card,
.facility-card,
.document-card,
.document-summary-grid article,
.value-grid article,
.metric-row div,
.process-grid span,
.stats .stat {
  transition:
    border-color 520ms var(--motion-ease),
    background-color 520ms var(--motion-ease),
    box-shadow 640ms var(--motion-ease);
}

.service-card img,
.service-link-card img,
.project-image,
.founder-card img,
.facility-card img,
.client-logo-wrap,
.logo-box {
  transform-origin: center;
  transition:
    transform 1100ms var(--motion-drift),
    filter 900ms var(--motion-ease),
    border-color 520ms var(--motion-ease),
    background-color 520ms var(--motion-ease);
}

.service-card:hover,
.service-link-card:hover,
.project-card:hover,
.client-card:hover,
.founder-card:hover,
.facility-card:hover,
.document-card:hover,
.document-summary-grid article:hover {
  border-color: rgba(40, 169, 226, 0.45);
  box-shadow: 0 26px 62px rgba(6, 31, 58, 0.16);
}

.service-card:hover img,
.service-link-card:hover img,
.project-card:hover .project-image,
.founder-card:hover img,
.facility-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.12) contrast(1.07);
}

.project-card:hover .logo-box,
.client-card:hover .client-logo-wrap {
  border-color: rgba(40, 169, 226, 0.42);
  background: #ffffff;
  transform: scale(1.025);
}

.contact-band {
  width: 100%;
  padding: 72px max(16px, calc((100% - 1180px) / 2));
  background: #061f3a;
  display: flex;
  justify-content: space-between;
  gap: 34px;
  align-items: center;
  color: #fff;
}

.contact-band h2,
.contact-band p {
  color: #fff;
}

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

.site-page {
  width: 100%;
  margin: 0;
}

.page-hero {
  min-height: 560px;
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: end;
  color: #fff;
  background: #061f3a;
}

.page-hero-bg,
.page-hero-bg img,
.page-hero-overlay {
  position: absolute;
  inset: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.06);
  transform-origin: center;
  animation: heroImageSettle 1300ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.page-hero-overlay {
  background:
    linear-gradient(90deg, rgba(3, 18, 36, 0.9), rgba(6, 31, 58, 0.72) 52%, rgba(6, 31, 58, 0.22)),
    linear-gradient(0deg, rgba(3, 18, 36, 0.84), rgba(3, 18, 36, 0.05) 54%);
}

.page-hero-content {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 118px 0 92px;
}

.page-hero-content .eyebrow,
.page-hero h1,
.page-hero p:not(.eyebrow),
.page-hero-actions {
  animation: premiumRise 850ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.page-hero-content .eyebrow {
  animation-delay: 120ms;
}

.page-hero h1 {
  animation-delay: 240ms;
}

.page-hero p:not(.eyebrow) {
  animation-delay: 360ms;
}

.page-hero-actions {
  animation-delay: 500ms;
}

.page-hero h1 {
  max-width: 860px;
  font-size: 58px;
  line-height: 1.02;
  margin-bottom: 22px;
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  color: #d9edff;
  font-size: 18px;
}

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

.page-band {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 84px 0;
}

.page-band + .page-band {
  border-top: 1px solid var(--line);
}

.page-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.lead-block h2,
.section-head.wide h2,
.detail-main h2,
.blue-band h2 {
  color: var(--primary-deep);
  font-size: 42px;
  line-height: 1.08;
}

.lead-block p,
.detail-main p,
.section-head.wide p {
  color: var(--muted);
  font-size: 16px;
}

.image-stack {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 14px;
  align-items: end;
}

.image-stack img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  box-shadow: 0 22px 48px rgba(8, 95, 153, 0.12);
}

.image-stack img:first-child {
  min-height: 430px;
}

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

.metric-row div {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: 8px;
  padding: 22px;
}

.metric-row strong {
  display: block;
  color: var(--primary-deep);
  font-size: 36px;
  line-height: 1;
  margin-bottom: 10px;
}

.metric-row span {
  color: var(--muted);
  font-weight: 800;
}

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

.value-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 18px 44px rgba(8, 95, 153, 0.07);
}

.value-grid h3 {
  color: var(--primary-deep);
  font-size: 24px;
}

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

.section-head.wide {
  max-width: 940px;
}

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

.service-link-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(8, 95, 153, 0.08);
}

.service-link-card a {
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  text-decoration: none;
}

.service-link-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.service-link-body {
  padding: 22px;
}

.service-count {
  color: var(--accent);
  display: block;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 12px;
}

.service-link-card h3 {
  color: var(--primary-deep);
  font-size: 22px;
}

.service-link-card p {
  color: var(--muted);
}

.service-link-card ul {
  margin: 18px 0;
  padding-left: 18px;
}

.service-link-card li {
  margin-bottom: 8px;
}

.text-link {
  color: var(--primary);
  font-weight: 900;
}

.blue-band {
  width: 100%;
  padding: 76px max(16px, calc((100% - 1180px) / 2));
  background: #061f3a;
  color: #fff;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
  align-items: center;
}

.blue-band h2,
.blue-band p {
  color: #fff;
}

.blue-band .eyebrow {
  color: #9edcff;
}

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

.process-grid span {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 800;
  padding: 16px;
}

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

.detail-main {
  min-width: 0;
}

.scope-panel {
  margin: 30px 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.scope-panel h3,
.detail-sidebar h3 {
  color: var(--primary-deep);
  font-size: 22px;
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  margin: 0;
  padding-left: 18px;
}

.scope-grid li {
  line-height: 1.5;
}

.detail-sidebar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  position: sticky;
  top: 98px;
}

.mini-nav {
  display: grid;
  gap: 8px;
}

.mini-nav a {
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--primary-deep);
  font-weight: 800;
  padding: 11px 12px;
  text-decoration: none;
}

.mini-nav a:hover,
.mini-nav a:focus {
  background: #edf8fb;
  color: var(--primary);
}

@supports (animation-timeline: view()) {
  .home-section,
  .page-band,
  .intro-band,
  .page-split,
  .blue-band,
  .contact-band {
    perspective: 1200px;
  }

  .home-section .section-head > *,
  .page-band .section-head > * {
    animation-name: premiumRise;
    animation-duration: 1s;
    animation-timing-function: var(--motion-ease-soft);
    animation-fill-mode: both;
    animation-timeline: view();
    animation-range: entry 0% cover 56%;
    backface-visibility: hidden;
    transform-origin: left center;
    will-change: opacity, transform;
  }

  .home-section .section-head > :nth-child(2),
  .page-band .section-head > :nth-child(2) {
    animation-range: entry 6% cover 62%;
  }

  .home-section .section-head > :nth-child(3),
  .page-band .section-head > :nth-child(3) {
    animation-range: entry 12% cover 68%;
  }

  .lead-block,
  .detail-main,
  .detail-sidebar,
  .scope-panel,
  .split-copy,
  .contact-band > div {
    animation-name: premiumRise;
    animation-duration: 1s;
    animation-timing-function: var(--motion-ease-soft);
    animation-fill-mode: both;
    animation-timeline: view();
    animation-range: entry 0% cover 62%;
    backface-visibility: hidden;
    will-change: opacity, transform;
  }

  .intro-band > :first-child,
  .page-split > :first-child,
  .blue-band > :first-child,
  .split-media {
    animation-name: premiumSlideLeft;
    animation-duration: 1s;
    animation-timing-function: var(--motion-ease-soft);
    animation-fill-mode: both;
    animation-timeline: view();
    animation-range: entry 0% cover 68%;
    backface-visibility: hidden;
    will-change: opacity, transform;
  }

  .intro-band > :last-child,
  .page-split > :last-child,
  .blue-band > :last-child {
    animation-name: premiumSlideRight;
    animation-duration: 1s;
    animation-timing-function: var(--motion-ease-soft);
    animation-fill-mode: both;
    animation-timeline: view();
    animation-range: entry 0% cover 68%;
    backface-visibility: hidden;
    will-change: opacity, transform;
  }

  .intro-band > :first-child {
    animation-name: introAssembleLeft;
    animation-duration: 1s;
    animation-timing-function: var(--motion-drift);
    animation-fill-mode: both;
    animation-timeline: view();
    animation-range: entry 0% cover 78%;
    transform-origin: left center;
  }

  .intro-band > :last-child {
    animation-name: introAssembleRight;
    animation-duration: 1s;
    animation-timing-function: var(--motion-drift);
    animation-fill-mode: both;
    animation-timeline: view();
    animation-range: entry 8% cover 84%;
    transform-origin: right center;
  }

  .service-card,
  .service-link-card,
  .project-card,
  .client-card,
  .founder-card,
  .facility-card,
  .document-card,
  .document-summary-grid article,
  .value-grid article,
  .metric-row div,
  .process-grid span,
  .stats .stat,
  .panel {
    animation-name: premiumScaleIn;
    animation-duration: 1s;
    animation-timing-function: var(--motion-ease-soft);
    animation-fill-mode: both;
    animation-timeline: view();
    animation-range: entry 3% cover 58%;
    backface-visibility: hidden;
    transform-origin: center top;
    will-change: opacity, transform;
  }

  .service-card:nth-child(3n + 2),
  .service-link-card:nth-child(3n + 2),
  .project-card:nth-child(2n),
  .client-card:nth-child(4n + 2),
  .founder-card:nth-child(2),
  .facility-card:nth-child(2),
  .document-card:nth-child(2n),
  .document-summary-grid article:nth-child(2),
  .value-grid article:nth-child(2),
  .metric-row div:nth-child(2),
  .process-grid span:nth-child(2n) {
    animation-range: entry 10% cover 64%;
  }

  .service-card:nth-child(3n),
  .service-link-card:nth-child(3n),
  .client-card:nth-child(4n + 3),
  .facility-card:nth-child(3),
  .document-card:nth-child(3n),
  .document-summary-grid article:nth-child(3),
  .value-grid article:nth-child(3),
  .metric-row div:nth-child(3),
  .process-grid span:nth-child(3n) {
    animation-range: entry 17% cover 70%;
  }

  .client-card:nth-child(4n),
  .facility-card:nth-child(4),
  .document-card:nth-child(4n),
  .metric-row div:nth-child(4) {
    animation-range: entry 24% cover 76%;
  }
}

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

  *,
  *::before,
  *::after {
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

.static-admin .panel {
  overflow: hidden;
}

.admin-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.admin-panel-head h1 {
  color: var(--primary-deep);
  font-size: 34px;
}

.admin-panel-head .actions {
  justify-content: flex-end;
}

@media (max-width: 1080px) {
  .site-nav {
    display: none;
  }

  .home-hero h1 {
    font-size: 50px;
  }

  .service-grid,
  .service-index-grid,
  .founder-grid,
  .client-grid,
  .document-grid,
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .page-split,
  .blue-band,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-sidebar {
    position: static;
  }

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

@media (max-width: 760px) {
  .site-header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .brand {
    gap: 10px;
  }

  .brand-logo {
    width: 132px;
  }

  .brand-text {
    white-space: normal;
  }

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

  .home-hero-content {
    padding: 86px 0 230px;
  }

  .home-hero h1 {
    font-size: 38px;
  }

  .page-hero {
    min-height: 500px;
  }

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

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

  .page-hero p:not(.eyebrow) {
    font-size: 16px;
  }

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

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

  .hero-metrics div {
    padding: 14px 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .hero-metrics div:last-child {
    border-bottom: 0;
  }

  .hero-metrics strong {
    font-size: 28px;
  }

  .home-section {
    padding: 56px 0;
  }

  .page-band {
    padding: 56px 0;
  }

  .home-section h2 {
    font-size: 30px;
  }

  .lead-block h2,
  .section-head.wide h2,
  .detail-main h2,
  .blue-band h2 {
    font-size: 30px;
  }

  .intro-band,
  .split-section,
  .contact-band {
    grid-template-columns: 1fr;
    display: grid;
  }

  .split-section,
  .contact-band {
    padding: 56px 16px;
  }

  .service-grid,
  .service-index-grid,
  .founder-grid,
  .facility-grid,
  .project-grid,
  .client-grid,
  .document-grid,
  .document-summary-grid,
  .metric-row,
  .value-grid,
  .scope-grid,
  .process-grid,
  .image-stack {
    grid-template-columns: 1fr;
  }

  .founder-card,
  .founder-card img {
    min-height: 360px;
  }

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

  .actions.nowrap {
    flex-wrap: wrap;
  }

  .record-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .admin-panel-head {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-panel-head .actions {
    justify-content: flex-start;
  }
}
