.mast {
  position: relative;
  z-index: 3;
  color: var(--ink);
  background: #090d15;
  border-bottom: 1px solid #273142;
}

.mast-body {
  display: flex;
  min-height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand,
.site-nav,
.site-nav a,
.brand-mark {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: .68rem;
  color: var(--ink);
  text-decoration: none;
  font: 660 1.16rem/1 "Inter", sans-serif;
  letter-spacing: -.065em;
  white-space: nowrap;
}

.brand-mark {
  width: 1.53rem;
  height: 1.7rem;
  justify-content: space-between;
  color: #6993ff;
  transform: skewX(-8deg);
}

.brand-mark i {
  display: block;
  width: 2.7px;
  background: currentColor;
  border-radius: 2px;
}

.brand-mark i:nth-child(1) { height: 31%; }
.brand-mark i:nth-child(2) { height: 62%; }
.brand-mark i:nth-child(3) { height: 100%; }
.brand-mark i:nth-child(4) { height: 76%; }
.brand-mark i:nth-child(5) { height: 42%; }

.site-nav { gap: clamp(1.45rem, 3.1vw, 3.25rem); }

.site-nav a {
  min-height: 2.75rem;
  color: #c5cede;
  font: 480 .91rem/1.2 "Inter", sans-serif;
  text-decoration: none;
  transition: color .18s, border-color .18s, background .18s;
}

.site-nav a:hover,
.site-nav a:focus-visible { color: #fff; }

.site-nav .nav-contact {
  min-height: 2.32rem;
  padding-inline: 1.08rem;
  border: 1px solid #39445a;
  border-radius: 100px;
  color: #e8edfa;
}

.site-nav .nav-contact:hover,
.site-nav .nav-contact:focus-visible {
  background: #192139;
  border-color: #7e95c4;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--ink);
  background: #080b12;
  border-bottom: 1px solid #253044;
}

.hero-photo {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  width: 67%;
  overflow: hidden;
  background: linear-gradient(123deg, #1a2447 0%, #1d3b86 49%, #102858 100%);
}

.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 55% 37%;
  filter: grayscale(1) brightness(1.48) contrast(1.04);
  mix-blend-mode: luminosity;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(4, 8, 18, .71), transparent 24%, transparent 82%, rgba(6, 11, 24, .17)),
    linear-gradient(90deg, #080b12 0%, rgba(8, 11, 18, .96) 7%, rgba(8, 11, 18, .71) 25%, rgba(8, 11, 18, .19) 45%, transparent 63%);
}

.hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(32.5rem, 41.5vw, 37.5rem);
  padding-block: clamp(4rem, 6vw, 6.5rem);
}

.hero-copy {
  position: relative;
  width: min(56%, 48rem);
}

.hero-role {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin: 0 0 1.35rem;
  color: #b6caff;
  font: 570 .79rem/1.4 "Inter", sans-serif;
  letter-spacing: .155em;
  text-transform: uppercase;
}

.hero-role > span {
  display: inline-block;
  flex: none;
  width: 2.3rem;
  height: 2px;
  background: #688fff;
}

.hero h1 {
  margin: 0 0 1.5rem -.063em;
  color: #f5f6ff;
  font: 660 clamp(4.8rem, 8.85vw, 9.2rem)/.91 "Inter", Arial, sans-serif;
  letter-spacing: -.068em;
  white-space: nowrap;
}

.hero h1 em {
  display: inline-block;
  margin-left: .01em;
  color: #8eacff;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.16em;
  font-weight: 400;
  letter-spacing: -.072em;
}

.hero-motto {
  max-width: 28.5rem;
  margin: 0;
  color: #e2e8fa;
  font: italic 400 clamp(1.8rem, 2.55vw, 2.78rem)/1.14 "Instrument Serif", Georgia, serif;
  letter-spacing: -.013em;
  text-wrap: balance;
}

.hero-motto em {
  color: #b7caff;
  font-style: normal;
}

.pitch-motto {
  font: italic 400 clamp(1.4rem, 2.15vw, 1.87rem)/1.25 "Instrument Serif", Georgia, serif;
  color: #dce6ff;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: clamp(1.8rem, 3vw, 2.6rem);
}

.photo-caption {
  position: absolute;
  bottom: 1.35rem;
  right: 0;
  display: inline-flex;
  align-items: center;
  gap: .58rem;
  margin: 0;
  color: #cfdaee;
  font: 450 .76rem/1.4 "Inter", sans-serif;
  letter-spacing: .035em;
  text-shadow: 0 1px 6px #050813;
}

.photo-caption::before {
  content: "";
  display: block;
  height: 1px;
  width: 1.45rem;
  background: currentColor;
}

@media (min-width: 1600px) {
  .hero-photo { width: calc(50% + 230px); }
  .hero-photo img { object-position: center 36%; }
}

@media (min-width: 621px) and (max-width: 900px) {
  .hero-inner { min-height: 29.5rem; }
  .hero-copy { width: 60%; }
  .hero-photo { width: 65%; }
  .hero-motto { max-width: 21rem; }
  .hero-actions { gap: .55rem; }
}

@media (max-width: 620px) {
  .mast-body { min-height: 3.95rem; gap: 1rem; }
  .brand { font-size: 1.06rem; gap: .5rem; }
  .brand-mark { width: 1.14rem; height: 1.4rem; }
  .brand-mark i { width: 2px; }
  .site-nav { gap: clamp(.83rem, 3.1vw, 1.25rem); }
  .site-nav a { font-size: .86rem; }
  .site-nav .nav-contact { min-height: 2.12rem; padding-inline: .75rem; }

  .hero-photo {
    width: 100%;
    height: min(66%, 23.5rem);
    inset: 0 0 auto;
  }

  .hero-photo img { object-position: 55% 66%; }

  .hero-photo::after {
    background:
      linear-gradient(0deg, #080b12 0%, rgba(8, 11, 18, .90) 9%, rgba(8, 11, 18, .52) 26%, transparent 52%),
      linear-gradient(90deg, rgba(8, 11, 18, .22), transparent 60%);
  }

  .hero-inner {
    min-height: clamp(32.75rem, 118vw, 37.4rem);
    align-items: flex-end;
    padding-block: clamp(12.5rem, 54vw, 15rem) 2.6rem;
  }

  .hero-copy { width: 100%; }
  .hero-role { margin: 0 0 .85rem; gap: .58rem; font-size: .71rem; letter-spacing: .13em; }
  .hero-role > span { width: 1.55rem; }
  .hero h1 { font-size: clamp(4.4rem, 16.15vw, 6.15rem); margin-bottom: 1.05rem; }
  .hero-motto { max-width: 23rem; font-size: clamp(1.65rem, 6.5vw, 2.05rem); }
  .hero-actions { margin-top: 1.45rem; gap: .55rem; }
  .hero-actions .btn {padding-inline: .88rem; font-size: .85rem;}
  .photo-caption { display: none; }
}

@media (max-width: 350px) {
  .mast-body { gap: .4rem; }
  .brand { font-size: .95rem; }
  .site-nav { gap: .6rem; }
  .site-nav a { font-size: .8rem; }
  .site-nav .nav-contact { padding-inline: .55rem; }
}
