@font-face {
  font-family: Lato;
  src: url("assets/lato-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Lato;
  src: url("assets/lato-bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: Lato;
  src: url("assets/lato-black.ttf") format("truetype");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f3ebdd;
  --ink: #034554;
  --coral: #cf6040;
  --coral-text: #ae3e24;
  --mustard: #e7af43;
  --sage: #748b77;
  --line: #35636b;
  --gutter: clamp(24px, 3.472vw, 64px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image: url("assets/paper.webp");
  background-size: 640px 640px;
  font-family: Lato, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body, h1, h2, p { margin: 0; }

a { color: inherit; }

svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }

a:focus-visible, [tabindex="-1"]:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 6px;
  border-radius: 3px;
}

.page-width { width: min(100%, 1600px); margin-inline: auto; }

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 12px 20px;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-200%);
}

.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; border-bottom: 1px solid var(--ink); }

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 21px;
  text-decoration: none;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.2;
}

.brand-mark { display: block; flex: 0 0 auto; object-fit: contain; }

.contact-button {
  min-height: 44px;
  padding: 11px 28px;
  border-radius: 6px;
  color: #fff9ed;
  background: #b84b30;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 160ms ease;
}

.contact-button:hover { background: #a33e26; }

.header-rule { position: relative; height: 0; }

.shapes {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 5px;
  left: calc(var(--gutter) - 12px);
  bottom: -8px;
  padding-inline: 12px;
  background-color: var(--paper);
  background-image: url("assets/paper.webp");
  background-size: 640px 640px;
}

.circle { width: 15px; height: 15px; border-radius: 50%; background: var(--coral); }
.square { width: 14px; height: 14px; background: var(--mustard); }
.triangle { width: 16px; height: 15px; background: var(--sage); clip-path: polygon(50% 0, 100% 100%, 0 100%); }

.hero { border-bottom: 1px solid var(--line); }

.hero-inner {
  position: relative;
  min-height: 420px;
  padding: 69px var(--gutter) 48px;
  display: grid;
  grid-template-columns: 53% 47%;
  align-items: center;
}

.hero-copy { position: relative; z-index: 1; }

h1 {
  font-size: clamp(42px, 4.167vw, 64px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -1.5px;
}

.hero-copy > p {
  max-width: 455px;
  margin-top: 16px;
  font-size: 23px;
  line-height: 1.44;
}

.conversation-link {
  width: fit-content;
  min-height: 44px;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid currentColor;
  color: var(--coral-text);
  font-size: 22px;
  line-height: 1.4;
  text-decoration: none;
}

.conversation-link svg { stroke-width: 1.5; transition: transform 160ms ease; }
.conversation-link:hover svg { transform: translateX(4px); }

.hero-art {
  --art-bottom: 12px;
  position: absolute;
  right: 20px;
  bottom: var(--art-bottom);
  width: 46.5%;
  height: auto;
  max-height: calc(100% - var(--art-bottom) - 14px);
  object-fit: contain;
  object-position: right bottom;
  display: block;
}

.services-inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }

.service {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 34px;
  padding: 44px var(--gutter) 32px;
}

.service + .service::before {
  content: "";
  position: absolute;
  left: 0;
  top: 35px;
  bottom: 26px;
  width: 1px;
  background: var(--line);
}

.service-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 106px;
  height: 106px;
  border-radius: 18px;
  flex: 0 0 auto;
  overflow: hidden;
}

.service-icon::before, .contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/paper.webp");
  background-size: 480px 480px;
  mix-blend-mode: multiply;
  opacity: .4;
  pointer-events: none;
}

.service-icon svg { position: relative; width: 80px; height: 80px; stroke-width: 3.3; }
.web-icon { color: #f8f1e1; background: #074b58; }
.phone-icon { color: var(--ink); background: var(--mustard); }
.thinking-icon { color: #f8f1e1; background: var(--sage); }

.service-copy { min-width: 0; }
.service-number { display: block; margin-bottom: 4px; color: #4e6655; font-size: 18px; line-height: 1.4; font-weight: 700; }
.service h2 { font-size: 28px; line-height: 1.2; font-weight: 900; letter-spacing: -.45px; }
.service p { margin-top: 14px; font-size: 18px; line-height: 1.45; }

.contact { position: relative; color: #fff8e8; background: var(--coral); scroll-margin-block: 24px; }
.contact:focus-visible { outline-offset: -6px; }

.contact-inner {
  position: relative;
  display: grid;
  grid-template-columns: 44.2% 45.8% 10%;
  align-items: center;
  padding: 36px var(--gutter) 38px;
  min-height: 177px;
}

.contact h2 { font-size: 48px; font-weight: 900; line-height: 1.06; letter-spacing: -.8px; padding-right: 22px; }
.contact-details { padding: 4px 30px 4px 64px; border-inline: 1px solid #fff3dc; }
.contact-detail { min-height: 44px; display: flex; align-items: center; gap: 22px; font-size: 24px; line-height: 1.4; text-decoration: none; }
.contact-detail svg { flex: 0 0 30px; stroke-width: 2.3; }
.contact-detail span { overflow-wrap: anywhere; }
a.contact-detail:hover span { text-decoration: underline; text-underline-offset: 5px; }
.phone-glyph { fill: currentColor; stroke: none; }
.contact-arrow { display: grid; place-items: center; min-height: 64px; margin-left: 20px; }
.contact-arrow svg { stroke-width: 2; transition: transform 160ms ease; }
.contact-arrow:hover svg { transform: translateX(5px); }
.contact a:focus-visible { outline-color: #fff8e8; }

.footer-inner { min-height: 127px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; padding: 28px var(--gutter) 35px; }
.footer-brand { gap: 16px; font-size: 20px; min-height: 44px; }
.footer-brand .brand-mark { width: 96px; height: 31px; }
.legal-detail { border-left: 1px solid var(--line); padding-left: 42px; font-style: normal; font-size: 12px; line-height: 1.7; }

@media (min-width: 1600px) {
  .hero-art { right: 26px; }
}

@media (max-width: 1250px) {
  .service { gap: 20px; padding-inline: 28px; }
  .service-icon { width: 84px; height: 84px; border-radius: 15px; }
  .service-icon svg { width: 65px; height: 65px; }
  .service h2 { font-size: 25px; }
  .service p { font-size: 17px; }
  .contact h2 { font-size: 40px; }
  .contact-details { padding-left: 34px; padding-right: 20px; }
  .contact-detail { gap: 16px; font-size: 20px; font-weight: 700; }
  .footer-brand { gap: 12px; font-size: 17px; }
  .footer-brand .brand-mark { width: 76px; height: auto; }
  .legal-detail { padding-left: 24px; }
}

@media (max-width: 1100px) {
  .hero-inner { min-height: 390px; padding-top: 56px; grid-template-columns: 55% 45%; }
  h1 { font-size: clamp(38px, 4.5vw, 49px); }
  .hero-copy > p { max-width: 400px; font-size: 20px; }
  .hero-art { --art-bottom: 30px; right: 14px; width: 44%; }
  .conversation-link { font-size: 20px; }
  .service { display: block; padding: 30px var(--gutter); }
  .service-copy { margin-top: 18px; }
  .service h2 { font-size: 24px; }
  .contact-inner { grid-template-columns: 45% 55%; padding-block: 32px; }
  .contact h2 { font-size: 36px; }
  .contact-details { border-right: 0; }
  .contact-arrow { display: none; }
  .footer-inner { grid-template-columns: 32% 34% 34%; gap: 24px 0; }
}

@media (max-width: 760px) {
  :root { --gutter: 24px; }
  .header-inner { min-height: 84px; padding-block: 20px; gap: 12px; }
  .brand { gap: 10px; font-size: 19px; }
  .brand-mark { width: 76px; height: auto; }
  .contact-button { padding: 12px 16px; font-size: 15px; }
  .hero-inner { display: flex; flex-direction: column; align-items: stretch; padding: 48px var(--gutter) 0; }
  .hero-copy { max-width: 560px; }
  h1 { max-width: 550px; font-size: clamp(36px, 7.6vw, 52px); letter-spacing: -.9px; line-height: 1.12; }
  .desktop-break { display: none; }
  .hero-copy > p { max-width: 490px; margin-top: 20px; font-size: 20px; line-height: 1.5; }
  .conversation-link { margin-top: 16px; font-size: 20px; }
  .hero-art { position: static; align-self: center; width: calc(100% + 20px); max-width: 600px; height: auto; max-height: none; margin: 26px -10px 12px; }
  .services-inner { display: block; }
  .service { display: flex; align-items: center; gap: 24px; padding: 28px var(--gutter); }
  .service + .service::before { top: 0; left: var(--gutter); right: var(--gutter); bottom: auto; width: auto; height: 1px; opacity: .45; }
  .service-icon { width: 86px; height: 86px; border-radius: 16px; }
  .service-copy { margin-top: 0; }
  .service-number { font-size: 15px; margin-bottom: 3px; }
  .service h2 { font-size: 26px; }
  .service p { max-width: 340px; font-size: 17px; line-height: 1.45; margin-top: 8px; }
  .contact-inner { grid-template-columns: minmax(0, 1fr); padding: 32px var(--gutter); gap: 24px; }
  .contact h2 { max-width: 500px; padding: 0; font-size: clamp(34px, 7.5vw, 46px); line-height: 1.08; }
  .contact-details { padding: 18px 0 0; border-left: 0; border-top: 1px solid #fff3dc; }
  .contact-detail { gap: 16px; font-size: 20px; }
  .contact-detail svg { width: 25px; height: 25px; flex-basis: 25px; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); padding: 30px var(--gutter); gap: 24px; align-items: start; }
  .footer-brand { grid-column: 1 / -1; font-size: 21px; gap: 16px; }
  .footer-brand .brand-mark { width: 96px; height: 31px; }
  .legal-detail { border: 0; padding-left: 0; font-size: 16px; }
}

@media (max-width: 420px) {
  :root { --gutter: 20px; }
  .header-inner .brand { gap: 8px; font-size: 16px; }
  .header-inner .brand-mark { width: 48px; }
  .header-inner .brand span { white-space: nowrap; }
  .contact-button { font-size: 14px; padding-inline: 12px; }
  .hero-copy > p { font-size: 18px; }
  .service { gap: 20px; }
  .service-icon { width: 72px; height: 72px; border-radius: 14px; }
  .service-icon svg { width: 58px; height: 58px; }
  .service h2 { font-size: 23px; }
  .service p { font-size: 16px; }
  .contact-detail { font-size: 19px; gap: 12px; }
}

@media (max-width: 360px) {
  :root { --gutter: 16px; }
  .header-inner { gap: 8px; }
  .header-inner .brand { font-size: 14px; }
  .header-inner .brand-mark { width: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
