:root {
  --ink: #0b1f24;
  --ink-soft: #17343a;
  --paper: #f5f8f7;
  --muted: #617174;
  --line: #dce5e3;
  --teal: #0e7c79;
  --teal-dark: #075d5c;
  --aqua: #69d2cc;
  --amber: #f2b84b;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(10, 31, 36, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  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;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 64px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(8, 28, 33, 0.92);
  box-shadow: 0 14px 30px rgba(3, 16, 19, 0.2);
  backdrop-filter: blur(16px);
  padding-block: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: clamp(124px, 14vw, 154px);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.84;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.hamburger {
  display: grid;
  gap: 5px;
  width: 20px;
}

.hamburger span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: center;
  padding: 150px clamp(20px, 7vw, 96px) 70px;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 19, 23, 0.98) 0%, rgba(7, 27, 31, 0.9) 33%, rgba(7, 27, 31, 0.28) 72%),
    linear-gradient(0deg, rgba(5, 19, 23, 0.72), transparent 44%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

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

h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 610px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius);
  padding: 12px 18px;
  border: 1px solid transparent;
  font-weight: 850;
  line-height: 1.1;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.button.primary {
  background: var(--amber);
  color: #211600;
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.button[hidden] {
  display: none;
}

.button.dark {
  background: var(--ink);
  color: var(--white);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(780px, 100%);
  margin-top: 44px;
}

.hero-metrics span {
  min-height: 84px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
}

.hero-metrics strong {
  display: block;
  color: var(--white);
}

.section {
  padding: clamp(70px, 9vw, 120px) clamp(20px, 6vw, 86px);
}

.section-heading {
  max-width: 720px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.04rem;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.intro-band {
  background: var(--white);
}

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

.service-strip article,
.feature-item,
.project-card,
.plan-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.service-strip article {
  padding: 28px;
  box-shadow: 0 18px 46px rgba(12, 42, 47, 0.07);
}

.service-strip svg,
.feature-item svg {
  width: 26px;
  height: 26px;
  color: var(--teal);
}

.service-strip p,
.feature-item p,
.project-card p,
.plan-card p,
.plan-card li {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(320px, 1fr);
  gap: clamp(34px, 6vw, 80px);
}

.sticky-heading {
  position: sticky;
  top: 110px;
  align-self: start;
}

.feature-list {
  display: grid;
  gap: 16px;
}

.feature-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 24px;
}

.feature-item span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: var(--radius);
  background: #e5f5f3;
}

.projects {
  background: #102b31;
  color: var(--white);
}

.projects .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.project-grid,
.plan-grid {
  display: grid;
  gap: 16px;
  margin-top: 38px;
}

.project-group {
  margin-top: 42px;
}

.project-group + .project-group {
  margin-top: 54px;
}

.project-group-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.project-group-title span {
  color: var(--white);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 900;
  line-height: 1.1;
}

.project-group-title p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
}

.project-grid {
  margin-top: 0;
}

.project-grid.is-websites {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.project-card {
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
}

.project-card.featured {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.05)),
    rgba(255, 255, 255, 0.07);
}

.project-card figure {
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 220ms ease;
}

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

.project-card div {
  padding: 22px;
}

.project-card.featured div {
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 1fr);
  gap: 14px 20px;
  align-items: start;
}

.project-card span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--aqua);
  font-weight: 850;
}

.project-card.featured span {
  margin: 0;
}

.project-card.featured h3 {
  grid-column: 1;
  font-size: 1.45rem;
}

.project-card.featured p {
  grid-column: 2;
  grid-row: 1 / span 2;
}

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

.process {
  background: var(--white);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  margin: 38px 0 0;
  list-style: none;
  counter-reset: steps;
}

.timeline li {
  position: relative;
  min-height: 210px;
  padding: 28px 24px;
  border-top: 2px solid var(--teal);
  counter-increment: steps;
}

.timeline li::before {
  content: counter(steps);
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-weight: 900;
}

.timeline strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

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

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

.plan-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  box-shadow: 0 16px 40px rgba(13, 41, 47, 0.06);
}

.plan-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  color: var(--teal);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.plan-card h3 {
  margin-bottom: 12px;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  letter-spacing: 0;
}

.plan-card.featured {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

.plan-card.featured p,
.plan-card.featured li {
  color: rgba(255, 255, 255, 0.76);
}

.plan-card.featured .plan-label {
  color: var(--amber);
}

.plan-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding-left: 20px;
}

.plan-note {
  margin: auto 0 0;
  padding-top: 22px;
  font-size: .9rem;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 32px;
  align-items: center;
  margin: 0 clamp(20px, 6vw, 86px) clamp(54px, 6vw, 86px);
  padding: clamp(34px, 6vw, 64px);
  border-radius: var(--radius);
  background: var(--teal-dark);
  color: var(--white);
}

.contact-section p:not(.eyebrow) {
  max-width: 670px;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 6vw, 86px);
  background: #071719;
  color: rgba(255, 255, 255, 0.74);
}

.site-footer p {
  margin: 0;
}

.site-footer p:first-child {
  color: var(--white);
  font-weight: 850;
}

.not-found {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.nf-shell {
  max-width: 560px;
  text-align: center;
}

@media (max-width: 980px) {
  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    background: rgba(8, 28, 33, 0.98);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 14px;
  }

  .nav-toggle {
    display: grid;
  }

  .hero {
    min-height: 900px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(5, 19, 23, 0.96), rgba(7, 27, 31, 0.74)),
      linear-gradient(0deg, rgba(5, 19, 23, 0.82), transparent 40%);
  }

  .hero-metrics,
  .service-strip,
  .split,
  .project-grid,
  .timeline,
  .plan-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .project-group-title {
    display: grid;
    gap: 8px;
  }

  .project-grid.is-websites,
  .project-grid.is-systems {
    grid-template-columns: 1fr;
  }

  .project-card.featured div {
    grid-template-columns: 1fr;
  }

  .project-card.featured h3,
  .project-card.featured p {
    grid-column: auto;
    grid-row: auto;
  }

  .sticky-heading {
    position: static;
  }

  .project-card,
  .timeline li {
    min-height: auto;
  }

  .timeline li {
    border-top: 0;
    border-left: 2px solid var(--teal);
  }

  .plan-card.featured {
    transform: none;
  }

  .contact-actions {
    align-items: stretch;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand span:last-child {
    max-width: 160px;
    line-height: 1.1;
  }

  .hero {
    min-height: 860px;
    padding: 120px 18px 48px;
  }

  h1 {
    font-size: clamp(2.85rem, 15vw, 4.4rem);
  }

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

  .button {
    width: 100%;
  }

  .section {
    padding-inline: 18px;
  }

  .service-strip article,
  .feature-item,
  .project-card,
  .plan-card {
    padding: 20px;
  }

  .feature-item {
    grid-template-columns: 1fr;
  }

  .contact-section {
    margin-inline: 18px;
    padding: 26px 20px;
  }

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