:root {
  --ink: #10201f;
  --ink-soft: #4f5f5d;
  --paper: #ffffff;
  --muted: #f3f7f6;
  --line: #dbe5e2;
  --teal: #087c75;
  --teal-dark: #075c58;
  --amber: #e1a33c;
  --blue: #4267a5;
  --coral: #bd5d4a;
  --shadow: 0 20px 50px rgba(15, 32, 31, 0.12);
  --radius: 8px;
  --nav-height: 76px;
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
}

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

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

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(219, 229, 226, 0.85);
  backdrop-filter: blur(16px);
}

.nav-shell {
  width: min(1200px, calc(100% - 40px));
  min-height: var(--nav-height);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--teal);
  color: var(--paper);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  line-height: 1.1;
}

.brand small {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.8rem, 2vw, 1.8rem);
  min-width: 0;
  color: var(--ink-soft);
  font-weight: 650;
}

.nav-links a,
.site-footer a {
  transition: color 180ms ease;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--teal);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  font-weight: 750;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  background: var(--teal-dark);
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--nav-height) - 72px);
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 28, 27, 0.88) 0%, rgba(8, 28, 27, 0.73) 34%, rgba(8, 28, 27, 0.18) 70%),
    url("assets/hero-voip-workstation.png") center right / cover no-repeat;
}

.hero-content {
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
}

.hero-copy {
  width: 100%;
  max-width: 650px;
  color: var(--paper);
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.contact-copy h1,
.contact-copy h2 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(3.5rem, 9vw, 6.9rem);
}

.hero-lede {
  max-width: 590px;
  margin: 1.2rem 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.34rem);
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border: 0;
  border-radius: var(--radius);
  padding: 0.8rem 1.1rem;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.button-primary {
  background: var(--amber);
  color: #1b211c;
  box-shadow: 0 14px 34px rgba(225, 163, 60, 0.28);
}

.button-primary:hover {
  background: #f0b34a;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.13);
  color: var(--paper);
  outline: 1px solid rgba(255, 255, 255, 0.28);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.proof-band {
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.proof-grid div {
  min-height: 118px;
  padding: 1.35rem;
  background: var(--ink);
}

.proof-grid strong,
.proof-grid span {
  display: block;
}

.proof-grid strong {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.1;
}

.proof-grid span {
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
}

.section {
  padding-block: clamp(4.5rem, 8vw, 7.5rem);
}

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

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.align-start {
  align-items: start;
}

.section-heading h2,
.contact-copy h1,
.contact-copy h2 {
  font-size: clamp(2.1rem, 5vw, 4.1rem);
}

.section-heading.centered {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.summary-copy {
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}

.summary-copy p {
  margin: 0;
}

.summary-copy p + p {
  margin-top: 1rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.7rem;
}

.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: 0 12px 28px rgba(16, 32, 31, 0.06);
}

.icon-frame {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: #e6f3f1;
  color: var(--teal);
}

.icon-frame svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card:nth-child(2) .icon-frame {
  background: #edf0f8;
  color: var(--blue);
}

.service-card:nth-child(3) .icon-frame {
  background: #fff3df;
  color: #9f6718;
}

.service-card:nth-child(4) .icon-frame {
  background: #f8ebe8;
  color: var(--coral);
}

.service-card h3,
.competency-list h3,
.timeline h3 {
  margin: 1.1rem 0 0.45rem;
  font-size: 1.1rem;
  line-height: 1.2;
}

.service-card p,
.competency-list p,
.timeline p {
  margin: 0;
  color: var(--ink-soft);
}

.sticky-heading {
  position: sticky;
  top: calc(var(--nav-height) + 1.5rem);
}

.expertise-panel {
  display: grid;
  gap: 1.2rem;
}

.competency-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.competency-list div {
  border-left: 3px solid var(--teal);
  background: var(--paper);
  padding: 0.2rem 0 0.2rem 1rem;
}

.competency-list div:nth-child(2) {
  border-left-color: var(--blue);
}

.competency-list div:nth-child(3) {
  border-left-color: var(--amber);
}

.competency-list div:nth-child(4) {
  border-left-color: var(--coral);
}

.competency-list h3 {
  margin-top: 0;
}

.platform-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
}

.platform-strip span,
.contact-highlights span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.45rem 0.7rem;
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 700;
}

.process-section {
  background: var(--ink);
  color: var(--paper);
}

.process-section .section-heading .eyebrow {
  color: var(--amber);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 2.8rem;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.timeline article {
  min-height: 245px;
  background: #132b2a;
  padding: 1.4rem;
}

.timeline span {
  color: var(--amber);
  font-weight: 850;
}

.timeline h3 {
  color: var(--paper);
}

.timeline p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-section {
  padding-block: clamp(4.5rem, 8vw, 7rem);
  background:
    linear-gradient(135deg, rgba(8, 124, 117, 0.1), rgba(66, 103, 165, 0.08)),
    var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.78fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-copy p:not(.eyebrow) {
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.contact-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.6rem;
}

.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: clamp(1.25rem, 3vw, 1.8rem);
}

.hidden-field {
  display: none;
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

.form-row + .form-row {
  margin-top: 1rem;
}

.form-row label {
  color: var(--ink);
  font-weight: 800;
  font-size: 0.92rem;
}

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

.form-row textarea {
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(8, 124, 117, 0.14);
}

.form-submit {
  width: 100%;
  margin-top: 1.2rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-content {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink-soft);
}

.footer-content p {
  margin: 0;
}

.footer-content a {
  font-weight: 800;
}

@media (max-width: 940px) {
  .nav-shell {
    flex-wrap: wrap;
    padding-block: 0.8rem;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .hero {
    min-height: calc(100svh - 132px);
  }

  .hero-bg {
    background:
      linear-gradient(90deg, rgba(8, 28, 27, 0.9), rgba(8, 28, 27, 0.66)),
      url("assets/hero-voip-workstation.png") center / cover no-repeat;
  }

  .proof-grid,
  .card-grid,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .sticky-heading {
    position: static;
  }
}

@media (max-width: 620px) {
  .container,
  .nav-shell {
    width: min(100% - 28px, 1120px);
  }

  .nav-cta {
    width: 100%;
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 0.98rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-block: 3.2rem 3rem;
  }

  .hero-copy {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  .hero-lede {
    width: min(calc(100vw - 28px), 30ch);
    max-width: min(calc(100vw - 28px), 30ch);
    overflow-wrap: anywhere;
  }

  .hero h1 {
    font-size: clamp(3rem, 18vw, 4.4rem);
  }

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

  .proof-grid,
  .card-grid,
  .competency-list,
  .timeline {
    grid-template-columns: 1fr;
  }

  .proof-grid div,
  .timeline article {
    min-height: auto;
  }

  .section-heading.centered {
    text-align: left;
  }

  .footer-content {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 1.2rem;
  }
}

@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;
  }
}
