@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/newsreader-500.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/source-sans-3-400.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/source-sans-3-600.woff2") format("woff2");
}

:root {
  --paper: #f6f3ec;
  --paper-deep: #efeae2;
  --sheet: #fffcf8;
  --ink: #142033;
  --ink-soft: #3d4c5f;
  --line: #d9d1c3;
  --blue: #1745a7;
  --blue-deep: #12367f;
  --teal: #0c746f;
  --teal-soft: #d7ebe7;
  --shadow: #e4dcd0;
  --serif: "Newsreader", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, "Noto Serif", serif;
  --sans: "Source Sans 3", "Segoe UI", Inter, "Noto Sans", sans-serif;
  --header: 5.75rem;
  --measure: 38rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7.25rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

svg {
  display: block;
}

p,
ul,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-wrap: balance;
  margin: 0;
}

h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.7rem);
}

h2 {
  font-size: clamp(2.05rem, 3.5vw, 3.25rem);
  max-width: 16ch;
}

h3 {
  font-size: clamp(1.45rem, 2vw, 1.8rem);
  line-height: 1.2;
}

a {
  color: var(--blue);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--teal);
}

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

::selection {
  background: var(--teal-soft);
  color: var(--ink);
}

.skip {
  position: absolute;
  left: 16px;
  top: 8px;
  transform: translateY(-140%);
  background: var(--ink);
  color: var(--paper);
  padding: 10px 14px;
  z-index: 40;
  text-decoration: none;
}

.skip:focus {
  transform: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.kicker {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lede,
.service p,
.process p,
.contact p,
.waai p,
.example p {
  text-wrap: pretty;
}

.lede {
  max-width: var(--measure);
  font-size: 1.125rem;
  line-height: 1.6;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.mark {
  position: relative;
  width: 80px;
  height: 80px;
  flex: none;
  overflow: hidden;
}

.mark img,
.footer-logo img {
  mix-blend-mode: multiply;
}

.mark img {
  position: absolute;
  width: 238px;
  max-width: none;
  height: auto;
  left: -79px;
  top: -34px;
}

.brand-name {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.brand-line {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.15;
  text-transform: uppercase;
}

.brand-line-sub {
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
}

#site-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

#site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

#site-nav a:hover,
#site-nav a:focus-visible {
  color: var(--teal);
  border-bottom-color: var(--teal);
}

.hero {
  padding: 72px 0 96px;
}

.hero-grid,
.waai-grid,
.contact-grid,
.footer-grid,
.services,
.process {
  display: grid;
  gap: 48px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: 64px;
}

.hero h1 {
  max-width: 11ch;
  margin-bottom: 22px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  padding: 12px 20px;
  background: var(--blue);
  color: #fff;
  border: 1px solid var(--blue);
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}

.button:hover {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
  color: #fff;
}

.button-line {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.button-line:hover {
  background: var(--ink);
  color: var(--paper);
}

.button-paper {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.button-paper:hover {
  background: var(--teal-soft);
  border-color: var(--teal-soft);
  color: var(--ink);
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 16px;
  font-weight: 600;
}

.hero-figure {
  margin: 0;
  background: var(--paper-deep);
  min-width: 0;
}

.hero-figure svg,
.service-art svg {
  width: 100%;
  height: auto;
}

.hero-figure figcaption {
  padding: 4px 22px 18px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.band {
  padding: 88px 0;
}

.band-intro {
  max-width: 42rem;
  margin-top: 18px;
  color: var(--ink);
}

.services {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  margin-top: 48px;
}

.service-art {
  background: var(--paper-deep);
  margin-bottom: 22px;
}

.service h3 {
  margin: 8px 0 12px;
}

.service p,
.process p {
  color: var(--ink);
}

.service ul {
  margin-top: 16px;
  padding: 0;
  list-style: none;
}

.service li {
  position: relative;
  margin: 9px 0;
  padding-left: 18px;
}

.service li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 9px;
  height: 1.5px;
  background: var(--teal);
}

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

.waai {
  background: var(--ink);
  color: var(--paper);
}

.waai .kicker {
  color: #b7ddd8;
}

.waai h2,
.waai p {
  color: var(--paper);
}

.waai p + p {
  margin-top: 16px;
}

.waai-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 64px;
}

.waai .lede {
  color: #e7eeea;
}

.example {
  background: var(--paper);
  color: var(--ink);
  border-right: 8px solid var(--teal);
  border-bottom: 8px solid var(--teal);
  padding: 28px 28px 22px;
  min-width: 0;
}

.example figcaption {
  margin-bottom: 18px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.example blockquote {
  margin: 0;
  padding: 0;
}

.example blockquote p + p {
  margin-top: 16px;
}

.who {
  display: block;
  margin-bottom: 4px;
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.example .note {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.process {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 42px;
}

.process article {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  min-width: 0;
}

.step-no {
  display: block;
  margin-bottom: 10px;
  color: var(--teal);
  font-family: var(--serif);
  font-size: 1.8rem;
  letter-spacing: 0;
}

.process h3 {
  margin-bottom: 10px;
}

.contact {
  background: var(--paper-deep);
}

.contact-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: end;
  gap: 36px;
}

.phone {
  margin-top: 22px;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}

.phone a {
  color: var(--ink);
  text-decoration-thickness: 1px;
}

.phone a:hover {
  color: var(--teal);
}

.contact .actions {
  margin-top: 0;
  justify-content: flex-end;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 64px;
}

.footer-grid {
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  align-items: end;
  gap: 36px 48px;
}

.footer-logo {
  display: block;
  width: min(360px, 100%);
  aspect-ratio: 913 / 547;
  position: relative;
  overflow: hidden;
}

.footer-logo img {
  position: absolute;
  width: calc(100% * 1152 / 913);
  max-width: none;
  height: auto;
  left: calc(100% * -120 / 913);
  top: calc(100% * -182 / 547);
}

.footer-name {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 10px;
}

.footer-role,
.footer-links,
.footer-note {
  margin: 0;
}

.footer-role {
  color: var(--teal);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.footer-links {
  margin-top: 10px;
  font-weight: 600;
  font-size: 1.05rem;
}

.footer-note {
  margin-top: 14px;
  max-width: 28rem;
  color: var(--ink-soft);
}

section[id] {
  scroll-margin-top: 1.25rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .waai-grid,
  .services,
  .process,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero h1,
  h2 {
    max-width: none;
  }

  .contact .actions {
    justify-content: flex-start;
  }

  .hero {
    padding: 48px 0 64px;
  }

  .band {
    padding: 64px 0;
  }
}

@media (max-width: 820px) {
  html {
    scroll-padding-top: 9rem;
  }

  .wrap {
    width: min(1120px, calc(100% - 32px));
  }

  .bar {
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 12px;
    min-height: 0;
    padding: 12px 0 4px;
  }

  #site-nav ul {
    justify-content: flex-end;
  }

  .brand-line {
    font-size: 0.82rem;
    letter-spacing: 0.1em;
  }

  .mark {
    width: 68px;
    height: 68px;
  }

  .mark img {
    width: 202px;
    left: -67px;
    top: -29px;
  }
}

@media (max-width: 680px) {
  #site-nav {
    flex: 1 0 100%;
  }

  #site-nav ul {
    justify-content: flex-start;
    margin: 0 -12px;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: min(1120px, calc(100% - 28px));
  }

  .hero {
    padding: 22px 0 40px;
  }

  h1 {
    font-size: 2.2rem;
    line-height: 1.04;
  }

  .hero h1 {
    margin-bottom: 12px;
  }

  .kicker {
    margin-bottom: 8px;
  }

  .lede {
    font-size: 1rem;
    line-height: 1.5;
  }

  .actions {
    margin-top: 16px;
  }

  .band {
    padding: 52px 0;
  }

  .actions,
  .contact .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .example {
    padding: 22px 18px 18px;
  }

  .site-footer {
    padding: 40px 0 48px;
  }

  #site-nav a {
    padding: 0 10px;
    font-size: 0.92rem;
  }
}

@media (max-width: 420px) {
  .mark {
    width: 60px;
    height: 60px;
  }

  .mark img {
    width: 178px;
    left: -59px;
    top: -25px;
  }

  .bar {
    padding-top: 8px;
    padding-bottom: 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .hero-copy > :nth-child(2) {
    animation-delay: 0.06s;
  }

  .hero-copy > :nth-child(3) {
    animation-delay: 0.12s;
  }

  .hero-copy > :nth-child(4) {
    animation-delay: 0.18s;
  }

  .hero-copy > :nth-child(5) {
    animation-delay: 0.24s;
  }

  .hero-figure {
    animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.08s both;
  }

  #site-nav a,
  .button,
  .service-art,
  .brand-line-sub {
    transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media print {
  .site-header {
    position: static;
  }

  .skip {
    display: none;
  }

  .waai {
    background: #fff;
    color: #000;
  }

  .waai h2,
  .waai p,
  .waai .lede {
    color: #000;
  }

  a {
    text-decoration: underline;
  }
}
