@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');


/* =========================================================
   VARIABLES
   ========================================================= */

:root {
  --navy: #0F2438;
  --blue: #7BA0C4;
  --light: #E5EAEF;
  --white: #FFFFFF;
  --text: #183044;
  --muted: #637586;
  --line: rgba(15, 36, 56, .12);
}


/* =========================================================
   GLOBAL
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
}

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


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;

  height: 92px;
  padding: 18px clamp(22px, 5vw, 76px);

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand img {
  width: 185px;
  height: auto;
  display: block;
}


/* Desktop navigation */

nav {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 32px;
}

nav a {
  opacity: .9;
}

nav a:hover {
  opacity: 1;
  color: var(--blue);
}

nav a.active {
  color: var(--navy);
  opacity: 1;
  position: relative;
}

nav a.active::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  bottom: -8px;

  height: 2px;

  background: var(--blue);
}

.nav-cta {
  padding: 10px 17px;
  border: 1px solid rgba(15, 36, 56, .3);
  border-radius: 999px;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
  min-height: 760px;
  position: relative;
  overflow: hidden;

  background:
    radial-gradient(
      circle at 82% 36%,
      rgba(123, 160, 196, .25),
      transparent 25%
    ),
    linear-gradient(
      118deg,
      #f8fafc 0%,
      #eef3f7 48%,
      #dfe7ee 100%
    );

  display: flex;
  align-items: center;

  padding: 130px clamp(22px, 9vw, 145px) 90px;
}

.hero:after {
  content: "";

  position: absolute;

  width: 72vw;
  height: 72vw;

  max-width: 1050px;
  max-height: 1050px;

  right: -30vw;
  bottom: -48vw;

  border: 1px solid rgba(15, 36, 56, .08);
  border-radius: 50%;

  box-shadow:
    -55px -35px 0 -54px rgba(123, 160, 196, .3);
}

.hero-content {
  max-width: 700px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 16px;

  color: #5c7890;

  font-size: 11px;
  letter-spacing: .22em;
  font-weight: 700;
}


/* =========================================================
   TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3 {
  font-family: "Space Grotesk", Inter, sans-serif;
}

h1 {
  margin: 0;

  font-size: clamp(64px, 8vw, 112px);
  line-height: .92;
  letter-spacing: -.055em;

  color: var(--navy);
}

h1 span,
h2 span {
  color: #557f9f;
}

h2 {
  margin: 0;

  font-size: clamp(40px, 5vw, 66px);
  line-height: 1.02;
  letter-spacing: -.04em;

  color: var(--navy);
}

h3 {
  margin: 70px 0 12px;

  font-size: 27px;

  color: var(--navy);
}


/* =========================================================
   HERO TEXT
   ========================================================= */

.hero-text {
  max-width: 590px;
  margin: 32px 0 0;

  font-size: 18px;
  color: #526678;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;

  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 48px;
  padding: 0 21px;

  border-radius: 5px;

  font-weight: 600;
  font-size: 14px;

  transition:
    transform .2s,
    background .2s;
}

.button:hover {
  transform: translateY(-2px);
}

.primary {
  background: var(--navy);
  color: var(--white);
}

.secondary {
  border: 1px solid rgba(15, 36, 56, .24);
  color: var(--navy);
}

.light {
  background: var(--white);
  color: var(--navy);
}


/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

.section {
  padding: 105px clamp(22px, 9vw, 145px);
}


/* =========================================================
   INTRO SECTION
   ========================================================= */

.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  align-items: end;
}

.intro > p {
  margin: 0;

  max-width: 570px;

  font-size: 19px;
  color: var(--muted);
}


/* =========================================================
   CARDS
   ========================================================= */

.cards-section {
  background: #f5f8fa;
}

.cards-section > h2 {
  margin-bottom: 55px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.cards article {
  min-height: 300px;
  padding: 34px;

  background: white;

  border: 1px solid var(--line);
  border-radius: 8px;
}

.number {
  color: var(--blue);

  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .12em;
}

.cards p {
  color: var(--muted);
  margin: 0;
}


/* =========================================================
   IDEA SECTION
   ========================================================= */

.idea-section {
  padding: 120px 22px;

  color: white;
  text-align: center;

  position: relative;
  overflow: hidden;

  background:
    radial-gradient(
      circle at 70% 25%,
      rgba(123, 160, 196, .2),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      #0b1d2d,
      #0F2438 55%,
      #142f46
    );
}

.idea-section:before,
.idea-section:after {
  content: "";

  position: absolute;

  border: 1px solid rgba(123, 160, 196, .16);
  border-radius: 50%;
}

.idea-section:before {
  width: 650px;
  height: 650px;

  left: -410px;
  top: -170px;
}

.idea-section:after {
  width: 800px;
  height: 800px;

  right: -530px;
  bottom: -520px;
}

.idea-inner {
  max-width: 720px;
  margin: auto;

  position: relative;
  z-index: 1;
}

.idea-section .eyebrow {
  color: #9fb8cc;
}

.idea-section h2 {
  color: white;
}

.idea-section p:not(.eyebrow) {
  max-width: 610px;

  margin: 25px auto 32px;

  color: #c5d2dd;

  font-size: 17px;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
  min-height: 100px;

  padding: 28px clamp(22px, 5vw, 76px);

  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 20px;

  color: #758797;
  font-size: 12px;

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

.footer-brand {
  color: var(--navy);

  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;

  letter-spacing: .18em;
}


/* =========================================================
   INNER PAGES
   ========================================================= */

.page-hero,
.contact-hero {
  padding: 170px clamp(22px, 9vw, 145px) 100px;

  background:
    linear-gradient(
      120deg,
      #f8fafc,
      #e5eaeF
    );

  border-bottom: 1px solid rgba(15, 36, 56, .08);
}

.page-hero h1,
.contact-hero h1 {
  margin: 0;

  font-size: clamp(58px, 8vw, 100px);
  line-height: .95;
  letter-spacing: -.055em;

  color: var(--navy);
}

.page-hero p:not(.eyebrow),
.contact-hero > p:not(.eyebrow) {
  max-width: 650px;

  font-size: 19px;
  color: var(--muted);

  margin: 28px 0 0;
}


/* =========================================================
   TWO COLUMN LAYOUT
   ========================================================= */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 8vw;

  align-items: start;
}

.two-col > div:last-child {
  font-size: 18px;
  color: var(--muted);
}


/* =========================================================
   PRODUCTS
   ========================================================= */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(230px, 1fr));
  gap: 18px;
}

.product-card {
  background: #fff;

  border: 1px solid var(--line);
  border-radius: 8px;

  padding: 34px;

  min-width: 0;
}

.product-tag,
.project-type {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;

  color: #68859b;
}

.product-card h2 {
  font-size: 32px;

  margin: 35px 0 15px;
}

.text-link {
  display: inline-block;

  margin-top: 22px;

  color: #4f7694;

  font-weight: 700;
  font-size: 14px;
}

.product-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto 0;
}

.clickable-image {
  cursor: zoom-in;
  user-select: none;
}

.image-wrapper {
  position: relative;
  cursor: zoom-in;
}

.image-zoom-icon {
  position: absolute;

  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);

  width: 52px;
  height: 52px;

  border-radius: 50%;

  background:
    linear-gradient(white, white) 20px 24px / 10px 2px no-repeat,
    linear-gradient(white, white) 24px 20px / 2px 10px no-repeat,
    rgba(15, 36, 56, .82);

  opacity: 0;

  transition: opacity .2s ease;

  pointer-events: none;
}


.image-zoom-icon::before {
  content: "";

  position: absolute;

  width: 16px;
  height: 16px;

  top: 15px;
  left: 15px;

  border: 2px solid white;
  border-radius: 50%;
}


.image-zoom-icon::after {
  content: "";

  position: absolute;

  width: 10px;
  height: 2px;

  left: 31px;
  top: 34px;

  background: white;

  transform: rotate(45deg);

  border-radius: 2px;
}


.image-wrapper:hover .image-zoom-icon {
  opacity: 1;
}


/* =========================================================
   CENTERED CONTENT
   ========================================================= */

.centered {
  text-align: center;
}

.centered > p:not(.eyebrow) {
  color: var(--muted);

  font-size: 18px;

  margin: 20px auto 28px;
}


/* =========================================================
   PROJECTS
   ========================================================= */

.project-list {
  background: #f5f8fa;
}

.project-list article {
  display: grid;

  grid-template-columns: 90px 1fr;

  gap: 35px;

  padding: 55px 0;

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

.project-list article:first-child {
  border-top: 0;
}

.project-index {
  font:
    700 14px
    "Space Grotesk";

  color: var(--blue);

  letter-spacing: .12em;
}

.project-list h2 {
  font-size: 42px;

  margin: 8px 0 15px;
}

.project-list p:not(.project-type) {
  max-width: 700px;

  color: var(--muted);

  font-size: 17px;
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-hero {
  padding-bottom: 115px;
}

.contact-hero .button {
  margin-top: 32px;
}

.contact-details {
  background: #fff;
}


/* =========================================================
   MOBILE MENU
   ========================================================= */

.menu-toggle {
  display: none;

  background: none;
  border: none;

  font-size: 24px;
  color: inherit;

  cursor: pointer;

  padding: 6px;

  line-height: 1;
}

.mobile-menu {
  display: none;
}

.mobile-menu a.active {
  color: var(--navy);
  font-weight: 600;
  position: relative;
}

.mobile-menu a.active::after {
  content: "";

  position: absolute;

  left: 20px;
  right: 20px;
  bottom: 2px;

  height: 2px;

  background: var(--blue);
}

/* =========================================================
   TABLET / MOBILE
   ========================================================= */

@media (max-width: 800px) {

  .site-header {
    height: 76px;
  }

  .brand img {
    width: 150px;
  }

  .hero {
    min-height: 700px;
    padding-top: 110px;
  }

  .intro {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .cards article {
    min-height: 230px;
  }

  h3 {
    margin-top: 45px;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .two-col,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .page-hero,
  .contact-hero {
    padding-top: 130px;
  }

  .project-list article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .project-list h2 {
    font-size: 32px;
  }


  /* Mobile navigation */

  nav {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-menu {
    position: fixed;

    top: 76px;
    left: 0;
    right: 0;

    width: 100%;

    z-index: 9999;

    display: none;
    flex-direction: column;
    align-items: center;

    padding: 28px 20px;

    background: rgba(255, 255, 255, 0.98);

    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);

    box-shadow:
      0 12px 30px
      rgba(15, 36, 56, 0.08);
  }

  .mobile-menu.open {
    display: flex;
  }

  .mobile-menu a {
    color: var(--navy);

    text-decoration: none;

    font-size: 17px;
    font-weight: 500;

    padding: 7px 20px;
  }

  .mobile-menu a:hover {
    color: var(--blue);
  }
}