/* WebBureau — styled after vconsultco.com */

:root {
  --navy: #1f2044;
  --indigo: #464989;
  --blue: #78acd9;
  --coral: #f79784;
  --cream: #fcf1e7;
  --muted: #6b6c85;
  --serif: 'Libre Baskerville', Georgia, serif;
  --sans: 'Work Sans', -apple-system, 'Helvetica Neue', Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--navy);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--cream);
  color: var(--navy);
}

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

a {
  color: inherit;
}

strong {
  font-weight: 600;
}

/* Background grid lines */

.lines > div {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20%;
  width: 1px;
  background: #f3f3f3;
  pointer-events: none;
}

.lines > div:nth-child(2) { left: 40%; }
.lines > div:nth-child(3) { left: 60%; }
.lines > div:nth-child(4) { left: 80%; }

.slide-dark .lines > div {
  background: #ececec;
}

/* Header */

.header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem clamp(1.25rem, 5vw, 4.5rem);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(6px);
}

.brand {
  font-size: 1.4rem;
  letter-spacing: -.04em;
  color: #234969;
  text-decoration: none;
}

.brand span {
  font-weight: 600;
  color: var(--indigo);
}

.nav {
  display: flex;
  gap: 2rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nav a {
  text-decoration: none;
  padding: 0 2px;
  transition: background-color .2s, box-shadow .2s;
}

.nav a:hover {
  background: var(--cream);
  box-shadow: var(--cream) 0 0 0 3px;
}

/* Sections */

.slide {
  position: relative;
  display: flex;
  align-items: center;
  padding: 8rem 0;
}

.slide-about {
  min-height: 100vh;
  padding-bottom: 4rem;
}

.slide-dark {
  background: #fafafa;
}

.container {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}

.center {
  text-align: center;
}

.split {
  display: grid;
  grid-template-columns: 5fr 1fr 6fr;
  align-items: center;
}

.split > :last-child {
  grid-column: 3;
}

.title-mini {
  margin-bottom: 1.25rem;
  color: var(--coral);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.slide-title {
  margin: 0 0 1.75rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.25;
  letter-spacing: -.01em;
}

h1.slide-title {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
}

.accent {
  background: linear-gradient(transparent 62%, var(--cream) 62%);
}

.slide-descr {
  max-width: 38rem;
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 1.1rem;
}

.slide-descr strong {
  color: var(--navy);
}

.center .slide-descr {
  margin-left: auto;
  margin-right: auto;
}

.slide-photo {
  max-width: 560px;
  margin: 3rem auto 0;
}

/* Services */

.service-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid #e6e6ea;
}

.service-list li:first-child {
  border-top: 1px solid #e6e6ea;
}

.service-list li::before {
  content: "";
  flex: none;
  width: .6rem;
  height: .6rem;
  border-radius: 50%;
  background: var(--coral);
}

.service-list li:nth-child(2)::before { background: var(--blue); }
.service-list li:nth-child(3)::before { background: var(--indigo); }
.service-list li:nth-child(4)::before { background: var(--navy); }

/* Approach */

.steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 4rem;
  margin-top: 1.5rem;
}

.step {
  display: flex;
  gap: 1.5rem;
}

.step-value {
  flex: none;
  min-width: 4.5rem;
  color: var(--coral);
  font-family: var(--serif);
  font-size: 3rem;
  line-height: 1;
}

.step-title {
  margin: .25rem 0 .75rem;
  font-size: 1.15rem;
  font-weight: 600;
}

.step-descr {
  margin: 0;
  color: var(--muted);
}

/* Contact */

.contact-mail {
  margin: 0 0 .5rem;
  color: var(--coral);
  font-size: 1.35rem;
  font-weight: 500;
}

.contact-mail span {
  color: var(--muted);
  font-style: italic;
  font-weight: 400;
}

.contact-place {
  margin: 0;
  color: var(--muted);
}

/* Footer */

.footer {
  display: flex;
  justify-content: space-between;
  padding: 2rem clamp(1.25rem, 5vw, 4.5rem) 2.5rem;
  color: var(--muted);
  font-size: .85rem;
}

.footer a {
  text-decoration: none;
}

.footer a:hover {
  color: var(--coral);
}

.ornament {
  height: .375rem;
  background: linear-gradient(90deg, var(--indigo) 0 33.33%, var(--blue) 33.33% 66.66%, var(--coral) 66.66%);
}

/* Entrance animation */

.fade {
  animation: fadeInUp .9s cubic-bezier(.2, .7, .2, 1) both;
}

.d1 { animation-delay: .1s; }
.d2 { animation-delay: .25s; }
.d3 { animation-delay: .4s; }
.d4 { animation-delay: .55s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .fade {
    animation: none;
  }
}

/* Responsive */

@media (max-width: 820px) {
  .split,
  .steps {
    grid-template-columns: 1fr;
  }

  .split > :last-child {
    grid-column: auto;
    margin-top: 1rem;
  }

  .slide {
    padding: 5rem 0;
  }

  .slide-about {
    padding: 7rem 0 4rem;
  }
}

@media (max-width: 560px) {
  .nav {
    gap: 1rem;
    font-size: .7rem;
  }

  .brand {
    font-size: 1.2rem;
  }

  .step-value {
    min-width: 3.25rem;
    font-size: 2.25rem;
  }
}
