:root {
  --ink: #101417;
  --ink-2: #172026;
  --paper: #f4f8f6;
  --white: #ffffff;
  --muted: #5f6b72;
  --line: #d9e2df;
  --teal: #1a8f8a;
  --teal-dark: #0f625f;
  --amber: #d5942f;
  --coral: #c95f4a;
  --shadow: 0 22px 70px rgba(16, 20, 23, 0.16);
  --max: 1180px;
}

* {
  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;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

img,
svg {
  max-width: 100%;
}

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

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 100;
  transform: translateY(-140%);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  padding: 0.7rem 1rem;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: min(calc(100vw - 32px), var(--max));
  margin: 16px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(16, 20, 23, 0.1);
  border-radius: 8px;
  background: rgba(249, 252, 250, 0.9);
  color: var(--ink);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 46px rgba(16, 20, 23, 0.12);
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(16, 20, 23, 0.12);
  box-shadow: 0 18px 50px rgba(16, 20, 23, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: max-content;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
}

.brand-mark img {
  display: block;
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.brand-name {
  font-size: 1rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.82rem;
  color: rgba(16, 20, 23, 0.74);
  font-size: 0.88rem;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding: 0.35rem 0;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
  content: "";
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(16, 20, 23, 0.16);
  border-radius: 8px;
  background: rgba(16, 20, 23, 0.04);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: clamp(720px, 88svh, 940px);
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

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

.hero-media {
  background-image: url("assets/cloud-coding-labs-hero.png");
  background-position: center;
  background-size: cover;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 10, 12, 0.9) 0%, rgba(6, 10, 12, 0.74) 38%, rgba(6, 10, 12, 0.2) 78%),
    linear-gradient(180deg, rgba(6, 10, 12, 0.38) 0%, rgba(6, 10, 12, 0.16) 48%, rgba(6, 10, 12, 0.86) 100%);
}

.hero-content {
  width: min(calc(100vw - 40px), var(--max));
  margin: 0 auto;
  padding: 156px 0 130px;
  align-self: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 1rem;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 650px;
  margin: 0;
  color: var(--white);
  font-size: 4.8rem;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin: 1.35rem 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.22rem;
  line-height: 1.7;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0.82rem 1.08rem;
  font-weight: 800;
  line-height: 1.1;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

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

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

.button-primary:hover,
.button-primary:focus-visible {
  background: #ebb456;
}

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

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.14);
}

.hero-strip {
  position: absolute;
  left: 50%;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(calc(100vw - 40px), var(--max));
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: rgba(8, 14, 17, 0.78);
  backdrop-filter: blur(14px);
}

.hero-strip span,
.hero-strip a {
  min-width: 0;
  padding: 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  font-weight: 800;
  text-align: center;
}

.hero-strip span:last-child,
.hero-strip a:last-child {
  border-right: 0;
}

.hero-strip a {
  transition:
    background-color 160ms ease,
    color 160ms ease;
}

.hero-strip a:hover,
.hero-strip a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.page-hero {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.page-hero-media,
.page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.page-hero-media {
  background-image: url("assets/cloud-coding-labs-hero.png");
  background-position: center;
  background-size: cover;
}

.page-hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 10, 12, 0.92) 0%, rgba(6, 10, 12, 0.74) 48%, rgba(6, 10, 12, 0.26) 100%),
    linear-gradient(180deg, rgba(6, 10, 12, 0.34) 0%, rgba(6, 10, 12, 0.12) 44%, rgba(6, 10, 12, 0.86) 100%);
}

.page-hero-inner {
  width: min(calc(100vw - 40px), var(--max));
  margin: 0 auto;
  padding: 156px 0 88px;
}

.page-hero h1 {
  max-width: 790px;
  margin: 0;
  color: var(--white);
  font-size: clamp(3.15rem, 5.8vw, 3.95rem);
  line-height: 1;
  letter-spacing: 0;
}

.page-hero p:not(.eyebrow) {
  max-width: 710px;
  margin: 1.25rem 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.18rem;
  line-height: 1.7;
}

.section {
  padding: 92px 0;
}

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

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

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

.section-ink {
  background:
    linear-gradient(135deg, rgba(26, 143, 138, 0.1), transparent 42%),
    var(--ink);
  color: var(--white);
}

.section-contact {
  background: #e7f0ed;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.9fr);
  gap: 4rem;
  align-items: start;
}

.detail-copy {
  display: grid;
  gap: 1rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.detail-copy p {
  margin: 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.72fr);
  gap: 3rem;
  align-items: end;
  margin-bottom: 2.2rem;
}

.section-heading.narrow {
  grid-template-columns: minmax(0, 760px);
  max-width: 820px;
}

h2,
h3,
p {
  overflow-wrap: break-word;
}

.section-heading > *,
.split-layout > *,
.contact-layout > *,
.capability-layout > * {
  min-width: 0;
}

h2 {
  margin: 0;
  font-size: 2.55rem;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.headline-piece {
  display: inline;
}

.section-heading p,
.lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.section-ink .lead {
  color: rgba(255, 255, 255, 0.72);
}

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

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

.feature-panel {
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 1.2rem;
  box-shadow: 0 8px 28px rgba(16, 20, 23, 0.05);
}

.feature-panel h3 {
  margin-bottom: 0.75rem;
}

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

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 1.15rem;
  box-shadow: 0 8px 28px rgba(16, 20, 23, 0.05);
}

.service-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 1.05rem;
  border-radius: 8px;
  background: #e1f0ee;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.service-card:nth-child(2) .service-icon {
  background: #fbecd4;
  color: #845a16;
}

.service-card:nth-child(3) .service-icon {
  background: #f7dfd9;
  color: #883d2e;
}

.service-card:nth-child(4) .service-icon {
  background: #dfe8ef;
  color: #294b61;
}

.service-card p {
  margin: 0.75rem 0 1rem;
  color: var(--muted);
}

.service-card ul {
  display: grid;
  gap: 0.42rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #334149;
  font-size: 0.92rem;
}

.service-card li {
  position: relative;
  padding-left: 1rem;
}

.service-card li::before {
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

.service-card-link {
  width: fit-content;
  margin-top: auto;
  padding-top: 1.1rem;
  color: var(--teal-dark);
  font-size: 0.92rem;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: rgba(26, 143, 138, 0.28);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

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

.delivery-list {
  display: grid;
  gap: 0.8rem;
}

.delivery-step {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 1rem;
}

.delivery-step span {
  color: var(--amber);
  font-weight: 900;
}

.delivery-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.capability-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.2rem;
}

.capability-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.4rem;
  background: var(--paper);
}

.accent-panel {
  background: #f7eee7;
  border-color: #edd7cb;
}

.capability-panel h3 {
  margin-bottom: 1rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tag-list span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  border: 1px solid rgba(16, 20, 23, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  padding: 0.35rem 0.68rem;
  color: #2b383f;
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(520px, 0.95fr);
  gap: 3rem;
  align-items: start;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 2rem;
  align-items: center;
}

.cta-band .button {
  min-width: 220px;
}

.contact-copy {
  position: sticky;
  top: 112px;
}

.contact-methods {
  display: grid;
  gap: 0.85rem;
  margin-top: 2rem;
}

.contact-method {
  display: grid;
  gap: 0.25rem;
  border: 1px solid rgba(16, 20, 23, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  padding: 1rem;
  box-shadow: 0 10px 32px rgba(16, 20, 23, 0.06);
}

.contact-method span,
.form-header span {
  color: var(--amber);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.contact-method strong {
  color: var(--ink);
  font-size: 1.03rem;
  line-height: 1.3;
}

.contact-method small {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.contact-form {
  display: grid;
  gap: 1.15rem;
  border: 1px solid rgba(16, 20, 23, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfdfc 100%);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.form-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
}

.form-header h3 {
  margin-top: 0.35rem;
  font-size: 1.45rem;
}

.form-header p {
  max-width: 620px;
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.contact-form label {
  display: grid;
  gap: 0.38rem;
  color: #29343a;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cbd9d5;
  border-radius: 8px;
  background: #fbfdfc;
  color: var(--ink);
  padding: 0.86rem 0.9rem;
  outline: 0;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

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

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(26, 143, 138, 0.16);
}

.form-button {
  width: 100%;
  min-height: 54px;
  cursor: pointer;
}

.form-note {
  min-height: 1.4rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  background:
    linear-gradient(135deg, rgba(26, 143, 138, 0.14), transparent 36%),
    #0c1114;
  color: rgba(255, 255, 255, 0.74);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) repeat(3, minmax(150px, 0.58fr));
  gap: 2.4rem;
  width: min(calc(100vw - 40px), var(--max));
  margin: 0 auto;
  padding: 58px 0 38px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  font-weight: 900;
}

.footer-brand p {
  max-width: 440px;
  margin: 1.1rem 0 1.4rem;
  color: rgba(255, 255, 255, 0.68);
}

.footer-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border: 1px solid rgba(213, 148, 47, 0.42);
  border-radius: 8px;
  background: rgba(213, 148, 47, 0.12);
  color: var(--white);
  padding: 0.65rem 0.85rem;
  font-weight: 900;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 0.62rem;
}

.footer-title {
  margin: 0 0 0.3rem;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--amber);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.footer-column p {
  margin: 0.35rem 0 0;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  width: min(calc(100vw - 40px), var(--max));
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0 26px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.92rem;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 1120px) {
  .site-header {
    width: min(calc(100vw - 24px), var(--max));
    margin-top: 12px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 76px;
    left: 12px;
    right: 12px;
    display: none;
    border: 1px solid rgba(16, 20, 23, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    padding: 1rem;
    box-shadow: 0 18px 50px rgba(16, 20, 23, 0.18);
  }

  body.nav-open .site-nav {
    display: grid;
  }

  .hero-content {
    padding-top: 140px;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

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

  .hero-strip span,
  .hero-strip a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .page-hero h1 {
    font-size: clamp(2.65rem, 7vw, 3.1rem);
  }

  .section-heading,
  .split-layout,
  .contact-layout,
  .service-detail-grid,
  .cta-band {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-copy {
    position: static;
  }

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

  .capability-layout {
    grid-template-columns: 1fr;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .brand-name {
    max-width: 142px;
    line-height: 1.1;
  }

  .hero {
    min-height: clamp(760px, 92svh, 920px);
  }

  .hero-media {
    background-position: 62% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(6, 10, 12, 0.92) 0%, rgba(6, 10, 12, 0.78) 62%, rgba(6, 10, 12, 0.45) 100%),
      linear-gradient(180deg, rgba(6, 10, 12, 0.44) 0%, rgba(6, 10, 12, 0.22) 48%, rgba(6, 10, 12, 0.9) 100%);
  }

  .hero-content {
    width: min(calc(100vw - 28px), var(--max));
    padding: 126px 0 210px;
  }

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

  .page-hero-media {
    background-position: 62% center;
  }

  .page-hero-inner {
    width: min(calc(100vw - 28px), var(--max));
    padding: 126px 0 72px;
  }

  .page-hero h1 {
    font-size: clamp(2.28rem, 11vw, 2.65rem);
    line-height: 1;
  }

  .page-hero p:not(.eyebrow) {
    max-width: 340px;
    font-size: 1.02rem;
  }

  .hero h1 {
    max-width: 360px;
    font-size: 3rem;
    line-height: 1;
  }

  .hero-copy {
    max-width: 330px;
    font-size: 1.02rem;
  }

  .hero-actions {
    display: grid;
    max-width: 310px;
  }

  .hero-strip {
    width: min(calc(100vw - 28px), var(--max));
    grid-template-columns: 1fr;
  }

  .hero-strip span,
  .hero-strip a {
    padding: 0.64rem 0.8rem;
  }

  .section {
    padding: 64px 0;
  }

  .section-inner {
    width: min(calc(100vw - 28px), var(--max));
  }

  h2 {
    font-size: 1.9rem;
  }

  .headline-piece {
    display: block;
  }

  .service-grid,
  .feature-grid,
  .delivery-step {
    grid-template-columns: 1fr;
  }

  .cta-band .button {
    width: 100%;
    min-width: 0;
  }

  .delivery-step {
    gap: 0.3rem;
  }

  .contact-form {
    padding: 0.95rem;
  }

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

  .contact-method {
    padding: 0.95rem;
  }

  .footer-inner {
    width: min(calc(100vw - 28px), var(--max));
    grid-template-columns: 1fr;
    gap: 1.6rem;
    padding-top: 44px;
  }

  .footer-bottom {
    width: min(calc(100vw - 28px), var(--max));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
