/* Home page */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(86vh, 720px);
  background: var(--brand-strong);
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(9, 32, 40, 0.62) 0%,
    rgba(9, 32, 40, 0.34) 42%,
    rgba(9, 32, 40, 0.86) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 120px 0 34px;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.hero h1 {
  font-size: clamp(32px, 4.5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  max-width: 21ch;
  margin-bottom: 22px;
  font-weight: 650;
}

.hero-lead {
  max-width: 60ch;
  font-size: clamp(15.5px, 1.4vw, 17.5px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.84);
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 54px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-fact span {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(19px, 2vw, 24px);
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 4px;
}

.hero-fact p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

/* domains */

.domain-card {
  position: relative;
  padding-top: 30px;
}

.domain-card h3 a {
  color: inherit;
}

.domain-card h3 a:hover {
  color: var(--brand);
}

/* network split */

.network {
  align-items: start;
}

.network-figure {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}

.network-figure img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.port-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.port-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}

.port-list .port-label {
  flex: 0 0 40%;
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.port-list .port-value {
  color: var(--ink);
}

/* insights teaser */

.post-teaser {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.post-teaser a {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  align-items: baseline;
  gap: 18px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  transition: background-color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.post-teaser a:hover {
  background: var(--brand-soft);
  padding-left: 12px;
  color: var(--brand-strong);
}

.post-teaser .post-date {
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.post-teaser .post-title {
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.45;
}

.post-teaser .post-tag {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

/* terms strip */

.terms-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.terms-strip span {
  display: inline-block;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--ink);
  background: #fff;
}

/* cta with photo */

.photo-split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
}

.photo-split img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.photo-split-body {
  padding: 42px 40px;
  align-self: center;
}

@media (max-width: 980px) {
  .hero {
    min-height: 0;
  }

  .hero-inner {
    padding: 84px 0 28px;
  }

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

  .photo-split {
    grid-template-columns: 1fr;
  }

  .post-teaser a {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 720px) {
  .hero h1 {
    font-size: clamp(28px, 8vw, 38px);
  }

  .hero-actions {
    margin-bottom: 38px;
  }

  .hero-facts {
    gap: 16px;
  }

  .photo-split-body {
    padding: 28px 24px;
  }

}
