.hero {
  position: relative;
  display: flex;
  min-height: max(720px, 100svh);
  overflow: hidden;
  background: var(--forest);
  color: var(--text-strong);
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  filter: saturate(0.45) contrast(1.08) hue-rotate(12deg);
}
.hero__wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 8, 20, 0.3), rgba(4, 9, 20, 0.74)), radial-gradient(circle at 78% 18%, rgba(41, 78, 130, 0.34), transparent 44%);
}
.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 130px;
  padding-bottom: 76px;
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(2rem, 5vw, 4rem);
  color: rgba(190, 205, 228, 0.62);
}
.hero__eyebrow span {
  width: 7px;
  height: 7px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(127, 167, 216, 0.12);
}
.hero__title {
  max-width: 1040px;
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(4rem, 8.4vw, 8.2rem);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: -0.045em;
}
.hero__title span, .hero__title em {
  display: block;
}
.hero__title em {
  color: rgba(165, 185, 214, 0.46);
  font-weight: 400;
}
.hero__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-top: clamp(3rem, 7vw, 6rem);
}
.hero__bottom p {
  max-width: 490px;
  margin: 0;
  color: rgba(190, 205, 228, 0.66);
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
}
.hero__side-note {
  position: absolute;
  z-index: 1;
  right: 24px;
  top: 50%;
  margin: 0;
  color: rgba(180, 198, 224, 0.42);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(300px, 1.5fr) 1fr;
  gap: 9vw;
  align-items: end;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.section-heading .eyebrow {
  grid-column: 1/-1;
  margin-bottom: -4vw;
  color: var(--muted);
}

.section-heading h2 {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(3.3rem, 6vw, 6.2rem);
  font-weight: 400;
  line-height: 0.93;
  letter-spacing: -0.035em;
}

.section-heading h2 em {
  color: #71839e;
  font-weight: 400;
}

.section-heading > p, .section-heading--row > p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
}

.section-heading--row {
  grid-template-columns: 1.35fr 0.65fr;
}

.section-heading--row .eyebrow {
  margin: 0 0 30px;
}

.services {
  background: var(--cream);
}

.services__list {
  border-top: 1px solid var(--line);
}

.service {
  position: relative;
  display: grid;
  grid-template-columns: 80px 1fr 1.25fr 40px;
  gap: 30px;
  align-items: center;
  padding: 32px 4px;
  border-bottom: 1px solid var(--line);
}

.service__number {
  color: var(--muted);
  font-size: 0.72rem;
}

.service h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.service p {
  max-width: 510px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.service__arrow {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background 0.2s, transform 0.2s;
}

.service:hover .service__arrow {
  background: var(--lime);
  transform: rotate(45deg);
}

.work {
  background: var(--paper);
}

.work__slider {
  position: relative;
}

.work-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 52px;
  height: 52px;
  padding: 0;
  background-color: rgba(9, 19, 39, 0.82);
  border: 2px solid var(--lime);
  color: var(--lime);
  border-radius: 50%;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.work-arrow--prev {
  left: 10px;
}
.work-arrow--next {
  right: 10px;
}
.work-arrow__icon {
  display: flex;
  width: fit-content;
}
.work-arrow__icon svg {
  width: 22px;
  height: 10px;
}
.work-arrow--prev .work-arrow__icon svg {
  transform: scaleX(-1);
}
.work-arrow:hover {
  background-color: var(--lime);
  color: var(--forest);
}
.work-arrow:active {
  border-width: 1px;
}
.work-arrow:hover .work-arrow__icon svg {
  animation: work-arrow-jello 0.9s both;
}
.work-arrow--prev:hover .work-arrow__icon svg {
  animation-name: work-arrow-jello-flipped;
}

@keyframes work-arrow-jello {
  0% {
    transform: scale3d(1, 1, 1);
  }
  30% {
    transform: scale3d(0.75, 1.25, 1);
  }
  40% {
    transform: scale3d(1.25, 0.75, 1);
  }
  50% {
    transform: scale3d(0.85, 1.15, 1);
  }
  65% {
    transform: scale3d(1.05, 0.95, 1);
  }
  75% {
    transform: scale3d(0.95, 1.05, 1);
  }
  100% {
    transform: scale3d(1, 1, 1);
  }
}
@keyframes work-arrow-jello-flipped {
  0% {
    transform: scaleX(-1) scale3d(1, 1, 1);
  }
  30% {
    transform: scaleX(-1) scale3d(0.75, 1.25, 1);
  }
  40% {
    transform: scaleX(-1) scale3d(1.25, 0.75, 1);
  }
  50% {
    transform: scaleX(-1) scale3d(0.85, 1.15, 1);
  }
  65% {
    transform: scaleX(-1) scale3d(1.05, 0.95, 1);
  }
  75% {
    transform: scaleX(-1) scale3d(0.95, 1.05, 1);
  }
  100% {
    transform: scaleX(-1) scale3d(1, 1, 1);
  }
}
.work__grid {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.work__grid::-webkit-scrollbar {
  display: none;
}

.project {
  flex: 0 0 min(440px, 82vw);
  scroll-snap-align: start;
}

.project__link {
  display: contents;
  color: inherit;
  text-decoration: none;
}
.project__link:focus-visible .project__visual {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}

.project__visual {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #13233d;
}

.project__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 45%, rgba(7, 27, 23, 0.12));
}

.project__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.project__visual img.is-placeholder {
  filter: hue-rotate(80deg) saturate(0.35);
}

.project:hover .project__visual img {
  transform: scale(1.035);
}

.project__visual span {
  position: absolute;
  z-index: 1;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(9, 20, 39, 0.88);
  color: var(--text-strong);
  font-size: 0.7rem;
}

.project__tag {
  margin: 20px 0 7px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project h3 {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 400;
  line-height: 1.05;
}

.project__description {
  max-width: 520px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.about {
  background: #101f38;
}

.about__grid {
  display: grid;
  grid-template-columns: 0.36fr 1fr;
  gap: 7vw;
}

.about .eyebrow {
  padding-top: 12px;
}

.about h2 {
  max-width: 980px;
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.035em;
}

.about h2 em {
  color: #7185a3;
  font-weight: 400;
}

.about__body {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px;
  margin: 55px 0;
  color: var(--muted);
}

.about__body p {
  margin: 0;
}

.about__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 0.82rem;
}

.about__facts strong {
  margin-right: 15px;
  color: #7185a3;
  font-size: 0.68rem;
}

.contact {
  background: var(--forest);
  color: var(--text-strong);
  text-align: center;
}

.contact__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact .eyebrow {
  color: var(--lime);
}

.contact h2 {
  margin: 35px 0 45px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(4rem, 9vw, 8.5rem);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: -0.04em;
}

.contact h2 em {
  color: rgba(145, 168, 202, 0.44);
  font-weight: 400;
}

.contact__link {
  display: flex;
  gap: 40px;
  padding: 14px 5px;
  border-bottom: 1px solid rgba(158, 181, 215, 0.3);
  color: rgba(202, 214, 232, 0.74);
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  text-decoration: none;
}

@media (max-width: 760px) {
  .hero {
    min-height: 720px;
  }
  .hero__content {
    padding-top: 130px;
    padding-bottom: 44px;
  }
  .hero__title {
    font-size: clamp(3.5rem, 16vw, 5.2rem);
    line-height: 0.9;
  }
  .hero__bottom {
    align-items: flex-start;
    flex-direction: column;
  }
  .hero__side-note {
    display: none;
  }
  .section-heading, .section-heading--row {
    display: block;
  }
  .section-heading .eyebrow {
    margin: 0 0 34px;
  }
  .section-heading h2 {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }
  .section-heading > p, .section-heading--row > p {
    margin-top: 28px;
  }
  .service {
    grid-template-columns: 36px 1fr 38px;
    gap: 14px;
  }
  .service p {
    grid-column: 2/-1;
    padding-right: 16px;
  }
  .work-arrow {
    width: 42px;
    height: 42px;
  }
  .project {
    flex-basis: 86vw;
  }
  .about__grid {
    grid-template-columns: 1fr;
  }
  .about__body {
    grid-template-columns: 1fr;
  }
  .about__facts {
    grid-template-columns: 1fr;
  }
  .contact h2 {
    line-height: 0.88;
  }
}
