:root {
  color-scheme: light;
  --ink: #101615;
  --paper: #f3f7f5;
  --surface: #ffffff;
  --muted: #586966;
  --line: #ccd9d5;
  --teal: #68b7ad;
  --teal-deep: #245f5a;
  --aqua: #b8d8d4;
  --brass: #b78957;
  --charcoal: #02090a;
  --charcoal-soft: #071314;
  --white: #ffffff;
  --shadow: 0 22px 70px rgb(20 20 20 / 16%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgb(2 9 10 / 78%);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgb(184 216 212 / 16%);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 750;
}

.brand-mark {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgb(184 216 212 / 28%);
  background: var(--charcoal);
  box-shadow: 0 0 22px rgb(104 183 173 / 18%);
}

.nav-links {
  gap: clamp(14px, 3vw, 34px);
  color: rgb(255 255 255 / 82%);
  font-size: 0.92rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--white);
}

.hero {
  position: relative;
  display: grid;
  min-height: 90svh;
  overflow: hidden;
  color: var(--white);
  background: var(--charcoal);
}

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

.hero-media {
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.08);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgb(2 9 10 / 96%) 0%, rgb(2 9 10 / 78%) 36%, rgb(2 9 10 / 30%) 62%, rgb(2 9 10 / 74%) 100%),
    radial-gradient(circle at 55% 42%, rgb(184 216 212 / 20%) 0%, rgb(184 216 212 / 0%) 33%),
    linear-gradient(0deg, rgb(2 9 10 / 92%) 0%, rgb(2 9 10 / 0%) 36%);
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(780px, calc(100% - 36px));
  padding: 120px 0 120px clamp(18px, 7vw, 108px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--aqua);
}

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

h1 {
  max-width: 11ch;
  margin-bottom: 20px;
  font-size: clamp(3.6rem, 8.5vw, 7.8rem);
  line-height: 0.96;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 4.8rem);
  line-height: 1;
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.15;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 28px;
  color: rgb(255 255 255 / 86%);
  font-size: clamp(1.05rem, 2vw, 1.34rem);
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 760;
}

.button.primary {
  color: #031110;
  background: var(--teal);
}

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

.button.secondary {
  color: var(--white);
  border-color: rgb(255 255 255 / 35%);
  background: rgb(255 255 255 / 8%);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: rgb(255 255 255 / 72%);
  background: rgb(255 255 255 / 14%);
}

.hero-strip {
  position: absolute;
  z-index: 1;
  right: clamp(18px, 4vw, 56px);
  bottom: 24px;
  left: clamp(18px, 4vw, 56px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 8px;
  background: rgb(16 20 24 / 58%);
  backdrop-filter: blur(14px);
}

.hero-strip span {
  min-width: 0;
  padding: 15px 16px;
  color: rgb(255 255 255 / 84%);
  font-size: clamp(0.78rem, 1.4vw, 0.95rem);
  text-align: center;
  overflow-wrap: anywhere;
  border-right: 1px solid rgb(255 255 255 / 13%);
}

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

.section,
.core-services,
.portal-band,
.contact-band {
  padding: clamp(72px, 10vw, 128px) clamp(18px, 5vw, 72px);
}

.intro,
.approach {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.7fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: start;
}

.intro > p,
.approach p,
.portal-copy p,
.contact-band p {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

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

.services {
  background: var(--surface);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 48px;
}

.service-card {
  min-height: 300px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.service-card:nth-child(1),
.service-card:nth-child(2) {
  grid-column: span 2;
}

.service-card:nth-child(3),
.service-card:nth-child(4) {
  grid-column: span 2;
}

.service-card.wide {
  grid-column: 2 / span 2;
  color: var(--white);
  background: var(--charcoal-soft);
  border-color: var(--charcoal-soft);
}

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

.service-card.wide p {
  color: rgb(255 255 255 / 76%);
}

.service-number {
  display: block;
  margin-bottom: 34px;
  color: var(--brass);
  font-weight: 800;
}

.portal-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 0.7fr);
  gap: clamp(36px, 8vw, 112px);
  overflow: hidden;
  color: var(--white);
  background: var(--charcoal);
}

.portal-band::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgb(2 9 10 / 88%) 0%, rgb(2 9 10 / 68%) 100%),
    url("assets/brand/SylentSystems_logo_linkedin_banner_1584x396.png") center / cover;
  opacity: 0.62;
}

.portal-copy,
.portal-list {
  position: relative;
  z-index: 1;
}

.portal-band .eyebrow {
  color: var(--aqua);
}

.portal-copy p {
  max-width: 680px;
  margin-top: 24px;
  color: rgb(255 255 255 / 74%);
}

.portal-list,
.core-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.portal-list {
  display: grid;
  gap: 10px;
  align-content: start;
}

.portal-list li {
  padding: 14px 16px;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 8px;
  color: rgb(255 255 255 / 86%);
  background: rgb(255 255 255 / 6%);
}

.approach {
  background: var(--paper);
}

.approach-grid {
  display: grid;
  gap: 22px;
}

.core-services {
  background: var(--surface);
}

.core-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 44px;
}

.core-list li {
  min-height: 76px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: #2b2d2a;
  font-weight: 680;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(260px, 0.65fr) auto;
  gap: clamp(22px, 5vw, 66px);
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(135deg, rgb(2 9 10 / 88%), rgb(36 95 90 / 92%)),
    url("assets/brand/SylentSystems_logo_facebook_x_cover_1500x500.jpg") center / cover;
}

.contact-band .eyebrow {
  color: var(--aqua);
}

.contact-band p {
  margin-bottom: 0;
  color: rgb(255 255 255 / 82%);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: rgb(255 255 255 / 76%);
  background: var(--charcoal);
  font-size: 0.95rem;
}

@media (max-width: 980px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 92svh;
  }

  .hero-content {
    padding-top: 166px;
    padding-bottom: 150px;
  }

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

  .hero-strip span:nth-child(2) {
    border-right: 0;
  }

  .hero-strip span:nth-child(-n + 2) {
    border-bottom: 1px solid rgb(255 255 255 / 13%);
  }

  .intro,
  .approach,
  .portal-band,
  .contact-band {
    grid-template-columns: 1fr;
  }

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

  .service-card,
  .service-card:nth-child(1),
  .service-card:nth-child(2),
  .service-card:nth-child(3),
  .service-card:nth-child(4),
  .service-card.wide {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px 18px;
  }

  .hero {
    min-height: 96svh;
  }

  .hero-content {
    width: 100%;
    padding-right: 18px;
  }

  h1 {
    font-size: clamp(3.45rem, 19vw, 5.9rem);
  }

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

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

  .hero-strip span {
    border-right: 1px solid rgb(255 255 255 / 13%);
    border-bottom: 0;
  }

  .hero-strip span:nth-child(even) {
    border-right: 0;
  }

  .hero-strip span:nth-child(-n + 2) {
    border-bottom: 1px solid rgb(255 255 255 / 13%);
  }

  .service-grid,
  .core-list {
    grid-template-columns: 1fr;
  }

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

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