@font-face {
  font-family: "Geist";
  src: url("assets/geist-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #0c0a13;
  --paper: #f4f1fb;
  --muted: #c1b9cf;
  --accent: #b7a7ff;
  --line: #2e273d;
  --gutter: clamp(1.25rem, 5.5vw, 5.5rem);
  font-family: "Geist", "Inter", system-ui, sans-serif;
  color: var(--paper);
  background: var(--ink);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

.wrap {
  width: min(76rem, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 3;
  inset: 0.75rem auto auto 0.75rem;
  padding: 0.75rem 1rem;
  transform: translateY(-200%);
  border-radius: 0.35rem;
  background: var(--accent);
  color: var(--ink);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.header-content,
.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 4.65rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  font-size: 1.29rem;
  font-weight: 730;
  letter-spacing: -0.06em;
}

.brand-mark {
  position: relative;
  flex: none;
  width: 1.95rem;
  height: 1.95rem;
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span {
  position: absolute;
  inset: 0;
  content: "";
}

.brand-mark::before {
  background: #ded4ff;
  clip-path: polygon(61% 5%, 96% 12%, 74% 39%, 40% 48%);
}

.brand-mark span {
  background: #ab94ff;
  clip-path: polygon(30% 43%, 65% 29%, 49% 62%, 6% 83%);
}

.brand-mark::after {
  background: #8065ee;
  clip-path: polygon(66% 57%, 93% 43%, 74% 77%, 41% 96%);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2.8vw, 2.55rem);
  font-size: 0.875rem;
  font-weight: 570;
  color: var(--muted);
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
}

.site-nav a:hover,
.wordmark:hover {
  color: var(--accent);
}

.site-nav .nav-contact {
  gap: 0.65rem;
  padding-inline: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  color: var(--paper);
}

.nav-contact:hover {
  border-color: var(--accent);
}

.nav-contact span {
  color: var(--accent);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(34rem, 46vw, 44rem);
  padding-block: 4.5rem 5rem;
  border-bottom: 1px solid var(--line);
}

.hero-art,
.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-art {
  object-fit: cover;
  object-position: 62% 50%;
}

.hero::after {
  content: "";
  background:
    linear-gradient(90deg, #0c0a13e6 0%, #0c0a1399 30%, #0c0a1326 56%, transparent 78%),
    linear-gradient(0deg, #0c0a13 0%, transparent 28%);
}

.hero-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #d2c7ff;
  font-size: 0.77rem;
  font-weight: 680;
  letter-spacing: 0.115em;
  line-height: 1.45;
  text-transform: uppercase;
}

.hero-label::before {
  width: 1.45rem;
  height: 1px;
  flex: none;
  background: var(--accent);
  content: "";
}

.hero h1 {
  margin-block: 1.35rem 1.45rem;
  font-size: clamp(4.15rem, 8.8vw, 8rem);
  font-weight: 710;
  letter-spacing: -0.077em;
  line-height: 0.91;
}

.hero h1 span {
  display: block;
  color: var(--accent);
}

.hero-intro {
  max-width: 25rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.42vw, 1.125rem);
  line-height: 1.6;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  min-height: 3rem;
  padding: 0.65rem 1rem;
  border: 1px solid transparent;
  border-radius: 0.45rem;
  font-size: 0.95rem;
  font-weight: 660;
  line-height: 1.4;
}

.button span {
  font-size: 1.1em;
}

.hero-link {
  margin-top: 1.8rem;
  background: var(--accent);
  color: #120c25;
}

.hero-link:hover {
  background: #d0c4ff;
}

main section[id] {
  scroll-margin-top: 1.5rem;
}

h2 {
  font-size: clamp(2.15rem, 4vw, 3.8rem);
  font-weight: 650;
  letter-spacing: -0.064em;
  line-height: 1.08;
}

.activities {
  padding-block: clamp(3.75rem, 7vw, 6.75rem);
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.85rem, 2vw, 1.5rem);
  margin-top: 1.8rem;
}

.activity {
  min-width: 0;
  padding: clamp(1.5rem, 3.6vw, 2.6rem);
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: radial-gradient(ellipse at 100% 0%, #211935, #120f1c 58%);
}

.activity-icon {
  position: relative;
  display: block;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1.65rem;
  border: 1px solid #4b3c70;
  border-radius: 0.55rem;
  background: #251c3d;
  color: var(--accent);
}

.activity-icon::before,
.activity-icon::after {
  position: absolute;
  content: "";
}

.development-icon::before,
.development-icon::after {
  top: 1rem;
  width: 0.85rem;
  height: 0.85rem;
  border-top: 2px solid;
  border-left: 2px solid;
}

.development-icon::before {
  left: 0.8rem;
  transform: rotate(-45deg);
}

.development-icon::after {
  right: 0.8rem;
  transform: rotate(135deg);
}

.operations-icon::before,
.operations-icon::after {
  inset: 0.86rem 0.63rem;
  border: 1.5px solid;
  border-radius: 50%;
  transform: rotate(-42deg);
}

.operations-icon::after {
  transform: rotate(42deg);
}

.operations-icon span {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 0.28rem;
  height: 0.28rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: currentColor;
}

.activity h3 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 630;
  letter-spacing: -0.045em;
  line-height: 1.16;
}

.activity p,
.company-details {
  color: var(--muted);
  line-height: 1.6;
}

.activity p {
  max-width: 31ch;
}

.company {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(1.75rem, 4vw, 4rem);
  padding-block: clamp(2.35rem, 4.8vw, 4.1rem);
  border-top: 1px solid var(--line);
}

.company-details div {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: baseline;
  gap: 0.45rem 1.15rem;
  padding-block: 0.9rem;
  border-top: 1px solid var(--line);
}

.company-details div:last-child {
  border-bottom: 1px solid var(--line);
}

.company-details dd {
  color: var(--paper);
  font-weight: 580;
  overflow-wrap: anywhere;
}

.contact {
  padding-block: 1rem clamp(3.75rem, 6vw, 6rem);
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.65rem, 4vw, 3.55rem);
  border: 1px solid #47355d;
  border-radius: 0.7rem;
  background: linear-gradient(116deg, #191329, #261940 70%, #2c1c4d);
}

.email-link {
  border-color: #68548a;
  background: #150e26;
  color: #ded4ff;
}

.email-link:hover {
  border-color: var(--accent);
  background: #26183f;
}

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

.footer-content {
  min-height: 5.35rem;
}

.footer-content small {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

@media (max-width: 42rem) {
  .hero {
    align-items: start;
    min-height: auto;
    padding-block: clamp(2.8rem, 9vw, 4.2rem) clamp(15rem, 62vw, 21rem);
  }

  .hero-art,
  .hero::after {
    inset: auto 0 0;
    height: clamp(18rem, 74vw, 25rem);
  }

  .hero-art {
    object-position: 77% center;
  }

  .hero::after {
    background: linear-gradient(180deg, var(--ink), #0c0a1333 27%, transparent 48%, #0c0a13 100%);
  }

  .hero h1 {
    font-size: clamp(3.35rem, 13.8vw, 6rem);
  }

  .activity-grid,
  .company {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 32rem) {
  .header-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.15rem;
    padding-block: 0.48rem 0.6rem;
  }

  .wordmark {
    width: fit-content;
  }

  .site-nav {
    justify-content: space-between;
    gap: 0.85rem;
    width: 100%;
  }

  .footer-content {
    flex-wrap: wrap;
    gap: 0.15rem 1rem;
    padding-block: 1rem;
  }
}
