:root {
  --ink: #f7faf7;
  --muted: #aab5ad;
  --soft: #dfe7df;
  --charcoal: #080b0d;
  --panel: #101518;
  --panel-2: #151b1c;
  --line: rgba(238, 247, 239, 0.14);
  --line-strong: rgba(238, 247, 239, 0.24);
  --green: #20d399;
  --cyan: #2dd4bf;
  --cream: #f4f0e7;
  --metal: #c6b89f;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--charcoal);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 40px), 1280px);
  height: 72px;
  margin: 18px auto 0;
  padding: 0 10px 0 18px;
  border: 1px solid rgba(244, 240, 231, 0.16);
  border-radius: 8px;
  background: rgba(8, 11, 13, 0.66);
  backdrop-filter: blur(22px);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(8, 11, 13, 0.9);
  border-color: rgba(244, 240, 231, 0.22);
  transform: translateY(-6px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(45, 212, 191, 0.44);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(32, 211, 153, 0.28), rgba(198, 184, 159, 0.1));
  color: var(--ink);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 8px;
  color: rgba(247, 250, 247, 0.78);
  font-size: 0.91rem;
  font-weight: 600;
  transition: background 160ms ease, color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.07);
  color: var(--ink);
  outline: none;
}

.site-nav .nav-cta {
  background: var(--cream);
  color: #111512;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  background: var(--green);
  color: #06100b;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  grid-area: 1 / 1;
  background: currentColor;
  transition: transform 180ms ease;
}

.nav-toggle span:first-child {
  transform: translateY(-4px);
}

.nav-toggle span:last-child {
  transform: translateY(4px);
}

.nav-open .nav-toggle span:first-child {
  transform: rotate(45deg);
}

.nav-open .nav-toggle span:last-child {
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  grid-template-columns: minmax(0, 760px);
  align-items: center;
  padding: 150px max(24px, calc((100vw - var(--max)) / 2)) 86px;
  overflow: hidden;
  isolation: isolate;
}

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

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

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 11, 13, 0.93), rgba(8, 11, 13, 0.52) 43%, rgba(8, 11, 13, 0.08)),
    linear-gradient(0deg, rgba(8, 11, 13, 0.78), rgba(8, 11, 13, 0) 35%);
}

.hero-content {
  width: min(760px, 100%);
  min-width: 0;
  max-width: 100%;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.45;
  text-transform: uppercase;
}

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

h1 {
  max-width: 11ch;
  margin-bottom: 22px;
  font-size: clamp(4.2rem, 14vw, 10.4rem);
  line-height: 0.86;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h2 {
  margin-bottom: 22px;
  color: var(--ink);
  font-size: clamp(2.15rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.14rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.76;
}

.hero-lede {
  max-width: 650px;
  color: rgba(247, 250, 247, 0.84);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.58;
}

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

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

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

.button.primary {
  background: var(--green);
  color: #03100a;
}

.button.secondary {
  border-color: rgba(247, 250, 247, 0.2);
  background: rgba(247, 250, 247, 0.06);
  color: var(--ink);
}

.hero-status {
  position: absolute;
  right: max(24px, calc((100vw - var(--max)) / 2));
  bottom: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(760px, calc(100% - 48px));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 11, 13, 0.7);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-status span {
  min-height: 78px;
  display: flex;
  align-items: center;
  padding: 18px;
  border-right: 1px solid var(--line);
  color: rgba(247, 250, 247, 0.84);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
}

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

.section,
.section-band,
.visual-showcase,
.contact {
  padding: 118px max(24px, calc((100vw - var(--max)) / 2));
}

.section-band {
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-grid,
.split {
  display: grid;
  grid-template-columns: minmax(160px, 0.36fr) minmax(0, 1fr);
  gap: clamp(42px, 8vw, 110px);
}

.split {
  grid-template-columns: minmax(0, 760px);
}

.section-grid h2,
.split h2 {
  max-width: 900px;
}

.section-grid p:not(.section-kicker),
.split p,
.section-heading p {
  max-width: 780px;
}

.section-heading {
  max-width: 930px;
  margin-bottom: 46px;
}

.visual-showcase {
  background: #0a0e10;
}

.image-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  grid-template-rows: repeat(2, minmax(240px, 1fr));
  gap: 18px;
}

.image-tile {
  position: relative;
  min-height: 280px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eef7f3;
}

.image-tile-large {
  grid-row: span 2;
}

.image-tile img,
.card-media img,
.inline-visual img,
.security-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-tile::after,
.inline-visual::after,
.security-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 11, 13, 0.48), rgba(8, 11, 13, 0.02) 56%);
  pointer-events: none;
}

.image-tile figcaption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 1;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.46);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 310px;
  padding: 16px 18px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(247, 250, 247, 0.045), rgba(247, 250, 247, 0.015));
  transition: background 160ms ease, transform 160ms ease;
}

.service-card:hover {
  background: linear-gradient(180deg, rgba(32, 211, 153, 0.1), rgba(247, 250, 247, 0.018));
  transform: translateY(-4px);
}

.card-index {
  display: inline-flex;
  margin: 16px 0 34px;
  color: var(--metal);
  font-size: 0.78rem;
  font-weight: 800;
}

.card-media {
  height: 152px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(244, 240, 231, 0.12);
  border-radius: 8px;
  background: #edf7f3;
}

.card-media img {
  transition: transform 280ms ease, filter 280ms ease;
}

.service-card:hover .card-media img {
  transform: scale(1.05);
  filter: saturate(1.12) contrast(1.04);
}

.method-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.inline-visual {
  position: relative;
  height: clamp(240px, 36vw, 360px);
  margin: 34px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #edf7f3;
}

.method-list li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  align-items: center;
  min-height: 112px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.method-list span {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.method-list strong {
  color: var(--soft);
  font-size: clamp(1.04rem, 2vw, 1.35rem);
  line-height: 1.35;
}

.focus-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.focus-row > div {
  min-height: 236px;
  padding: 30px;
  background: var(--charcoal);
}

.security {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(42px, 8vw, 100px);
  align-items: center;
  overflow: hidden;
}

.security-visual {
  position: relative;
  min-height: 420px;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #edf7f3;
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.32);
}

.statement {
  max-width: 980px;
  margin: 0;
  color: var(--cream);
  font-size: clamp(1.8rem, 4vw, 4.4rem);
  font-weight: 800;
  line-height: 1.02;
  overflow-wrap: anywhere;
}

.about p + p {
  margin-top: 18px;
}

.contact {
  background:
    linear-gradient(90deg, rgba(8, 11, 13, 0.88), rgba(8, 11, 13, 0.56)),
    radial-gradient(circle at 78% 18%, rgba(32, 211, 153, 0.22), transparent 33%),
    #0a0f10;
}

.contact-inner {
  max-width: 920px;
}

.contact h2 {
  max-width: 840px;
}

.mail-link {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35em;
  margin-top: 18px;
  color: var(--green);
  font-size: clamp(1.4rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.mail-link span {
  color: var(--cream);
}

.contact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 44px;
}

.contact-meta span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: rgba(247, 250, 247, 0.78);
  font-size: 0.9rem;
  font-weight: 700;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 28px max(24px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
  color: rgba(247, 250, 247, 0.62);
  font-size: 0.92rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 980px) {
  .site-header {
    width: min(calc(100% - 28px), 1280px);
    height: 66px;
    margin-top: 14px;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    top: 82px;
    left: 14px;
    right: 14px;
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(8, 11, 13, 0.96);
    box-shadow: var(--shadow);
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .nav-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    justify-content: space-between;
    min-height: 50px;
  }

  .hero {
    min-height: 90svh;
    padding-top: 134px;
    padding-bottom: 184px;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(8, 11, 13, 0.94), rgba(8, 11, 13, 0.56) 63%, rgba(8, 11, 13, 0.18)),
      linear-gradient(0deg, rgba(8, 11, 13, 0.82), rgba(8, 11, 13, 0) 44%);
  }

  .hero-status {
    left: 24px;
    right: 24px;
    grid-template-columns: 1fr;
    width: auto;
  }

  .hero-status span {
    min-height: 52px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-status span:last-child {
    border-bottom: 0;
  }

  .section,
  .section-band,
  .visual-showcase,
  .contact {
    padding-top: 86px;
    padding-bottom: 86px;
  }

  .section-grid,
  .split,
  .security {
    grid-template-columns: 1fr;
  }

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

  .card-index {
    margin-bottom: 26px;
  }

  .image-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .image-tile-large {
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .brand {
    font-size: 0.98rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(3.8rem, 22vw, 5.7rem);
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3.3rem);
  }

  .hero-actions {
    display: grid;
  }

  .eyebrow,
  .section-kicker {
    max-width: 100%;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    overflow-wrap: anywhere;
  }

  .button {
    width: 100%;
  }

  .service-grid,
  .focus-row {
    grid-template-columns: 1fr;
  }

  .service-card,
  .focus-row > div {
    min-height: auto;
  }

  .card-media {
    height: 170px;
  }

  .method-list li {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .security-visual {
    min-height: 310px;
  }

  .mail-link {
    font-size: clamp(1.35rem, 8vw, 2.3rem);
  }
}
