@font-face {
  font-family: "Open Sans";
  font-weight: 400;
  src: url("fonts/OS-400.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  font-weight: 600;
  src: url("fonts/OS-600.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  font-weight: 700;
  src: url("fonts/OS-700.woff") format("woff");
  font-display: swap;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  /* Double-tap-to-zoom off page-wide (pinch zoom unaffected): the
     pencil invites rapid tapping and Safari kept reading it as zoom. */
  touch-action: manipulation;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.6;
  color: #111;
  background: #fff;
  text-align: center;
  -webkit-font-smoothing: antialiased;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

a {
  display: inline-block;
  color: inherit;
}

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

/* The crest is locked to the heading: one group, one fixed gap, so
   they can never drift apart as the viewport grows. */
.badge-case {
  display: block;
  margin-bottom: 34px;
}

.badge {
  display: block;
  margin: auto;
  width: 140px;
}

#container {
  flex: 1;
  padding: 60px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.section {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.statement {
  font-weight: 400;
  font-size: 1.75em;
  line-height: 1.2;
  letter-spacing: 0;
  text-wrap: balance;
}

.helped {
  margin-top: 0.5em;
  font-size: 1.05em;
  line-height: 1.2;
  color: #444;
}

.est {
  margin-top: 1em;
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 0.7em;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: #767676;
}

.pencil {
  display: block;
  width: 12px;
  margin: 40px auto;
  pointer-events: none;
}

.footer {
  margin-top: auto;
  width: 100%;
}

.footer-logo {
  width: 100px;
  margin: 0 auto;
}

.footer-copyright {
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 0.62em;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin: 24px auto 44px;
  width: 90%;
  max-width: 640px;
}

/* The pencil spins when poked; the more pokes, the faster it goes
   (script at the foot of the page drives the rotation). The button is a
   square the size of the pencil's rotation sweep, so the whole twirl
   happens inside the click target. */
.pencil-spin {
  background: none;
  border: none;
  padding: 0;
  cursor: help;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
  margin: 32px auto;

  /* Rapid tapping is the point: no double-tap zoom, no grey
     tap-highlight box. */
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.pencil-spin:active,
.pencil-spin:focus:not(:focus-visible) {
  background: none;
  outline: none;
}

.pencil-spin .pencil {
  will-change: transform;
}

/* The concept area's exit sign. */
.outta {
  color: #ef1616;
  font-weight: 700;
  text-decoration: none;
}

.outta:hover {
  text-decoration: underline;
}

/* The concept area's client wall (the old homepage section, rehomed:
   credibility for invited eyes, mystery for everyone else). */
.clients {
  margin-top: 70px;
}

.delivered {
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 0.72em;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.client-logos {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 18px 12px;
}

.client-logos img {
  width: 74%;
}

@media (min-width: 720px) {
  .client-logos {
    grid-template-columns: repeat(5, 1fr);
  }
}

.talk-line {
  margin-top: 40px;
}

.talk {
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 0.72em;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 3px solid #111;
  padding-bottom: 3px;
}

.talk:hover {
  opacity: 0.6;
}
