/* Baby Pigeon Studio */

@font-face {
  font-family: "Bebas Neue";
  src: url("../fonts/bebas-neue-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #242424;
  --white: #ffffff;
  --gray: #e2e2e2;
  --green: #80dea2;
  --violet: #fcb0eb;
  --blue: #7dd8ff;

  --muted: #a8a8a8;
  --rule: #ffffff26;

  --display: "Bebas Neue", "Arial Narrow", sans-serif;
  --text: "IBM Plex Sans", system-ui, sans-serif;

  --gutter: clamp(1rem, 5vw, 4rem);
  --measure: 34rem;

  color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--black);
  color: var(--gray);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  line-height: .95;
  letter-spacing: .01em;
}

p { margin: 0; }

a {
  color: var(--green);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}
a:hover { color: var(--violet); }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 2px;
}

.green { color: var(--green); }
.violet { color: var(--violet); }

.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: var(--gutter);
  top: 1rem;
  background: var(--black);
  padding: .25rem .5rem;
}

.wrap {
  max-width: 76rem;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Header */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--white);
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: .02em;
}
.brand:hover { color: var(--white); }
.brand img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
}

.header-link {
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: .04em;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  line-height: 1.1;
}

/* Intro */

.intro {
  padding-top: clamp(3rem, 12vh, 8rem);
  padding-bottom: clamp(4rem, 14vh, 9rem);
}

.intro h1 {
  color: var(--gray);
  font-size: clamp(3.5rem, 11vw, 9.5rem);
  line-height: .88;
  max-width: 14ch;
}

.lead {
  margin-top: 2.25rem;
  max-width: var(--measure);
  font-size: clamp(1.125rem, 1.6vw, 1.3rem);
  line-height: 1.55;
}

.intro .cta-line {
  margin-top: 1.5rem;
  color: var(--muted);
}

/* Sections */

.section {
  padding-bottom: clamp(4rem, 12vh, 8rem);
}

.section > h2 {
  color: var(--gray);
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  margin-bottom: 2rem;
}

/* Services */

.services {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: service;
}

.service {
  counter-increment: service;
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  column-gap: 1rem;
  row-gap: .75rem;
  padding: 1.75rem 0 2rem;
  border-top: 1px solid var(--rule);
}
.service:last-child { border-bottom: 1px solid var(--rule); }

.service::before {
  content: counter(service, decimal-leading-zero);
  grid-row: 1 / span 2;
  color: var(--green);
  font-family: var(--display);
  font-size: 1.75rem;
  line-height: 1.1;
}

.service h3 {
  color: var(--white);
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  line-height: 1;
}

.service p { max-width: var(--measure); }

.service .eg {
  margin-top: .75rem;
  color: var(--muted);
  font-size: .95rem;
}

@media (min-width: 52rem) {
  .service {
    grid-template-columns: 4.5rem minmax(0, 5fr) minmax(0, 7fr);
    column-gap: 2rem;
  }
  .service::before { grid-row: auto; }
}

/* How we work */

.principles {
  margin: 0;
  display: grid;
  gap: 2rem 3rem;
}

.principles div { max-width: var(--measure); }

.principles dt {
  color: var(--violet);
  font-family: var(--display);
  font-size: 1.75rem;
  line-height: 1.1;
  margin-bottom: .4rem;
}

.principles dd { margin: 0; }

@media (min-width: 52rem) {
  .principles { grid-template-columns: 1fr 1fr; }
}

/* Contact */

.contact {
  padding-top: clamp(1rem, 4vh, 3rem);
}

.contact h2 {
  color: var(--gray);
  font-size: clamp(3.5rem, 10vw, 8rem);
  line-height: .9;
}

.contact p {
  margin-top: 1.5rem;
  max-width: var(--measure);
}

.button {
  display: inline-block;
  margin-top: 2rem;
  padding: .85rem 1.4rem .7rem;
  background: var(--green);
  color: var(--black);
  border-radius: .25rem;
  font-family: var(--display);
  font-size: 1.4rem;
  letter-spacing: .05em;
  line-height: 1;
  text-decoration: none;
}
.button:hover {
  background: var(--violet);
  color: var(--black);
}

/* Footer */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 2rem;
  padding-top: 2rem;
  padding-bottom: 2.5rem;
  color: var(--muted);
  font-size: .9rem;
}

/* 404 */

.notfound {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}
.notfound h1 {
  font-size: clamp(4rem, 14vw, 10rem);
  color: var(--gray);
}
