:root {
  --navy: #0a2540;
  --navy-2: #123056;
  --ink: #102a44;
  --ink-soft: #3d5368;
  --paper: #f5f8fb;
  --paper-2: #eaf1f6;
  --white: #ffffff;
  --line: #d5e0ea;
  --stone: #5c7388;
  --teal: #12b8c9;
  --lime: #b6e000;
  --cyan: #3ec6e0;
  --radius: 18px;
  --shadow: 0 22px 50px rgba(10, 37, 64, 0.1);
  --header: 4.6rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

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

h1,
h2,
h3,
.brand-name,
.brand-sub,
.footer-name,
.hero-card-title {
  font-family: "Montserrat", system-ui, sans-serif;
  letter-spacing: -0.02em;
}

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.75rem;
  color: var(--navy);
}

h1 {
  font-size: clamp(2.15rem, 4.6vw, 3.6rem);
}

h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
}

h3 {
  font-size: 1.12rem;
  font-weight: 700;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--white) 90%, transparent);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-mark {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

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

.brand-name {
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--navy);
}

.brand-sub {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a {
  color: var(--ink-soft);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--navy);
}

.nav-cta {
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  color: var(--white) !important;
  background: var(--navy);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--navy-2);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 5px auto;
  background: var(--navy);
}

.eyebrow {
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.lede {
  font-size: 1.14rem;
  color: var(--ink-soft);
  max-width: 38rem;
}

.hero {
  position: relative;
  padding: 4.2rem 0 3.2rem;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: auto -10% -20% 40%;
  height: 420px;
  background:
    radial-gradient(circle at 30% 40%, rgba(18, 184, 201, 0.22), transparent 55%),
    radial-gradient(circle at 70% 30%, rgba(182, 224, 0, 0.18), transparent 50%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.hero-logo {
  display: grid;
  place-items: center;
}

.hero-logo img {
  width: min(360px, 100%);
  filter: drop-shadow(0 18px 30px rgba(10, 37, 64, 0.18));
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(120deg, var(--navy) 0%, #15627a 58%, #6fb800 160%);
  color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  filter: brightness(1.08);
}

.btn-ghost {
  border-color: var(--line);
  background: var(--white);
  color: var(--navy);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--teal);
}

.section {
  padding: 5.2rem 0;
}

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

.section-dark {
  background:
    radial-gradient(circle at 85% 10%, rgba(18, 184, 201, 0.18), transparent 28%),
    radial-gradient(circle at 10% 90%, rgba(182, 224, 0, 0.1), transparent 26%),
    var(--navy);
  color: var(--white);
}

.section-dark .eyebrow {
  color: var(--lime);
}

.section-dark h2 {
  color: var(--white);
}

.section-dark p {
  color: #c9d7e4;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2.4rem;
}

.section-head p {
  color: var(--ink-soft);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.4rem 1.35rem 1.5rem;
  border-top: 3px solid var(--teal);
}

.card:nth-child(3n) {
  border-top-color: var(--lime);
}

.card p {
  color: var(--ink-soft);
  font-size: 0.97rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.principles {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.1rem;
  counter-reset: step;
}

.principles li {
  counter-increment: step;
  padding-left: 3rem;
  position: relative;
  color: var(--ink-soft);
}

.principles li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.15rem;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  color: var(--teal);
  font-size: 0.85rem;
}

.principles strong {
  display: block;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.case-study {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.6rem 1.8rem;
  box-shadow: var(--shadow);
}

.case-kicker {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.case-grid h3 {
  font-size: 1.05rem;
}

.case-grid p {
  color: var(--ink-soft);
  font-size: 0.97rem;
}

.brief-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

.brief-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.6rem 1.7rem;
  box-shadow: var(--shadow);
  max-width: 42rem;
}

.brief-card .btn {
  margin-top: 0.6rem;
}

.cyber-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 1.4rem;
}

.cyber-card,
.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.45rem 1.4rem 1.5rem;
}

.cyber-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  font-size: 0.97rem;
}

.cyber-list li {
  margin-bottom: 0.45rem;
}

.cyber-list li:last-child {
  margin-bottom: 0;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.currency-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.7rem;
  margin: 0 0 1rem;
}

.currency-label {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.currency-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--white);
}

.currency-btn {
  border: 0;
  background: transparent;
  min-width: 3.4rem;
  padding: 0.45rem 0.85rem;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
}

.currency-btn[aria-pressed="true"] {
  background: var(--navy);
  color: var(--white);
}

.price-card-featured {
  border-top: 3px solid var(--teal);
  box-shadow: var(--shadow);
}

.price-amount {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0.2rem 0 0.7rem;
  letter-spacing: -0.02em;
}

.price-amount span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0;
}

.price-card .btn {
  margin-top: 0.9rem;
}

.price-note {
  margin-top: 1.2rem;
  max-width: 48rem;
}

.gate-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  background: rgba(10, 37, 64, 0.55);
}

.gate-modal[hidden] {
  display: none;
}

.gate-panel {
  position: relative;
  width: min(480px, 100%);
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.6rem;
  box-shadow: var(--shadow);
  max-height: calc(100vh - 2.4rem);
  overflow: auto;
}

.gate-close {
  position: absolute;
  top: 0.7rem;
  right: 0.8rem;
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink-soft);
  cursor: pointer;
}

.gate-lead {
  color: var(--ink-soft);
}

.gate-form {
  display: grid;
  gap: 0.85rem;
}

.gate-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
}

.gate-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  font: inherit;
  background: var(--paper);
  color: var(--ink);
}

.gate-form input:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
}

.gate-form .form-note {
  color: var(--navy);
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.person-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.7rem;
}

.person-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--navy), #15627a 60%, #6fb800);
  color: var(--white);
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.person-role {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  margin: -0.35rem 0 0.85rem;
}

.person-card p {
  color: var(--ink-soft);
  font-size: 0.97rem;
}

.person-link {
  display: inline-block;
  margin-top: 0.4rem;
  color: var(--navy);
  font-weight: 600;
  border-bottom: 1px solid var(--teal);
}

.person-link:hover,
.person-link:focus-visible {
  color: var(--teal);
}

.company-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem 1.4rem;
}

.company-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 0.6rem;
}

.company-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.company-row span {
  color: var(--stone);
}

.company-row strong {
  color: var(--navy);
}

.fine-print {
  margin-top: 1.1rem;
  font-size: 0.82rem;
  color: var(--stone);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.88rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #2c4a66;
  background: #0e2d4c;
  color: var(--white);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--lime);
  outline-offset: 1px;
}

.contact-form .btn {
  justify-self: start;
}

.form-note {
  font-size: 0.9rem;
  color: var(--lime);
}

.site-footer {
  background: #07192c;
  color: #9fb1c4;
  padding: 2rem 0 2.4rem;
  border-top: 1px solid #123056;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}

.footer-brand {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}

.footer-brand .brand-mark {
  width: 40px;
  height: 40px;
}

.footer-name {
  color: var(--white);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
}

.footer-copy {
  font-size: 0.85rem;
}

@media (max-width: 860px) {
  .hero-grid,
  .split,
  .card-grid,
  .team-grid,
  .case-grid,
  .cyber-grid,
  .price-grid,
  .footer-inner {
    grid-template-columns: 1fr;
    display: grid;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.25rem 1.3rem;
    gap: 0.9rem;
  }

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

  .hero {
    padding-top: 2.2rem;
  }

  .hero-logo {
    order: -1;
  }

  .hero-logo img {
    width: min(240px, 70%);
  }

  .section {
    padding: 3.6rem 0;
  }
}

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

.site-nav-list { display: contents; list-style: none; margin: 0; padding: 0; }
.site-nav-list li { display: contents; }
.content-wrap { max-width: 42rem; }
.content-wrap .entry-content { color: var(--ink-soft); }
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
