:root {
  --bg: #03070b;
  --bg-deep: #010407;
  --panel: #071017;
  --panel-soft: rgba(9, 18, 25, 0.74);
  --line: rgba(137, 174, 218, 0.14);
  --line-strong: rgba(151, 180, 218, 0.36);
  --text: #f1f3f6;
  --muted: #a9b0bc;
  --dim: #6e7681;
  --accent: #84b7ff;
  --accent-strong: #5a9df2;
  --max: 1458px;
  --gutter: clamp(24px, 4.45vw, 72px);
  --header-anchor-shrink: 39px;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg-deep);
  color: var(--text);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg-deep);
  color: var(--text);
  font-family: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px);
  background-position: center top;
  background-size: 76px 76px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 13%, #000 74%, transparent 100%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(3, 7, 11, 0.96) 0%, rgba(3, 7, 11, 0.54) 37%, rgba(3, 7, 11, 0.08) 68%, rgba(3, 7, 11, 0.7) 100%),
    linear-gradient(180deg, rgba(3, 7, 11, 0.5) 0%, rgba(3, 7, 11, 0) 20%, rgba(3, 7, 11, 0.58) 100%);
}

#landscape-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: var(--bg-deep);
}

::selection {
  background: rgba(132, 183, 255, 0.34);
  color: #fff;
}

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

button,
input {
  font: inherit;
  letter-spacing: 0;
}

.page-shell {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
}

.site-header {
  position: sticky;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  align-items: center;
  column-gap: clamp(26px, 2.8vw, 46px);
  width: 100%;
  max-width: none;
  min-height: 98px;
  margin: 0;
  padding: 27px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 20px;
  border-bottom: 1px solid rgba(137, 174, 218, 0.12);
  background: rgba(2, 6, 10, 0.98);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.025);
  transition:
    min-height 220ms ease,
    padding 220ms ease,
    background 220ms ease,
    border-color 220ms ease;
}

body.is-scrolled .site-header {
  min-height: 64px;
  padding-top: 12px;
  padding-bottom: 12px;
  border-bottom-color: rgba(137, 174, 218, 0.22);
  background: rgba(1, 5, 9, 0.99);
}

.brand,
.footer-brand,
.primary-nav,
.hero-actions,
.outline-button,
.header-button,
.case-link,
.contact-form button {
  display: inline-flex;
  align-items: center;
}

.brand,
.footer-brand {
  width: max-content;
  color: rgba(246, 249, 255, 0.96);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  transition: gap 220ms ease, font-size 220ms ease;
}

.brand {
  gap: 16px;
  font-size: 28px;
}

.footer-brand {
  gap: 18px;
  font-size: 20px;
}

.brand-mark {
  display: block;
  width: 55px;
  height: 55px;
  flex: 0 0 auto;
  object-fit: contain;
  transition: width 220ms ease, height 220ms ease;
}

.site-header .brand-mark {
  width: 55px;
  height: 55px;
}

body.is-scrolled .site-header .brand {
  gap: 10px;
  font-size: 18px;
}

body.is-scrolled .site-header .brand-mark {
  width: 34px;
  height: 34px;
}

.primary-nav {
  justify-self: end;
  gap: clamp(28px, 2.8vw, 44px);
  color: rgba(242, 246, 255, 0.86);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  transition: gap 220ms ease, font-size 220ms ease;
}

body.is-scrolled .primary-nav {
  gap: clamp(22px, 2.2vw, 34px);
  font-size: 12px;
}

.primary-nav a,
.footer-columns a,
.case-link,
.header-button,
.outline-button,
.contact-form button {
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease,
    opacity 180ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.footer-columns a:hover,
.footer-columns a:focus-visible,
.case-link:hover,
.case-link:focus-visible {
  color: var(--accent);
  outline: none;
}

.header-button,
.outline-button,
.contact-form button {
  justify-content: center;
  min-height: 58px;
  border: 1px solid var(--line-strong);
  background: rgba(1, 5, 9, 0.34);
  color: #f7f9fc;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.header-button {
  justify-self: end;
  gap: 24px;
  min-width: 188px;
  min-height: 58px;
  padding: 0 26px;
  transition:
    min-height 220ms ease,
    min-width 220ms ease,
    padding 220ms ease,
    gap 220ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    opacity 180ms ease;
}

body.is-scrolled .header-button {
  min-height: 42px;
  min-width: 156px;
  padding: 0 20px;
}

.header-button:hover,
.header-button:focus-visible,
.outline-button:hover,
.outline-button:focus-visible,
.contact-form button:hover,
.contact-form button:focus-visible {
  border-color: rgba(132, 183, 255, 0.75);
  background: rgba(132, 183, 255, 0.08);
  outline: none;
}

.nav-toggle {
  display: none;
}

.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  align-items: center;
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  min-height: 830px;
  margin: 0 auto;
  padding: 116px var(--gutter) 90px;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  min-width: 0;
  padding-top: 104px;
}

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

h1 {
  max-width: 640px;
  margin-bottom: 30px;
  color: var(--text);
  font-size: clamp(50px, 4.1vw, 68px);
  font-weight: 400;
  line-height: 1.05;
}

h1 span {
  display: block;
}

h1 span + span {
  color: var(--accent);
}

.short-rule {
  width: 58px;
  height: 1px;
  margin: 0 0 29px;
  background: var(--accent);
}

.hero-copy p {
  max-width: 425px;
  margin-bottom: 42px;
  color: rgba(226, 231, 239, 0.82);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.66;
}

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

.outline-button {
  gap: 22px;
  min-width: 221px;
  padding: 0 27px;
}

.outline-button:hover,
.outline-button:focus-visible,
.header-button:hover,
.header-button:focus-visible,
.case-link:hover,
.case-link:focus-visible,
.contact-form button:hover,
.contact-form button:focus-visible {
  transform: translateX(2px);
}

.eyebrow,
.footer-columns h2 {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.7;
  text-transform: uppercase;
}

.services-section {
  display: grid;
  grid-template-columns: minmax(300px, 370px) 1fr;
  gap: clamp(62px, 5vw, 70px);
  width: calc(100% - var(--gutter) * 2);
  max-width: var(--max);
  margin: 0 auto;
  padding: 76px 0 54px;
  scroll-margin-top: clamp(180px, calc(50vh - 46px), 390px);
}

.eyebrow {
  margin: 0 0 31px;
}

.section-heading h2,
.case-copy h2,
.contact-section h2 {
  color: var(--text);
  font-weight: 400;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(38px, 3vw, 48px);
  line-height: 1.16;
}

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

.service-card {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  align-items: start;
  min-height: 331px;
  padding: 31px 29px 28px;
  border: 1px solid rgba(142, 159, 181, 0.13);
  background:
    linear-gradient(145deg, rgba(15, 27, 38, 0.78), rgba(5, 11, 17, 0.86)),
    var(--panel-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.service-card:hover,
.service-card:focus-within,
.service-card:focus-visible {
  border-color: rgba(132, 183, 255, 0.34);
  background:
    linear-gradient(145deg, rgba(17, 31, 43, 0.94), rgba(7, 15, 22, 0.96)),
    var(--panel);
  transform: translateY(-3px);
}

.service-card:focus-visible {
  outline: 2px solid rgba(132, 183, 255, 0.72);
  outline-offset: 4px;
}

.service-icon {
  display: block;
  width: 48px;
  height: 48px;
  margin-bottom: 27px;
}

.service-card h3 {
  min-height: 58px;
  margin: 0 0 19px;
  color: rgba(248, 250, 255, 0.98);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.15;
}

.service-card p {
  margin: 0;
  color: rgba(218, 225, 235, 0.78);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
}

.service-card-arrow {
  align-self: end;
  margin-top: 28px;
  color: var(--accent);
  font-size: 20px;
  line-height: 1;
}

.case-section {
  display: grid;
  grid-template-columns: minmax(440px, 1.05fr) minmax(350px, 0.95fr);
  align-items: center;
  gap: 81px;
  width: calc(100% - var(--gutter) * 2);
  max-width: var(--max);
  margin: 0 auto;
  padding: 45px 0 81px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.case-copy {
  grid-column: 1;
  justify-self: start;
  max-width: 660px;
  padding-top: 12px;
}

.case-copy .eyebrow {
  margin-bottom: 30px;
}

.case-copy h2 {
  max-width: 640px;
  margin: 0 0 38px;
  font-size: clamp(35px, 3.15vw, 48px);
  line-height: 1.15;
}

.case-copy p {
  max-width: 525px;
  margin: 0 0 45px;
  color: rgba(224, 229, 237, 0.78);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
}

.case-copy p + p {
  margin-top: -25px;
}

.case-link {
  gap: 27px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(480px, 1.18fr);
  gap: 86px;
  width: calc(100% - var(--gutter) * 2);
  max-width: var(--max);
  margin: 0 auto;
  padding: 70px 0 78px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  scroll-margin-top: 116px;
}

.about-copy {
  max-width: 600px;
}

.about-copy h2 {
  margin: 0 0 34px;
  color: var(--text);
  font-size: clamp(36px, 3.15vw, 52px);
  font-weight: 400;
  line-height: 1.1;
}

.about-copy p {
  max-width: 520px;
  margin: 0;
  color: rgba(224, 229, 237, 0.8);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.72;
}

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

.about-points {
  display: grid;
  align-content: start;
  border-top: 1px solid rgba(142, 159, 181, 0.18);
}

.about-point {
  display: grid;
  grid-template-columns: minmax(150px, 0.42fr) 1fr;
  gap: 34px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(142, 159, 181, 0.18);
}

.about-point h3 {
  margin: 0;
  color: rgba(248, 250, 255, 0.96);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
}

.about-point p {
  max-width: 520px;
  margin: 0;
  color: rgba(218, 225, 235, 0.72);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
}

.contact-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(330px, 0.78fr) minmax(660px, 1fr);
  align-items: center;
  gap: 58px;
  min-height: 205px;
  padding: 42px var(--gutter);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  background: rgba(5, 12, 17, 0.74);
}

.contact-section h2,
.contact-form,
.form-status {
  position: relative;
  z-index: 1;
}

.contact-section h2 {
  width: min(100%, 650px);
  margin: 0 auto 0 0;
  color: rgba(248, 250, 255, 0.94);
  font-size: clamp(30px, 2.7vw, 44px);
  line-height: 1.16;
}

.contact-section h2 span {
  color: var(--accent);
}

.detail-hero,
.detail-section {
  width: calc(100% - var(--gutter) * 2);
  max-width: var(--max);
  margin: 0 auto;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.62fr);
  grid-template-rows: auto 1fr;
  align-items: end;
  gap: 0 clamp(52px, 6vw, 118px);
  min-height: 640px;
  padding: 42px 0 86px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-back-link {
  display: inline-flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-self: start;
  gap: 27px;
  margin-bottom: clamp(48px, 6vw, 74px);
  color: rgba(211, 218, 229, 0.66);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  transition:
    color 180ms ease,
    transform 180ms ease,
    opacity 180ms ease;
}

.page-back-link:hover,
.page-back-link:focus-visible {
  color: rgba(242, 246, 255, 0.9);
  outline: none;
  transform: translateX(-2px);
}

.detail-hero-copy {
  max-width: 820px;
}

.detail-hero h1 {
  max-width: 780px;
  margin-bottom: 30px;
  font-size: clamp(46px, 5.2vw, 82px);
  line-height: 1.02;
}

.detail-hero-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin: 0 0 42px;
  color: rgba(226, 231, 239, 0.82);
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.65;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.detail-hero .outline-button {
  width: max-content;
}

.detail-hero-panel {
  display: grid;
  gap: 0;
  align-self: end;
  border-top: 1px solid rgba(142, 159, 181, 0.24);
}

.detail-hero-panel span {
  display: block;
  padding: 21px 0;
  border-bottom: 1px solid rgba(142, 159, 181, 0.18);
  color: rgba(232, 238, 247, 0.78);
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.35;
}

.detail-section {
  padding: 82px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.detail-section h2 {
  max-width: 760px;
  margin: 0 0 36px;
  color: var(--text);
  font-size: clamp(34px, 3.4vw, 56px);
  font-weight: 400;
  line-height: 1.08;
}

.detail-intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.58fr) minmax(440px, 1fr);
  gap: clamp(48px, 6vw, 108px);
}

.detail-intro h2 {
  margin-bottom: 0;
}

.detail-prose {
  max-width: 760px;
}

.detail-prose p,
.nablance-scope > div > p,
.fit-columns p {
  margin: 0;
  color: rgba(224, 229, 237, 0.78);
  font-size: 17px;
  line-height: 1.78;
}

.detail-prose p + p {
  margin-top: 24px;
}

.possibility-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(142, 159, 181, 0.22);
  border-left: 1px solid rgba(142, 159, 181, 0.14);
}

.possibility-grid article {
  min-height: 235px;
  padding: 30px 29px 32px;
  border-right: 1px solid rgba(142, 159, 181, 0.14);
  border-bottom: 1px solid rgba(142, 159, 181, 0.18);
  background: linear-gradient(145deg, rgba(15, 27, 38, 0.44), rgba(5, 11, 17, 0.46));
}

.possibility-grid h3,
.scope-list h3 {
  margin: 0 0 15px;
  color: rgba(248, 250, 255, 0.96);
  font-size: clamp(20px, 1.55vw, 25px);
  font-weight: 400;
  line-height: 1.18;
}

.possibility-grid p,
.scope-list p {
  margin: 0;
  color: rgba(218, 225, 235, 0.72);
  font-size: 15px;
  line-height: 1.72;
}

.nablance-scope {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(540px, 1fr);
  gap: clamp(54px, 6vw, 100px);
  align-items: start;
}

.nablance-scope > div:first-child {
  position: sticky;
  top: 118px;
}

.nablance-scope > div > p {
  max-width: 560px;
}

.scope-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.scope-list article {
  min-height: 196px;
  padding: 29px 29px 30px;
  border: 1px solid rgba(142, 159, 181, 0.16);
  background:
    linear-gradient(145deg, rgba(15, 27, 38, 0.68), rgba(5, 11, 17, 0.74)),
    var(--panel-soft);
}

.detail-fit {
  display: grid;
  grid-template-columns: minmax(280px, 0.48fr) minmax(520px, 1fr);
  gap: clamp(48px, 6vw, 108px);
}

.detail-fit h2 {
  margin-bottom: 0;
}

.fit-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px;
}

.contact-form {
  display: grid;
  grid-template-columns: minmax(190px, 0.8fr) minmax(260px, 1fr) 174px;
  gap: 16px;
  align-items: stretch;
  width: min(100%, 780px);
  justify-self: end;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 58px;
  padding: 0 22px;
  border: 1px solid rgba(142, 159, 181, 0.22);
  border-radius: 0;
  background: rgba(5, 10, 15, 0.52);
  color: var(--text);
  font: inherit;
  outline: none;
}

.contact-form textarea {
  padding-top: 18px;
  resize: none;
}

.contact-form .botcheck {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(216, 222, 232, 0.56);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(132, 183, 255, 0.62);
}

.contact-form button {
  gap: 18px;
  min-height: 58px;
  padding: 0 20px;
  cursor: pointer;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.form-status {
  position: absolute;
  right: var(--gutter);
  bottom: 12px;
  margin: 0;
  color: var(--accent);
  font-size: clamp(15px, 1.18vw, 18px);
  font-weight: 520;
  line-height: 1.25;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(230px, 0.7fr) minmax(400px, 0.9fr) minmax(300px, 0.72fr);
  gap: 65px;
  width: 100%;
  max-width: none;
  min-height: 184px;
  margin: 0;
  padding: 38px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 42px;
  border-top: 1px solid rgba(137, 174, 218, 0.14);
  background: #02060a;
}

.footer-brand {
  align-self: center;
  font-size: 19px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 42px;
}

.footer-columns h2 {
  margin: 0 0 16px;
  color: rgba(160, 171, 185, 0.76);
  font-size: 11px;
  line-height: 1;
}

.footer-columns a {
  display: block;
  margin: 0 0 10px;
  color: rgba(211, 218, 229, 0.64);
  font-size: 13px;
  font-weight: 400;
}

.footer-meta {
  display: grid;
  gap: 24px;
  justify-items: start;
  align-content: start;
  color: rgba(212, 219, 229, 0.68);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.65;
}

.footer-meta p,
.footer-meta address {
  margin: 0;
}

.footer-meta address {
  font-style: normal;
}

.footer-meta a {
  color: rgba(211, 218, 229, 0.72);
  transition: color 180ms ease;
}

.footer-meta a:hover,
.footer-meta a:focus-visible {
  color: var(--accent);
  outline: none;
}

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

@media (min-width: 1800px) {
  :root {
    --max: 2100px;
    --gutter: clamp(72px, 4.5vw, 96px);
  }

  .site-header,
  .site-footer {
    padding-right: max(var(--gutter), calc((100vw - var(--max)) / 2));
    padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2));
  }

  .hero-section {
    grid-template-columns: minmax(0, 0.68fr) minmax(0, 1.12fr);
  }

  .services-section {
    grid-template-columns: minmax(320px, 410px) 1fr;
    gap: clamp(76px, 5vw, 96px);
  }

  .service-grid {
    gap: clamp(23px, 1.6vw, 34px);
  }

  .service-card {
    padding: 36px 34px 32px;
  }

  .case-section {
    grid-template-columns: minmax(560px, 0.9fr) minmax(540px, 1.1fr);
    gap: clamp(92px, 7vw, 140px);
  }

  .case-copy p {
    max-width: 590px;
  }

  .about-section {
    grid-template-columns: minmax(460px, 0.86fr) minmax(680px, 1.14fr);
    gap: clamp(96px, 7vw, 150px);
  }

  .about-copy {
    max-width: 660px;
  }

  .about-point p {
    max-width: 620px;
  }

  .contact-section {
    grid-template-columns: minmax(540px, 0.9fr) minmax(820px, 1.1fr);
    gap: clamp(64px, 5vw, 96px);
  }

  .contact-section h2 {
    width: min(100%, 760px);
  }

  .contact-form {
    grid-template-columns: minmax(230px, 0.78fr) minmax(340px, 1fr) 190px;
    width: min(100%, 900px);
  }
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 18px;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: auto;
    left: var(--gutter);
    z-index: 22;
    display: grid;
    grid-auto-flow: row;
    width: min(270px, calc(100vw - var(--gutter) * 2));
    padding: 20px;
    border: 1px solid var(--line-strong);
    background: rgba(3, 7, 11, 0.96);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    clip-path: inset(0 0 100% 0);
    transform: translateY(-10px) scale(0.94);
    transform-origin: 20px -12px;
    transition:
      opacity 180ms ease,
      visibility 0s linear 220ms,
      clip-path 260ms cubic-bezier(0.2, 0.8, 0.2, 1),
      transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1),
      box-shadow 260ms ease;
  }

  .primary-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    clip-path: inset(0 0 0 0);
    transform: translateY(0) scale(1);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
    transition-delay: 0s;
  }

  .primary-nav a {
    --item-delay: 0ms;
    opacity: 0;
    transform: translateY(-7px);
    transition:
      color 180ms ease,
      opacity 220ms ease var(--item-delay),
      transform 220ms ease var(--item-delay);
  }

  .primary-nav.is-open a {
    opacity: 1;
    transform: translateY(0);
  }

  .primary-nav.is-open a:nth-child(1) {
    --item-delay: 70ms;
  }

  .primary-nav.is-open a:nth-child(2) {
    --item-delay: 105ms;
  }

  .nav-toggle {
    position: relative;
    z-index: 23;
    display: inline-grid;
    width: 40px;
    height: 34px;
    align-content: center;
    justify-items: center;
    row-gap: 5px;
    border: 1px solid rgba(142, 159, 181, 0.24);
    background: transparent;
    color: var(--text);
    cursor: pointer;
    transition:
      border-color 180ms ease,
      background 180ms ease,
      box-shadow 220ms ease,
      transform 180ms ease;
  }

  .nav-toggle::after {
    position: absolute;
    top: calc(100% + 1px);
    left: 50%;
    width: 1px;
    height: 0;
    content: "";
    background: linear-gradient(to bottom, rgba(132, 183, 255, 0.8), rgba(132, 183, 255, 0));
    opacity: 0;
    transform: translateX(-50%);
    transition: height 240ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 160ms ease;
  }

  .nav-toggle:hover,
  .nav-toggle:focus-visible,
  .nav-toggle[aria-expanded="true"] {
    border-color: rgba(132, 183, 255, 0.58);
    background: rgba(132, 183, 255, 0.05);
    box-shadow: 0 0 22px rgba(80, 151, 232, 0.12);
    outline: none;
  }

  .nav-toggle[aria-expanded="true"]::after {
    height: 24px;
    opacity: 1;
  }

  .nav-toggle-line {
    display: block;
    width: 17px;
    height: 1px;
    background: currentColor;
    transform-origin: center;
    transition:
      width 180ms ease,
      transform 180ms ease,
      opacity 180ms ease,
      background 180ms ease;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-line {
    background: rgba(132, 183, 255, 0.98);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: translateY(1px);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    width: 21px;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
    transform: translateY(-1px);
  }

  .header-button {
    min-width: 156px;
  }

  .hero-section {
    grid-template-columns: 1fr;
    min-height: 780px;
  }

  .hero-copy {
    padding-top: 110px;
  }

  .services-section,
  .case-section,
  .about-section,
  .contact-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .services-section,
  .case-section,
  .about-section,
  .detail-hero,
  .detail-intro,
  .nablance-scope,
  .detail-fit {
    gap: 42px;
  }

  .detail-hero,
  .detail-intro,
  .nablance-scope,
  .detail-fit {
    grid-template-columns: 1fr;
  }

  .detail-hero {
    min-height: auto;
    padding-top: 34px;
    row-gap: 0;
  }

  .page-back-link {
    margin-bottom: 52px;
  }

  .detail-hero-panel {
    max-width: 640px;
  }

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

  .nablance-scope > div:first-child {
    position: static;
  }

  .fit-columns {
    max-width: 840px;
  }

  .case-copy {
    grid-column: auto;
    justify-self: start;
  }

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

  .contact-form {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: 22px;
    --header-anchor-shrink: 18px;
  }

  .site-header {
    min-height: 82px;
    padding-top: 18px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 14px;
  }

  .brand {
    gap: 9px;
    font-size: 18px;
  }

  .footer-brand {
    gap: 12px;
    font-size: 15px;
  }

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

  .footer-brand .brand-mark {
    width: 30px;
    height: 30px;
  }

  .header-button {
    display: inline-flex;
    min-width: clamp(116px, 22vw, 136px);
    min-height: 38px;
    padding: 0 clamp(10px, 2vw, 14px);
    gap: 10px;
    font-size: 11px;
  }

  body.is-scrolled .header-button {
    min-width: clamp(116px, 22vw, 136px);
    min-height: 38px;
    padding: 0 clamp(10px, 2vw, 14px);
    gap: 10px;
    font-size: 11px;
  }

  .hero-section {
    min-height: 690px;
    padding-top: 88px;
  }

  .hero-copy {
    padding-top: 96px;
  }

  h1 {
    font-size: clamp(45px, 12.5vw, 62px);
  }

  .hero-copy p {
    max-width: 340px;
    font-size: 17px;
  }

  .hero-actions {
    gap: 22px;
  }

  .services-section {
    padding-top: 52px;
    scroll-margin-top: clamp(140px, calc(50vh - 34px), 300px);
  }

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

  .case-section {
    grid-template-columns: 1fr;
    padding-bottom: 54px;
  }

  .detail-hero {
    padding-top: 28px;
    padding-bottom: 58px;
    row-gap: 0;
  }

  .page-back-link {
    gap: 22px;
    margin-bottom: 40px;
    font-size: 13px;
  }

  .detail-hero h1 {
    font-size: clamp(42px, 11vw, 58px);
  }

  .detail-hero-copy > p:not(.eyebrow) {
    max-width: 560px;
    font-size: 17px;
  }

  .detail-actions {
    gap: 13px;
  }

  .detail-actions .outline-button {
    min-height: 56px;
  }

  .detail-section {
    padding: 58px 0;
  }

  .detail-section h2 {
    font-size: clamp(32px, 9vw, 44px);
  }

  .possibility-grid,
  .scope-list,
  .fit-columns {
    grid-template-columns: 1fr;
  }

  .possibility-grid article,
  .scope-list article {
    min-height: auto;
    padding: 25px 23px 26px;
  }

  .about-section {
    padding-top: 54px;
    padding-bottom: 58px;
    scroll-margin-top: 96px;
  }

  .about-point {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 22px 0;
  }

  .contact-section {
    gap: 26px;
    padding-top: 34px;
    padding-bottom: 58px;
  }

  .contact-form {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contact-form button {
    width: 100%;
  }

  .form-status {
    right: auto;
    left: var(--gutter);
  }

  .site-footer {
    gap: 32px;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 480px) {
  .site-header {
    gap: 10px;
  }

  .brand {
    gap: 8px;
    font-size: 16px;
  }

  .site-header .brand-mark,
  body.is-scrolled .site-header .brand-mark {
    width: 30px;
    height: 30px;
  }

  .header-button,
  body.is-scrolled .header-button {
    min-width: 104px;
    min-height: 34px;
    padding: 0 10px;
    gap: 8px;
    font-size: 10px;
  }
}

@media (max-width: 340px) {
  .header-button {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .primary-nav,
  .primary-nav a,
  .nav-toggle,
  .nav-toggle::after,
  .nav-toggle-line {
    transition: none;
  }
}
