:root {
  --black: #000000;
  --blue: #00b0ff;
  --white: #ffffff;
  --ink: #f4f4f4;
  --body: #c8c8c8;
  --muted: #a3a3a3;
  --line: rgba(255, 255, 255, 0.1);
  --card: #070707;
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --wrap: min(1120px, calc(100% - 2.5rem));
  --nav-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--black);
  color-scheme: dark;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html,
body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  overflow-x: clip;
}

body {
  min-height: 100vh;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.6;
  text-wrap: pretty;
}

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

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

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--white);
  color: var(--black);
  padding: 0.6rem 0.9rem;
  z-index: 80;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--nav-h);
  padding: 0.7rem 1.15rem;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.logo {
  display: flex;
  align-items: center;
  line-height: 0;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.2rem;
  background: transparent;
  border: 0;
  color: var(--white);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 500;
}

.nav-links {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  margin: 0;
  padding: 0.35rem 1.25rem 0.9rem;
  list-style: none;
  background: #000;
  border-bottom: 1px solid var(--line);
}

.nav.is-open .nav-links {
  display: flex;
}

.nav-links a {
  display: block;
  padding: 0.9rem 0;
  text-decoration: none;
  color: #e6e6e6;
  font-size: 1.02rem;
  font-weight: 400;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-links a[aria-current="page"],
.nav-links a[data-status="active"] {
  color: var(--white);
  box-shadow: inset 3px 0 0 var(--blue);
  padding-left: 0.75rem;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: hidden;
  isolation: isolate;
  min-height: 0;
}

.hero-wave {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
  will-change: transform;
}

.hero-globe {
  position: relative;
  z-index: 1;
  width: 100%;
  height: min(62vw, 270px);
  margin: 0.15rem 0 -0.4rem;
  object-fit: cover;
  object-position: center 16%;
  pointer-events: none;
  user-select: none;
  -webkit-mask-image: linear-gradient(transparent 0%, #000 10%, #000 72%, transparent 100%);
  mask-image: linear-gradient(transparent 0%, #000 10%, #000 72%, transparent 100%);
}

.hero-copy {
  order: -1;
  position: relative;
  z-index: 2;
  padding: 1.5rem 0 0.15rem;
}

.hero h1 {
  margin: 0;
  max-width: 11.2em;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 7.8vw, 2.9rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-wrap: balance;
  color: var(--white);
}

.tagline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem 0.85rem;
  margin: 1.35rem 0 0;
  color: #ededed;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 10px var(--blue);
}

.section {
  padding: 4.25rem 0;
}

.section + .section {
  padding-top: 0;
}

.cards {
  display: grid;
  gap: 0.9rem;
}

.card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.45rem 1.3rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: border-color 180ms ease, transform 180ms ease;
}

a.card:hover {
  border-color: rgba(0, 176, 255, 0.55);
}

.card-icon {
  width: 28px;
  height: 28px;
  color: var(--blue);
  margin-bottom: 1.35rem;
}

.card h2,
.card h3 {
  margin: 0 0 0.7rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.65rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
  text-wrap: balance;
}

.card p {
  margin: 0;
  color: var(--body);
  font-size: 1rem;
}

.rule {
  width: 2.25rem;
  height: 2px;
  margin-top: auto;
  padding-top: 1.4rem;
  background: linear-gradient(var(--blue), var(--blue)) bottom left / 2.25rem 2px no-repeat;
}

.split {
  display: grid;
  gap: 1.25rem;
  padding-top: 0.5rem;
}

.kicker {
  margin: 0 0 0.55rem;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h2.display,
.display {
  margin: 0 0 0.85rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.4vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--white);
  text-wrap: balance;
}

.prose p,
.lede {
  margin: 0 0 1rem;
  color: var(--body);
  max-width: 42rem;
}

.lede {
  font-size: 1.125rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 0.35rem;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-underline-offset: 0.28em;
  text-decoration-color: var(--blue);
  text-decoration-thickness: 1px;
}

.text-link:hover {
  color: var(--blue);
}

.sectors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sectors li {
  display: flex;
  align-items: center;
}

.sectors li + li::before {
  content: "";
  width: 3px;
  height: 3px;
  margin: 0 0.8rem;
  border-radius: 50%;
  background: var(--blue);
}

.close-band {
  padding: 1rem 0 4.5rem;
  border-top: 1px solid var(--line);
}

.page-head {
  padding: 3.25rem 0 2rem;
}

.page-head h1 {
  margin: 0 0 1rem;
  max-width: 16em;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.portrait-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.portrait {
  margin: 0;
}

.portrait img {
  width: 100%;
  height: auto;
  background: #f3f1ec;
  border: 1px solid var(--line);
}

.portrait figcaption {
  display: grid;
  gap: 0.15rem;
  padding-top: 0.9rem;
}

.portrait strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.55rem;
  color: var(--white);
}

.portrait span {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.award {
  display: grid;
  justify-items: start;
  gap: 0.4rem;
  margin-top: 1.35rem;
  text-decoration: none;
  color: var(--muted);
}

.award img {
  width: 128px;
  height: auto;
  background: transparent;
  border: 0;
}

.award span {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.social {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1rem;
  color: var(--white);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.social svg {
  width: 18px;
  height: 18px;
}

.social:hover {
  color: var(--blue);
}

.hp {
  position: absolute;
  left: -9999px;
}

.stack {
  display: grid;
  gap: 2.75rem;
}

.service-block h2 {
  margin: 0 0 0.8rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.service-block {
  padding-top: 0.25rem;
  scroll-margin-top: calc(var(--nav-h) + 1rem);
}

.hairline {
  height: 1px;
  margin: 0;
  border: 0;
  background: var(--line);
}

.steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 0.85rem;
  padding: 1.45rem 0;
  border-top: 1px solid var(--line);
}

.steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.step-num {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--blue);
  line-height: 1.2;
}

.steps h2 {
  margin: 0 0 0.35rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}

.steps p {
  margin: 0;
  color: var(--body);
}

.notes {
  display: grid;
  gap: 1rem;
}

.note {
  padding: 1.4rem 0 0.2rem;
  border-top: 1px solid var(--line);
}

.note h2 {
  margin: 0 0 0.65rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.note p {
  margin: 0;
  max-width: 42rem;
  color: var(--body);
}

.form {
  display: grid;
  gap: 0.95rem;
  max-width: 38rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field span {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 0.9rem;
  background: #070707;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 2px;
  color: var(--white);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  outline: 2px solid transparent;
}

.btn {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 0.3rem;
  padding: 0.75rem 1.35rem;
  background: var(--white);
  color: var(--black);
  border: 0;
  border-radius: 2px;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--blue);
}

.form-note,
.confirm {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 38rem;
}

.confirm {
  color: var(--white);
  border-left: 2px solid var(--blue);
  padding-left: 0.9rem;
}

.site-footer {
  padding: 1.6rem 0 2.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

.site-footer p {
  margin: 0.25rem 0;
}

.site-footer a {
  color: #d5d5d5;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--blue);
  text-underline-offset: 0.2em;
}

.fine {
  letter-spacing: 0.04em;
}

@media (min-width: 720px) {
  :root {
    --wrap: min(1120px, calc(100% - 4.5rem));
  }

  .cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .split,
  .portrait-grid {
    grid-template-columns: 0.9fr 1.15fr;
    gap: 3.5rem;
    align-items: start;
  }

  .hero {
    display: block;
    min-height: min(620px, 70vh);
  }

  .hero-copy {
    order: 0;
    padding: 6.5vh 0 5vh;
    max-width: 760px;
  }

  .hero h1 {
    font-size: clamp(3.3rem, 5.2vw, 5.05rem);
    max-width: 9.4em;
  }

  .hero-globe {
    position: absolute;
    width: min(50vw, 640px);
    height: auto;
    object-fit: contain;
    object-position: center;
    right: -6vw;
    top: 46%;
    bottom: auto;
    margin: 0;
    transform: translateY(-50%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 76%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 76%, transparent 100%);
  }
}

@media (min-width: 900px) {
  .nav {
    padding: 0.75rem 2.25rem;
  }

  .logo img {
    height: 48px;
  }

  .nav-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 0.15rem 1.55rem;
    padding: 0;
    background: transparent;
    border: 0;
  }

  .nav-links a {
    padding: 0.45rem 0;
    font-size: 0.95rem;
    border: 0;
  }

  .nav-links a[aria-current="page"],
  .nav-links a[data-status="active"] {
    box-shadow: inset 0 -1.5px 0 var(--blue);
    padding-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .card,
  .btn,
  .text-link {
    transition: none;
  }
}
