:root {
  --ink: #111923;
  --muted-ink: #5f6d7b;
  --deep: #0b111a;
  --moss: #0f4fd8;
  --copper: #1457e6;
  --gold: #4b86ff;
  --cream: #f4f7fb;
  --paper: #ffffff;
  --line: rgba(17, 25, 35, 0.12);
  --shadow: 0 24px 70px rgba(8, 18, 34, 0.16);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 48px);
  color: white;
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    padding 180ms ease;
}

.site-header[data-scrolled="true"] {
  padding-block: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(8, 18, 34, 0.08);
  backdrop-filter: blur(14px);
}

.site-header a {
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.brand,
.nav-links,
.footer-links,
.hero-actions,
.contact-details {
  display: flex;
  align-items: center;
}

.brand {
  width: auto;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 7px 14px 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 28px rgba(8, 18, 34, 0.12);
  text-decoration: none;
  color: var(--ink);
  font-weight: 850;
}

.brand-logo {
  width: 43px;
  height: 41px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand span {
  white-space: nowrap;
  line-height: 1;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-size: 0.82rem;
  letter-spacing: 0;
}

.nav-links {
  justify-content: center;
  gap: 28px;
  font-size: 0.95rem;
}

.nav-links a,
.header-cta,
.text-link,
.footer-links a,
.contact-details a {
  text-decoration: none;
}

.nav-links a {
  opacity: 0.9;
}

.nav-links a:hover,
.text-link:hover,
.footer-links a:hover,
.contact-details a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.header-cta {
  justify-self: end;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-weight: 700;
}

.site-header[data-scrolled="true"] .header-cta {
  border-color: rgba(20, 87, 230, 0.34);
  background: rgba(20, 87, 230, 0.1);
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center right;
  z-index: -2;
}

.hero-overlay {
  z-index: -1;
  background:
    radial-gradient(circle at 73% 35%, rgba(20, 87, 230, 0.26), transparent 34%),
    linear-gradient(90deg, rgba(8, 15, 26, 0.94) 0%, rgba(8, 18, 34, 0.74) 44%, rgba(12, 28, 54, 0.24) 78%),
    linear-gradient(180deg, rgba(8, 18, 34, 0.26), rgba(8, 18, 34, 0.54));
}

.hero-content {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding-top: 92px;
  color: white;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #a9c4ff;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 740px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 7vw, 6.2rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.hero-trust {
  max-width: 620px;
  margin-bottom: 42px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  font-weight: 700;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(8, 18, 34, 0.18);
}

.button.primary {
  border-color: var(--copper);
  background: var(--copper);
  color: white;
}

.button.primary:hover {
  background: #0f49c5;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
  color: white;
  backdrop-filter: blur(10px);
}

.button.compact {
  width: 100%;
  margin-top: auto;
  font-size: 0.92rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(760px, 100%);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
}

.hero-stats div {
  padding: 18px;
  background: rgba(8, 18, 34, 0.3);
}

.hero-stats dt {
  font-weight: 850;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.intro-band {
  background: var(--deep);
  color: white;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.intro-band p {
  max-width: 920px;
  margin: 0;
  padding: 26px 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.section {
  padding: clamp(72px, 10vw, 126px) 0;
}

.muted {
  background: var(--cream);
}

.section-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(260px, 0.88fr);
  gap: clamp(26px, 7vw, 84px);
  align-items: end;
  margin-bottom: 34px;
}

.split-heading > p,
.about-copy p,
.contact-grid > div > p {
  color: var(--muted-ink);
  font-size: 1.05rem;
}

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

.service-grid article,
.project-card,
.price-card,
.process-list article,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 30px rgba(8, 18, 34, 0.05);
}

.service-grid article,
.project-card,
.price-card,
.process-list article {
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.service-grid article:hover,
.project-card:hover,
.price-card:hover,
.process-list article:hover {
  border-color: rgba(20, 87, 230, 0.28);
  box-shadow: 0 18px 42px rgba(8, 18, 34, 0.1);
  transform: translateY(-3px);
}

.service-grid article {
  min-height: 178px;
  padding: 24px;
}

.service-grid p,
.project-card p,
.price-card p,
.process-list p,
.form-note {
  color: var(--muted-ink);
}

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

.project-card {
  grid-column: span 2;
  min-height: 275px;
  display: flex;
  flex-direction: column;
  padding: 26px;
}

.project-card.featured {
  background: var(--deep);
  color: white;
  box-shadow: var(--shadow);
}

.portfolio-grid .project-card.featured {
  grid-column: span 2;
}

.project-card.featured p {
  color: rgba(255, 255, 255, 0.78);
}

.project-type {
  margin-bottom: 24px;
  color: var(--copper);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.text-link {
  margin-top: auto;
  color: inherit;
  font-weight: 850;
}

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

.process-list article {
  padding: 22px;
}

.process-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 24px;
  border-radius: 8px;
  background: rgba(20, 87, 230, 0.1);
  color: var(--copper);
  font-weight: 850;
}

.price-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.price-card.emphasized {
  border-color: rgba(20, 87, 230, 0.38);
  box-shadow: var(--shadow);
}

.price {
  margin-bottom: 18px;
  color: var(--deep);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1;
  font-weight: 900;
}

.price-features {
  display: grid;
  gap: 9px;
  margin: 6px 0 24px;
  padding: 0;
  list-style: none;
  color: var(--muted-ink);
  font-size: 0.95rem;
}

.price-features li {
  position: relative;
  padding-left: 22px;
}

.price-features li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--copper);
  content: "";
}

.about-section {
  background: var(--deep);
  color: white;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(28px, 8vw, 96px);
  align-items: start;
}

.about-profile {
  display: grid;
  gap: 28px;
}

.profile-card {
  display: grid;
  gap: 14px;
  width: min(100%, 320px);
  margin: 0;
}

.profile-photo {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(20, 87, 230, 0.92), rgba(8, 18, 34, 0.92)),
    var(--moss);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-photo span {
  display: inline-grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  color: white;
  font-size: 1.45rem;
  font-weight: 900;
}

.profile-card figcaption {
  display: grid;
  gap: 2px;
}

.profile-card figcaption strong {
  font-size: 1.08rem;
}

.profile-card figcaption span {
  color: rgba(255, 255, 255, 0.68);
}

.about-copy p {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.linkedin-link {
  display: inline-flex;
  color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 7vw, 88px);
  align-items: start;
}

.contact-details {
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
  color: var(--deep);
  font-weight: 800;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
  box-shadow: var(--shadow);
}

label,
label span {
  display: grid;
  gap: 7px;
}

label span {
  color: var(--deep);
  font-size: 0.88rem;
  font-weight: 850;
}

label em {
  color: var(--muted-ink);
  font-style: normal;
  font-weight: 650;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
}

input {
  min-height: 48px;
  padding: 0 14px;
}

textarea {
  resize: vertical;
  min-height: 136px;
  padding: 14px;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(20, 87, 230, 0.18);
  border-color: var(--copper);
}

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

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.9rem;
}

.site-footer {
  padding: 34px clamp(20px, 4vw, 48px);
  background: #070d15;
  color: white;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), 100%);
  margin: 0 auto 18px;
}

.footer-brand {
  display: grid;
  gap: 10px;
}

.footer-brand img {
  width: min(250px, 68vw);
  padding: 8px 12px;
  border-radius: 8px;
  background: white;
}

.footer-inner span,
.site-footer p {
  color: rgba(255, 255, 255, 0.68);
}

.footer-links {
  align-items: flex-end;
  flex-direction: column;
  gap: 6px;
}

.site-footer p {
  width: min(var(--max), 100%);
  margin: 0 auto;
  font-size: 0.9rem;
}

@media (prefers-reduced-motion: no-preference) {
  .service-grid article,
  .project-card,
  .price-card,
  .process-list article {
    animation: rise 600ms ease both;
    animation-timeline: view();
    animation-range: entry 10% cover 24%;
  }

  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(18px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(8, 18, 34, 0.92), rgba(8, 18, 34, 0.68)),
      linear-gradient(180deg, rgba(8, 18, 34, 0.28), rgba(8, 18, 34, 0.46));
  }

  .split-heading,
  .about-grid,
  .contact-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

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

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

  .project-card {
    grid-column: auto;
    min-height: 220px;
  }

  .portfolio-grid .project-card.featured {
    grid-column: auto;
  }
}

@media (min-width: 681px) and (max-height: 760px) {
  .hero {
    min-height: 86vh;
  }

  .hero-stats {
    display: none;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand {
    min-width: 0;
    min-height: 44px;
    gap: 8px;
    padding: 6px 9px 6px 7px;
  }

  .brand-logo {
    width: 32px;
    height: 31px;
  }

  .brand span {
    max-width: 92px;
    white-space: normal;
    line-height: 1.05;
    font-size: 0.9rem;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.9rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-content,
  .section-inner {
    width: min(100% - 28px, var(--max));
  }

  .hero-content {
    padding-top: 112px;
    padding-bottom: 52px;
  }

  h1 {
    font-size: clamp(2.6rem, 14vw, 4.2rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-stats,
  .service-grid,
  .pricing-grid,
  .process-list,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    display: none;
  }

  .hero-stats div {
    padding: 14px;
  }

  .section {
    padding: 68px 0;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-links {
    align-items: flex-start;
  }
}
