:root {
  --ink: #071218;
  --muted: #587078;
  --paper: #f7fbf8;
  --line: rgba(7, 18, 24, 0.12);
  --blue: #0067d6;
  --cyan: #0bbfe5;
  --green: #73d92c;
  --lime: #b9ef2f;
  --teal: #007c7e;
  --white: #ffffff;
  --shadow: 0 28px 80px rgba(10, 45, 54, 0.18);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "IBM Plex Sans", "Helvetica Neue", sans-serif;
  line-height: 1.5;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 96px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(247, 251, 248, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 290px;
  font-weight: 700;
}

.brand img {
  width: clamp(240px, 26vw, 360px);
  height: auto;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 38px);
  color: var(--muted);
  font-size: 0.95rem;
}

nav a,
.nav-action {
  transition: color 160ms ease, transform 160ms ease;
}

nav a:hover,
.nav-action:hover {
  color: var(--blue);
}

.nav-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  color: var(--white);
  background: var(--ink);
  border-radius: 999px;
  font-weight: 700;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.55fr);
  gap: clamp(28px, 5vw, 72px);
  min-height: 72vh;
  padding: clamp(28px, 4vw, 48px) clamp(18px, 6vw, 84px) 42px;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 14% 24%, rgba(11, 191, 229, 0.16), transparent 32%),
    radial-gradient(circle at 84% 18%, rgba(115, 217, 44, 0.2), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f3fbf5 58%, #e6f7f9 100%);
}

.signal-grid {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(7, 18, 24, 0.24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 18, 24, 0.24) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(0, 103, 214, 0.2);
  border-radius: 999px;
  transform: rotate(-22deg);
}

.orbit::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(115, 217, 44, 0.18);
}

.orbit-a {
  right: -120px;
  top: 120px;
  width: 520px;
  height: 180px;
}

.orbit-a::after {
  left: 82px;
  top: 22px;
}

.orbit-b {
  left: -140px;
  bottom: 110px;
  width: 420px;
  height: 150px;
  border-color: rgba(0, 124, 126, 0.24);
}

.orbit-b::after {
  right: 96px;
  bottom: 12px;
  background: var(--cyan);
}

.hero-copy {
  max-width: 780px;
  align-self: start;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Newsreader", Georgia, serif;
  line-height: 0.98;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 5.7vw, 4.85rem);
  letter-spacing: 0;
}

h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(2.35rem, 5vw, 5.2rem);
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.2;
}

.lead {
  max-width: 690px;
  color: #29464f;
  font-size: clamp(1.06rem, 1.55vw, 1.24rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--teal));
  box-shadow: 0 14px 34px rgba(0, 103, 214, 0.24);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
}

.sprint-panel {
  align-self: start;
  padding: clamp(22px, 4vw, 34px);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.panel-topline,
.sprint-flow,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.panel-topline {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.sprint-price {
  margin: 32px 0;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 700;
  line-height: 0.95;
}

.sprint-flow {
  margin-bottom: 18px;
}

.sprint-flow span {
  flex: 1;
  padding: 12px 8px;
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius);
  text-align: center;
  font-size: 0.84rem;
  font-weight: 700;
}

.sprint-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.trust-strip div {
  min-height: 132px;
  padding: 26px clamp(18px, 3vw, 34px);
  background: var(--white);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  margin-bottom: 6px;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

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

.section {
  padding: clamp(72px, 9vw, 124px) clamp(18px, 6vw, 84px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.3fr) minmax(0, 0.7fr);
  gap: clamp(18px, 5vw, 64px);
  align-items: start;
  margin-bottom: clamp(34px, 6vw, 74px);
}

.section-heading.compact {
  margin-bottom: 36px;
}

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

.method-grid article {
  min-height: 300px;
  padding: 28px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
}

.method-grid article:nth-child(2) {
  background: var(--teal);
}

.method-grid article:nth-child(3) {
  background: #dff57a;
  color: var(--ink);
}

.method-grid p,
.capability-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.method-grid article:nth-child(3) p,
.capability-copy p {
  color: var(--muted);
}

.step {
  display: block;
  margin-bottom: 80px;
  font-family: "Newsreader", Georgia, serif;
  font-size: 4rem;
  line-height: 1;
}

.capabilities {
  background: #edf8f3;
  border-block: 1px solid var(--line);
}

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

.capability-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 420px;
  overflow: hidden;
  background: #fbfffc;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 52px rgba(10, 45, 54, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.capability-card:hover {
  border-color: rgba(0, 103, 214, 0.2);
  box-shadow: 0 28px 72px rgba(10, 45, 54, 0.14);
  transform: translateY(-4px);
}

.capability-visual {
  position: relative;
  aspect-ratio: 16 / 10;
  margin: 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(237, 248, 243, 0.42)),
    #ffffff;
  border-bottom: 1px solid var(--line);
}

.capability-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(251, 255, 252, 0.72));
  pointer-events: none;
}

.capability-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  transition: transform 220ms ease;
}

.capability-card:hover .capability-visual img {
  transform: scale(1.045);
}

.capability-copy {
  padding: clamp(22px, 3vw, 28px);
}

.capability-copy h3 {
  font-size: clamp(1.28rem, 2vw, 1.55rem);
}

.capability-copy p {
  margin-bottom: 0;
}

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

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

.carousel {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 54px;
  gap: 18px;
  align-items: center;
}

.icon-button {
  width: 54px;
  height: 54px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease;
}

.project-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(24px, 5vw, 58px);
  min-height: 520px;
  padding: clamp(18px, 4vw, 44px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    #0e2229;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.project-gallery {
  display: grid;
  grid-template-rows: minmax(0, 1fr) 124px;
  gap: 12px;
  min-height: 420px;
}

.project-gallery-single {
  grid-template-rows: 1fr;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.gallery-image {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  background: #f6fbfc;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
  cursor: zoom-in;
}

.gallery-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 220ms ease;
}

.gallery-image:hover img {
  transform: scale(1.025);
}

.gallery-main {
  min-height: 284px;
}

.project-gallery-mobile {
  grid-template-rows: 1fr;
  grid-template-columns: minmax(180px, 260px) minmax(74px, 96px);
  justify-content: center;
  align-items: stretch;
  height: 420px;
  min-height: 0;
  max-height: 420px;
}

.project-gallery-mobile .gallery-thumbs {
  grid-template-columns: 1fr;
  grid-template-rows: repeat(2, 1fr);
  min-height: 0;
}

.project-gallery-mobile .gallery-image {
  min-height: 0;
  background: #071218;
}

.project-gallery-mobile .gallery-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.mock-screen {
  display: grid;
  grid-template-rows: 42px 1fr;
  min-height: 420px;
  overflow: hidden;
  background: #f6fbfc;
  border-radius: var(--radius);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
}

.project-image {
  width: 100%;
  min-height: 420px;
  max-height: 560px;
  object-fit: cover;
  object-position: top center;
  background: #f6fbfc;
  border-radius: var(--radius);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
}

.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 48px);
  background: rgba(7, 18, 24, 0.86);
}

.lightbox img {
  max-width: min(1120px, 94vw);
  max-height: 86vh;
  object-fit: contain;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.mock-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  background: #dcebf0;
}

.mock-top span {
  width: 10px;
  height: 10px;
  background: #86a3ab;
  border-radius: 50%;
}

.mock-body {
  display: grid;
  grid-template-columns: 0.38fr 0.62fr;
  gap: 18px;
  padding: 20px;
  color: var(--ink);
}

.mock-sidebar,
.mock-main,
.mock-panel,
.mock-chart,
.mock-row {
  border-radius: var(--radius);
}

.mock-sidebar {
  background: linear-gradient(180deg, var(--blue), var(--teal));
}

.mock-main {
  display: grid;
  gap: 14px;
}

.mock-panel {
  min-height: 96px;
  background: var(--screen-accent, #dff57a);
}

.mock-chart {
  min-height: 140px;
  background:
    linear-gradient(135deg, transparent 0 50%, rgba(255, 255, 255, 0.7) 50% 54%, transparent 54%),
    #e9f2f4;
}

.mock-row {
  height: 48px;
  background: #dcebf0;
}

.project-copy {
  align-self: center;
}

.project-copy h3 {
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 0.98;
}

.project-copy p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.08rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.tags span {
  padding: 8px 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.carousel-dots button {
  width: 34px;
  height: 8px;
  padding: 0;
  background: rgba(255, 255, 255, 0.22);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.carousel-dots button[aria-current="true"] {
  background: var(--lime);
}

.pause-button {
  position: absolute;
  top: clamp(14px, 3vw, 28px);
  right: clamp(14px, 8vw, 88px);
  z-index: 4;
  min-height: 34px;
  padding: 0 16px;
  color: var(--white);
  background: rgba(7, 18, 24, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}

.carousel:hover .pause-button,
.carousel:focus-within .pause-button,
.carousel.pause-control-visible .pause-button {
  opacity: 1;
  pointer-events: auto;
}

.pause-button[aria-pressed="true"] {
  color: var(--ink);
  background: rgba(185, 239, 47, 0.9);
  border-color: var(--lime);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.65fr);
  gap: clamp(30px, 7vw, 86px);
  background: #ffffff;
}

.contact-copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.12rem;
}

.email-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--blue);
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
  background: #f3faf7;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.google-form-panel {
  padding: 12px;
}

.google-form-panel iframe {
  width: 100%;
  min-height: 690px;
  background: var(--white);
  border: 0;
  border-radius: var(--radius);
}

label {
  display: grid;
  color: #28464e;
  font-size: 0.9rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(7, 18, 24, 0.16);
  border-radius: var(--radius);
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 103, 214, 0.12);
}

.form-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

footer {
  padding: 28px clamp(18px, 6vw, 84px);
  color: rgba(255, 255, 255, 0.7);
  background: var(--ink);
}

footer span:first-child {
  color: var(--white);
  font-weight: 700;
}

footer a {
  color: var(--lime);
}

@media (max-width: 920px) {
  .site-header {
    flex-wrap: wrap;
  }

  .brand {
    min-width: 240px;
  }

  .brand img {
    width: clamp(220px, 38vw, 320px);
  }

  nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }

  .hero,
  .contact,
  .project-card,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .sprint-panel {
    align-self: auto;
  }

  .trust-strip,
  .method-grid,
  .capability-list {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .icon-button {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    background: rgba(7, 18, 24, 0.72);
    transform: translateY(-50%);
  }

  #prevProject {
    left: 8px;
  }

  #nextProject {
    right: 8px;
  }
}

@media (max-width: 620px) {
  .site-header {
    position: static;
  }

  .brand {
    min-width: 186px;
  }

  .brand img {
    width: 186px;
  }

  .nav-action {
    min-height: 38px;
    padding: 0 14px;
    font-size: 0.9rem;
  }

  .icon-button {
    width: 40px;
    height: 40px;
    font-size: 1.65rem;
  }

  nav {
    gap: 18px;
    overflow-x: auto;
  }

  h1 {
    font-size: clamp(2.65rem, 12vw, 3.25rem);
  }

  .hero {
    padding-top: 28px;
    padding-bottom: 30px;
  }

  .sprint-panel {
    display: none;
  }

  .trust-strip,
  .method-grid,
  .capability-list {
    grid-template-columns: 1fr;
  }

  .capability-card {
    min-height: auto;
  }

  .mock-body {
    grid-template-columns: 1fr;
  }

  .mock-sidebar {
    min-height: 70px;
  }

  .mock-screen {
    min-height: 380px;
  }

  .project-gallery {
    grid-template-rows: minmax(260px, 1fr) 100px;
    min-height: 374px;
  }

  .project-gallery-single {
    grid-template-rows: 1fr;
  }

  .project-gallery-mobile {
    grid-template-columns: minmax(160px, 230px) minmax(64px, 84px);
    justify-content: center;
    height: 360px;
    min-height: 0;
    max-height: 360px;
  }

  .project-image {
    min-height: 300px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
