:root {
  --bg: #07090b;
  --text: #f6f8f5;
  --muted: #909b96;
  --green: #8de34f;
  --blue: #1ea9ff;
  --yellow: #f5c84b;
  --line: rgba(255, 255, 255, 0.12);
  --card: #071b21;
  --ink: #0d1117;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 0;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: flex-end;
  gap: clamp(18px, 4vw, 34px);
  padding: 28px clamp(20px, 5vw, 72px);
  color: rgba(246, 248, 245, 0.72);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.site-header a:hover {
  color: var(--text);
}

.hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 92px 24px 48px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 88px 88px,
    linear-gradient(0deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 88px 88px,
    radial-gradient(circle at 50% 46%, rgba(141, 227, 79, 0.2), transparent 32%),
    radial-gradient(circle at 54% 56%, rgba(30, 169, 255, 0.14), transparent 34%),
    var(--bg);
}

.hero-logo {
  width: min(62vw, 620px);
  min-width: 240px;
  height: auto;
  filter: drop-shadow(0 30px 68px rgba(0, 0, 0, 0.55));
}

.contact-section {
  min-height: 100svh;
  scroll-margin-top: 0;
  padding: clamp(56px, 8vw, 84px) clamp(20px, 5vw, 72px);
  background: #000;
  color: var(--text);
}

.contact-slide {
  min-height: calc(100svh - 120px);
  max-width: 1420px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(44px, 7vw, 96px);
  align-items: start;
}

.slide-brand {
  padding-top: 8px;
}

.slide-brand img {
  width: 176px;
  height: auto;
}

.slide-brand p {
  margin: 12px 0 0;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(51, 165, 218, 0.28);
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
  font-style: italic;
  line-height: 1.2;
}

.section-heading {
  max-width: 980px;
  margin: 0 0 20px;
}

.section-heading p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 34px;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.section-heading p::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--green);
}

.section-heading h1 {
  margin: 0;
  max-width: 930px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.16;
  text-transform: none;
  letter-spacing: 0;
}

.contact-grid {
  max-width: 1060px;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 74px);
  align-items: start;
}

.contact-card {
  min-height: 188px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0 14px 14px;
  border: 1px solid rgba(92, 180, 205, 0.34);
  background: var(--card);
  text-align: center;
}

.ppt-photo {
  height: 112px;
  margin: 0 auto 4px;
  overflow: hidden;
  background: #fff;
}

.ppt-photo img {
  width: 100%;
  height: 100%;
  max-width: none;
}

.photo-david {
  width: 75px;
}

.photo-david img {
  width: 229.747%;
  height: 204.83%;
  transform: translate(-28.696%, -6.666%);
}

.photo-niklas {
  width: 79px;
}

.photo-fredrik {
  width: 91px;
}

.photo-fredrik img {
  width: 166.209%;
  height: 160.715%;
  transform: translate(-21.131%, -20.139%);
}

.photo-johan {
  width: 79px;
}

.contact-card h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0;
}

.contact-card p {
  margin: 0;
  color: rgba(233, 241, 244, 0.72);
  font-size: 0.62rem;
  line-height: 1.25;
}

.contact-card p span {
  display: block;
}

.accent {
  display: block;
  width: min(96px, 74%);
  height: 3px;
  margin-top: auto;
}

.accent-blue {
  background: var(--blue);
}

.accent-green {
  background: var(--green);
}

.accent-yellow {
  background: var(--yellow);
}

@media (max-width: 980px) {
  .contact-slide {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .slide-brand {
    display: flex;
    align-items: end;
    gap: 24px;
  }

  .slide-brand img {
    width: 138px;
  }

  .slide-brand p {
    min-width: 220px;
  }

  .contact-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 100%;
    gap: 18px;
  }

  .contact-card {
    min-height: 168px;
    padding-inline: 8px;
  }

  .ppt-photo {
    height: 92px;
  }

  .photo-david {
    width: 61px;
  }

  .photo-niklas,
  .photo-johan {
    width: 65px;
  }

  .photo-fredrik {
    width: 75px;
  }

  .contact-card h2 {
    font-size: 0.78rem;
    margin-bottom: 14px;
  }

  .contact-card p {
    font-size: 0.58rem;
  }
}

@media (max-width: 520px) {
  .site-header {
    position: absolute;
    padding: 20px 18px;
  }

  .hero-logo {
    width: min(78vw, 380px);
  }

  .contact-section {
    padding: 58px 18px 74px;
  }

  .slide-brand {
    display: block;
  }

  .slide-brand img {
    width: 128px;
  }

  .slide-brand p {
    min-width: 0;
  }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    max-width: 360px;
  }

  .ppt-photo {
    height: 108px;
  }

  .photo-david {
    width: 72px;
  }

  .photo-niklas,
  .photo-johan {
    width: 76px;
  }

  .photo-fredrik {
    width: 88px;
  }
}
