:root {
  color-scheme: dark;
  --ink: #f7fbff;
  --muted: #aebdcc;
  --line: rgba(247, 251, 255, 0.18);
  --line-strong: rgba(247, 251, 255, 0.34);
  --deep: #05111a;
  --basalt: #0e1519;
  --teal: #44b7c8;
  --amber: #ffb545;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--deep);
}

body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  background: var(--deep);
  color: var(--ink);
}

a {
  color: inherit;
}

.hero {
  position: relative;
  min-height: 86svh;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}

.hero__media,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__media {
  z-index: -2;
  background-image: url("assets/breakline-hero.jpg");
  background-position: center right;
  background-size: cover;
  transform: scale(1.01);
}

.hero__shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 13, 20, 0.94) 0%, rgba(3, 13, 20, 0.78) 34%, rgba(3, 13, 20, 0.18) 72%),
    linear-gradient(180deg, rgba(3, 13, 20, 0.20) 0%, rgba(3, 13, 20, 0.48) 100%);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background-image:
    linear-gradient(rgba(247, 251, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 251, 255, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.55), transparent 74%);
}

.hero__content {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(72px, 12svh, 132px) 0 56px;
}

.eyebrow,
.section-label {
  margin: 0;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 22px 0 0;
  font-size: clamp(3.2rem, 8.2vw, 7.6rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-wrap: balance;
}

.lede {
  max-width: 560px;
  margin: 28px 0 0;
  color: #dce9f3;
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  line-height: 1.4;
}

.details {
  position: relative;
  background:
    radial-gradient(circle at 88% 20%, rgba(68, 183, 200, 0.16), transparent 31rem),
    linear-gradient(135deg, #07131b 0%, var(--basalt) 52%, #13120e 100%);
}

.details::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 1px 100%, 100% 1px;
  opacity: 0.34;
}

.details__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(160px, 0.5fr) minmax(0, 1.2fr);
  gap: clamp(28px, 6vw, 88px);
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(54px, 9vw, 108px) 0;
}

.statement {
  max-width: 760px;
  margin: 0;
  color: #edf5fb;
  font-size: clamp(1.45rem, 3vw, 3rem);
  font-weight: 650;
  line-height: 1.12;
  text-wrap: balance;
}

.contact {
  grid-column: 2;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
  padding: 15px 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 650;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
}

.contact span {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.contact:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 8px;
}

@media (max-width: 720px) {
  .hero {
    min-height: 82svh;
  }

  .hero__media {
    background-position: 61% center;
  }

  .hero__shade {
    background:
      linear-gradient(90deg, rgba(3, 13, 20, 0.96) 0%, rgba(3, 13, 20, 0.76) 68%, rgba(3, 13, 20, 0.44) 100%),
      linear-gradient(180deg, rgba(3, 13, 20, 0.20) 0%, rgba(3, 13, 20, 0.66) 100%);
  }

  .hero__content {
    width: min(100% - 32px, 1180px);
    padding-top: 80px;
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(3rem, 16vw, 4.8rem);
  }

  .lede {
    max-width: 22rem;
  }

  .details__inner {
    grid-template-columns: 1fr;
    width: min(100% - 32px, 1180px);
    gap: 18px;
  }

  .contact {
    grid-column: 1;
    flex-wrap: wrap;
  }
}
