:root{
  --ink:#102f66;
  --text:#506b91;
  --muted:#8a9ab0;
  --line:#dfe7f0;
  --bg:#f6f9fc;
  --blue:#1687ee
}

*{
  box-sizing:border-box
}

html{
  scroll-behavior:smooth
}

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:16px;
  line-height:1.5
}

header{
  height:62px;
  background:rgba(255,255,255,.96);
  border-bottom:1px solid #edf1f5;
  position:sticky;
  top:0;
  z-index:5
}

.wrap{
  max-width:1040px;
  margin:auto;
  padding-left:24px;
  padding-right:24px
}

.nav{
  height:62px;
  display:flex;
  align-items:center;
  justify-content:space-between
}

.logo{
  font-size:18px;
  letter-spacing:4px;
  color:var(--ink);
  text-decoration:none;
  white-space:nowrap
}

.nav nav{
  display:flex;
  gap:30px
}

.nav nav a{
  color:var(--ink);
  text-decoration:none;
  font-size:14px;
  padding:21px 0 17px;
  border-bottom:2px solid transparent
}

.nav nav a.active{
  border-color:#1687ee
}


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

.hero{
  background:linear-gradient(
    90deg,
    #fff 0%,
    #fff 49%,
    #edf5fb 100%
  )
}

.hero-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  min-height:380px
}

.hero-copy{
  padding:58px 20px 45px 0;
  display:flex;
  flex-direction:column;
  justify-content:flex-start
}

.hero h1{
  font-size:45px;
  line-height:1.08;
  color:var(--ink);
  font-weight:400;
  margin:0 0 13px;
  letter-spacing:-1.3px
}

.role{
  font-size:21px;
  line-height:1.3;
  color:#5f789d
}

.rule{
  width:44px;
  height:2px;
  background:#7b96b8;
  margin:23px 0
}

.hero p{
  font-size:17px;
  line-height:1.48;
  max-width:560px;
  margin:0
}


/* =========================
   PORTRÆT
   ========================= */

/*
   Billedet starter præcis samme sted som H1.
   Højden svarer til H1 + mellemrum + de tre
   linjer i .role.
*/

.portrait{
  display:flex;
  align-items:flex-start;
  justify-content:flex-end;
  overflow:hidden;
  padding-top:58px;
}

.portrait img{
  width:auto;
  height:270px;
  display:block;
  object-fit:cover;
  object-position:center top;
  border-radius:15px;
}

/* =========================
   EXPERTISE
   ========================= */

.expertise{
  padding-top:16px;
  padding-bottom:16px
}

.expert{
  background:#fff;
  border:1px solid var(--line);
  border-radius:10px;
  padding:17px 22px;
  text-align:center;
  box-shadow:0 3px 12px rgba(25,55,90,.05);
  color:#274d7e
}

.expert b{
  font-weight:600
}

.expert span{
  color:#a7b6c8;
  padding:0 12px
}


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

.cards{
  display:grid;
  gap:16px;
  margin-bottom:16px
}

.three{
  grid-template-columns:repeat(3,1fr)
}

.two{
  grid-template-columns:1fr 1fr
}

.card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:9px;
  padding:21px 20px;
  box-shadow:0 4px 12px rgba(24,52,86,.06)
}

.card h2{
  font-size:19px;
  color:#102e63;
  margin:0 0 12px;
  line-height:1.2
}

.card p{
  margin:0 0 13px;
  color:#8293a8
}

.card ul{
  margin:0;
  padding-left:19px;
  color:#2e405a
}

.card li{
  margin:7px 0
}


/* =========================
   IKONER
   ========================= */

.icon{
  width:48px;
  height:48px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:25px;
  margin-bottom:13px
}

.icon.blue{
  background:#e3f2ff;
  color:#1687ee
}

.icon.green{
  background:#e1f7e9;
  color:#2bbb53
}

.icon.orange{
  background:#fff0df;
  color:#ff8a2b
}

.icon.purple{
  background:#eee7ff;
  color:#835de6
}


/* =========================
   NEDRE KORT
   ========================= */

.lower{
  grid-template-columns:1fr 1fr
}

.step{
  display:grid;
  grid-template-columns:36px 1fr;
  gap:12px;
  margin:13px 0
}

.step>b{
  width:32px;
  height:32px;
  border-radius:50%;
  background:#e7f3ff;
  color:#1687ee;
  display:flex;
  align-items:center;
  justify-content:center
}

.step strong{
  color:#102e63
}

.minor{
  border-top:1px solid var(--line);
  margin-top:16px;
  padding-top:13px;
  color:#102e63
}

.minor span{
  color:#7e90a8
}


/* =========================
   PROCESS
   ========================= */

.process .wide{
  padding-bottom:24px
}

.cols{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:44px
}

.cols p{
  margin-bottom:10px
}


/* =========================
   CV
   ========================= */

.timeline>div{
  display:grid;
  grid-template-columns:62px 1fr;
  gap:8px;
  margin:7px 0
}

.timeline b{
  color:#7187a2;
  font-weight:500
}

.timeline span{
  color:#405a7e
}


/* =========================
   KONTAKT
   ========================= */

.contact .mail{
  display:block;
  color:#28598f;
  text-decoration:none;
  margin:6px 0 16px
}

.contact hr{
  border:0;
  border-top:1px solid var(--line);
  margin:0 0 14px
}

.location{
  margin:0 0 16px;
  color:#516a8d
}

.location strong{
  color:#102e63
}


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

footer{
  margin-top:20px;
  background:#fff;
  border-top:1px solid #e6edf4
}

footer .wrap{
  height:70px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  color:#6f87a7;
  font-size:12px;
  letter-spacing:2px
}

footer .wrap span+span{
  letter-spacing:0
}


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

@media(max-width:800px){

  .nav nav{
    gap:15px
  }

  .hero-grid,
  .three,
  .two,
  .cols{
    grid-template-columns:1fr
  }

  .hero-copy{
    padding:40px 24px 25px
  }

  .portrait{
    padding:0 0 35px;
    justify-content:center
  }

  .portrait img{
    width:100%;
    height:auto;
    max-height:none
  }

  .hero h1{
    font-size:38px
  }

  .expert{
    line-height:1.8
  }

  .expert span{
    display:none
  }

  .expert b{
    display:block
  }

  .cards{
    margin-bottom:14px
  }
}


/* =========================
   MOBIL
   ========================= */

@media(max-width:520px){

  header{
    height:auto
  }

  .nav{
    height:auto;
    padding-top:12px;
    padding-bottom:8px;
    align-items:flex-start;
    flex-direction:column
  }

  .nav nav{
    width:100%;
    justify-content:space-between;
    gap:8px
  }

  .nav nav a{
    padding:10px 0;
    font-size:12px
  }

  .hero h1{
    font-size:33px
  }

  .role{
    font-size:18px
  }

  .hero p{
    font-size:16px
  }

  .wrap{
    padding-left:16px;
    padding-right:16px
  }

  .card{
    padding:18px
  }

  .portrait{
    padding-bottom:25px
  }

  .portrait img{
    width:100%;
    height:auto
  }
}