@font-face {
  font-family: Onest;
  src: url("/assets/fonts/onest.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --ink: #1d2526;
  --muted: #575f5d;
  --paper: #fff;
  --navy-rgb: 26 45 79;
  --navy: rgb(var(--navy-rgb));
  --navy-wash: rgb(var(--navy-rgb) / 10%);
  --cream: #f8f6f1;
  --orange: #e85818;
  --burnt: #af3708;
  --line: #dfdfd7;
  --radius: 13px;
  --wrap: 1240px;
  color-scheme: light;
  font:
    100%/1.55 Onest,
    Arial,
    sans-serif;
  color: var(--ink);
  scrollbar-color: #a8a398 var(--cream);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
textarea {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
h1,
h2 {
  line-height: 1.03;
  letter-spacing: -0.04em;
}
h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);
  font-weight: 750;
}
p {
  color: var(--muted);
}
::selection {
  background: #ffd5b4;
  color: var(--ink);
}
:focus-visible {
  outline: 3px solid #0b66a4;
  outline-offset: 4px;
}
textarea {
  caret-color: var(--orange);
}
.wrap {
  width: min(var(--wrap), calc(100% - clamp(40px, 9vw, 150px)));
  margin-inline: auto;
}
.icon {
  width: 1.14em;
  height: 1.14em;
  flex: none;
}
.skip {
  position: absolute;
  left: 1rem;
  top: -5rem;
  background: white;
  padding: 0.6rem;
  z-index: 9;
}
.skip:focus {
  top: 0;
}
.top {
  background: var(--orange);
  color: #171917;
  font-size: 1rem;
  font-weight: 750;
}
.top .wrap,
.top span,
.top a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.top .wrap {
  justify-content: space-between;
  min-height: 32px;
}
.top b {
  font-weight: 500;
}
.top a,
.metrics dd {
  font-variant-numeric: tabular-nums;
}
header {
  border-bottom: 1px solid #efeee8;
  background: white;
  position: relative;
  z-index: 4;
}
.nav {
  min-height: 82px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.3rem;
}
.brand img {
  width: clamp(132px, 13vw, 175px);
  height: auto;
}
.nav nav {
  display: flex;
  align-items: center;
  gap: clamp(17px, 2.2vw, 34px);
}
.nav nav a {
  font-size: 1.125rem;
  font-weight: 650;
  padding: 12px 0;
}
.nav nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}
.nav nav a:hover,
.nav nav a[aria-current] {
  color: var(--burnt);
}
.button {
  min-height: 48px;
  padding: 12px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 7px;
  border: 0;
  font-weight: 750;
  font-size: 1rem;
}
.primary {
  background: var(--orange);
  color: #161b19;
}
.primary:hover {
  background: #f46d30;
}
.nav .button {
  background: var(--ink);
  color: white;
  min-height: 43px;
}
.nav .button:hover {
  background: #394140;
}
.hamb {
  display: none;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 740;
  font-size: 1rem;
}
.text-link .icon,
.listing > .icon {
  transition: transform 0.2s;
}
.text-link:hover .icon {
  transform: translateX(4px);
}
/* A small, stationary paper grain keeps the light homepage surfaces tactile. */
.home-surface {
  --home-grain: url("./paper-grain.png");
  background: #fbf9f5 var(--home-grain) repeat;
}
.home-surface .about { background-image: var(--home-grain); }
.hero {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  align-items: center;
  gap: clamp(18px, 4vw, 66px);
  padding-block: clamp(36px, 5vw, 78px);
}
.pitch h1 {
  font-size: clamp(3.6rem, 6.15vw, 5.85rem);
  font-weight: 800;
  line-height: 1.01;
}
.pitch h1 em {
  color: var(--orange);
  display: block;
  font-style: normal;
}
.pitch > p {
  max-width: 42ch;
  margin: 22px 0 30px;
  font-size: clamp(1.0625rem, 1.4vw, 1.2rem);
  line-height: 1.65;
}
.actions {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.8vw, 32px);
  flex-wrap: wrap;
}
.mosaic {
  height: clamp(330px, 28vw, 414px);
  display: grid;
  grid-template-columns: minmax(120px, 0.73fr) 1.65fr;
  grid-template-rows: 1fr 0.74fr 0.69fr;
  gap: 8px;
}
.mosaic > * {
  border-radius: var(--radius);
  overflow: hidden;
}
.year,
.dark-tile {
  padding: clamp(12px, 1.4vw, 22px);
}
.year {
  display: flex;
  flex-flow: column;
  justify-content: flex-end;
  background: var(--orange);
  color: #171917;
}
.year-symbol {
  margin-bottom: auto;
  display: flex;
}
.year-symbol .icon {
  width: 24px;
  height: 24px;
}
.year strong {
  font-size: clamp(31px, 3.3vw, 54px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-top: 4px;
}
.year small {
  line-height: 1.2;
  font-weight: 650;
  font-size: 1rem;
}
.dark-tile {
  grid-column: 1;
  grid-row: 2;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  line-height: 1.2;
  font-size: clamp(0.95rem, 1.25vw, 1.25rem);
  font-weight: 700;
}
.dark-tile > .icon {
  color: #ff8b50;
}
.dark-tile:hover {
  background: #233c65;
}
.main-photo {
  grid-column: 2;
  grid-row: 1/3;
  position: relative;
  background: #d2d7d8;
}
.slide,
.slide img,
.strip-photo img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.slide img {
  object-position: 55% 53%;
}
.slide figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 34px 18px 14px;
  color: white;
  background: linear-gradient(transparent, rgba(12, 17, 17, 0.78));
  font-weight: 760;
  font-size: 1.1rem;
}
.next {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 100%;
  background: white;
}
.next {
  position: absolute;
  right: 12px;
  bottom: 12px;
}
.next:hover {
  background: #fbe1cf;
}
.strip-photo {
  grid-column: 1/-1;
  position: relative;
}
.strip-photo img {
  object-position: 50% 50%;
}
.journey {
  background: #f5f2eb var(--home-grain) repeat;
  overflow: hidden;
  border-block: 1px solid #eae6de;
  padding: clamp(38px, 4.6vw, 70px) 0 clamp(32px, 3.8vw, 58px);
}
.journey-head,
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.journey-head h2 span {
  color: var(--orange);
}
.journey-head p {
  margin-top: 0.65rem;
}
.route {
  position: relative;
  margin-top: 15px;
  isolation: isolate;
}
.road {
  /* Separate the static textured deck from the animated dash during scroll. */
  transform: translateZ(0);
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  clip-path: inset(0 -100vw -100vh);
}
/* A projected ribbon with an enamel face and a deeper, directionally lit edge. */
.road-base {
  fill: #a33d04;
  filter: drop-shadow(-3px 4px 2px #68390c30)
    drop-shadow(-10px 14px 7px #30261940);
}
.road-edge,
.road-bevel,
.lanes,
.trace {
  fill: none;
}
.road-bevel {
  stroke: #fff0ca;
  stroke-width: 1.3;
  opacity: 0.77;
}
.road-edge {
  stroke: #e46408;
  stroke-width: 1.15;
  opacity: 0.72;
}
.lanes {
  stroke: #fff2d6;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-dasharray: 11 9;
}
.trace {
  stroke: #fff7db;
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-dasharray: 4 100;
  animation: travel 9s linear infinite;
}
.route ol {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  position: relative;
  gap: 12px;
}
.route li {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.object {
  width: clamp(88px, 9.7vw, 148px);
  aspect-ratio: 1;
  position: relative;
  display: grid;
  place-items: center;
  margin: 5px 0 58px;
}
.route li:nth-child(even) .object {
  top: 17px;
}
/* Project each cutout onto the road from the same upper-right light. */
.object::before,
.object::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.object::before {
  inset: 0;
  background: var(--shadow-sprite) center / contain no-repeat;
  transform-origin: 50% 86%;
  transform: matrix(0.96, -0.02, 0.38, -0.24, 0, 0);
  filter: brightness(0) blur(5px);
  opacity: 0.32;
  animation: cast-shadow 9s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
.object::after {
  inset: 78% 11% 5% 8%;
  background: radial-gradient(
    ellipse,
    #381a078f,
    #56270942 43%,
    transparent 74%
  );
  transform: rotate(-4deg);
}
@keyframes cast-shadow {
  0%,
  24%,
  100% {
    opacity: 0.32;
  }
  10% {
    opacity: 0.23;
  }
}
.object img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(-1px 2px 1px #40260d35);
  animation: dock 9s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  transform-origin: 50% 95%;
}
.step-copy {
  max-width: 246px;
}
.step-copy h3 {
  font-size: clamp(1.17rem, 1.65vw, 1.6rem);
  letter-spacing: -0.03em;
  line-height: 1.18;
  margin: 0.1rem 0 0.35rem;
}
.step-copy p {
  font-size: 1rem;
  line-height: 1.5;
}
.step-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.6rem 0.95rem;
  background: var(--ink);
  color: white;
  border-radius: 7px;
  min-height: 44px;
  margin-top: 0.55rem;
  font-weight: 650;
  font-size: 1rem;
}
.step-call .icon {
  width: 21px;
  height: 21px;
  color: #ffb07b;
}
.step-call:hover {
  background: #35413e;
}
.journey:not(.running) .object::before,
.journey:not(.running) :is(.object img, .trace) {
  animation-play-state: paused;
}
@keyframes travel {
  from {
    stroke-dashoffset: 4;
  }
  to {
    stroke-dashoffset: -100;
  }
}
@keyframes dock {
  0%,
  24%,
  100% {
    transform: none;
  }
  10% {
    transform: translateY(-9px) rotate(-2deg);
  }
  18% {
    transform: translateY(-2px) rotate(1deg);
  }
}
.block,
.inner,
.refs,
.about {
  padding-block: clamp(52px, 6vw, 92px);
}
.section-head {
  margin-bottom: 32px;
}
.section-head .text-link {
  flex: none;
}
.list {
  display: grid;
  gap: 16px;
}
.services {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 316px), 1fr));
}
.listing {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 16px;
  overflow: hidden;
  min-width: 0;
  padding: 9px 14px 9px 9px;
  background: white;
}
.listing:hover {
  border-color: var(--orange);
}
.listing img {
  width: 32%;
  height: 104px;
  object-fit: cover;
  border-radius: 7px;
}
.listing > div {
  min-width: 0;
}
.listing h3 {
  font-size: clamp(1rem, 1.45vw, 1.26rem);
  letter-spacing: -0.025em;
  line-height: 1.32;
}
.listing > .icon {
  color: var(--burnt);
  margin-left: auto;
}
.listing:hover > .icon {
  transform: translate(2px, -2px);
}
.about {
  background: var(--navy-wash);
}
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(25px, 6vw, 88px);
  align-items: center;
}
.about-grid img {
  border-radius: var(--radius);
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.about-grid p {
  margin: 18px 0;
}
.blogs {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 255px), 1fr));
}
.blogs .listing {
  padding: 0;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  position: relative;
}
.blogs .listing img {
  width: 100%;
  height: 200px;
  border-radius: 0;
}
.blogs .listing > div {
  padding: 18px 38px 22px 18px;
}
.blogs .listing > .icon {
  position: absolute;
  right: 15px;
  bottom: 24px;
}
.blogs small {
  color: var(--muted);
  font-size: 1rem;
}
.refs {
  border-top: 1px solid var(--line);
}
.refs > div {
  display: flex;
  gap: clamp(18px, 3vw, 45px);
  align-items: center;
  flex-wrap: wrap;
}
.refs img {
  width: clamp(72px, 10vw, 130px);
  height: 60px;
  object-fit: contain;
}
.closing {
  background: var(--orange);
  padding: 50px 0;
}
.closing .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.closing .button {
  background: var(--ink);
  color: white;
}
footer {
  background: var(--ink);
  color: #fff;
  padding: 52px 0;
}
.foot {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
}
.footer-credit {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid #485050;
  font-size: 1rem;
  color: #e1e5df;
}
.footer-credit a { text-decoration: underline; text-underline-offset: 3px; }
.foot strong {
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}
.foot p,
.foot a {
  color: #e1e5df;
  font-size: 1rem;
}
.foot p {
  max-width: 37ch;
  margin: 12px 0;
}
.foot b,
.foot a {
  display: block;
}
.foot b {
  margin-bottom: 10px;
}
.foot a {
  margin: 5px 0;
}
.foot a:hover,
.back:hover {
  text-decoration: underline;
}
.inner h1 {
  font-size: clamp(2.7rem, 5vw, 5rem);
  margin: 14px 0 38px;
  max-width: 20ch;
}
.back {
  color: var(--burnt);
  font-weight: 650;
  font-size: 1rem;
}
.reading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(215px, 0.32fr);
  gap: 5vw;
}
.cover {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 28px;
}
.prose {
  font-size: 1.125rem;
  line-height: 1.65;
  max-width: 72ch;
  overflow-wrap: anywhere;
}
.prose :is(h1, h2, h3, h4) {
  font-size: clamp(1.22rem, 2.5vw, 2rem);
  line-height: 1.25;
  margin: 1.2em 0 0.5em;
  letter-spacing: -0.025em;
}
.prose p {
  margin: 0.7em 0;
}
.prose p:empty {
  display: none;
}
.reading aside {
  min-width: 0;
  align-self: start;
  background: var(--navy-wash);
  padding: 22px;
  border-radius: var(--radius);
}
aside h2,
.contact-grid h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}
.reading aside .text-link {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
aside .button {
  margin-top: 16px;
}
.metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
}
.metrics dd {
  font-size: 2rem;
  font-weight: 780;
  margin: 0;
}
.docs,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px;
}
.docs img {
  width: 100%;
  height: 330px;
  object-fit: contain;
  background: var(--navy-wash);
  border-radius: var(--radius);
}
.contact-grid > div,
.contact-grid form {
  background: var(--navy-wash);
  padding: clamp(20px, 3vw, 40px);
  border-radius: var(--radius);
}
.contact-grid p {
  margin: 20px 0;
}
.contact-grid address {
  font-style: normal;
}
.contact-grid label,
.contact-grid small {
  display: block;
}
.contact-grid small {
  font-size: 1rem;
  margin-top: 8px;
}
.contact-grid textarea {
  margin: 12px 0;
  width: 100%;
  border: 1px solid #9c9b93;
  border-radius: 7px;
  padding: 12px;
  resize: vertical;
}
.map {
  width: 100%;
  height: 300px;
  margin-top: 28px;
  border: 0;
}
@media (max-width: 900px) {
  .nav {
    gap: 14px;
  }
  .nav nav {
    gap: 15px;
  }
  .nav nav a {
    font-size: 1.125rem;
  }
  .hero {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
  .pitch h1 {
    font-size: clamp(2.9rem, 6.4vw, 4rem);
  }
  .mosaic {
    grid-template-columns: minmax(100px, 0.62fr) 1.22fr;
  }
  .actions .button {
    padding: 12px 15px;
  }
  .actions {
    gap: 14px;
  }
  .reading {
    grid-template-columns: minmax(0, 1fr) minmax(190px, 0.32fr);
  }
}
@media (max-width: 850px) {
  .nav {
    min-height: 65px;
    gap: 12px;
  }
  .nav .brand {
    margin-right: auto;
  }
  .brand img {
    width: 122px;
  }
  .nav .button {
    min-height: 44px;
    padding: 8px 13px;
    font-size: 1rem;
  }
  .hamb {
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: white;
    width: 40px;
    height: 40px;
  }
  .hamb .icon:last-child,
  .hamb[aria-expanded="true"] .icon:first-child {
    display: none;
  }
  .hamb[aria-expanded="true"] .icon:last-child {
    display: block;
  }
  .nav nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--line);
    padding: 8px 18px 18px;
    gap: 0;
  }
  .nav nav.open {
    display: grid;
  }
  .nav nav a {
    padding: 10px 0;
    font-size: 1.125rem;
  }
}
@media (max-width: 740px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .top {
    font-size: 0.9375rem;
  }
  .top .wrap {
    min-height: 29px;
  }
  .top span,
  .top a {
    gap: 0.28rem;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-block: 34px 28px;
  }
  .pitch h1 {
    font-size: clamp(3.3rem, 11vw, 4.8rem);
  }
  .pitch > p {
    margin: 14px 0 20px;
  }
  .mosaic {
    height: clamp(244px, 63vw, 345px);
    grid-template-columns: minmax(112px, 0.7fr) 1.6fr;
    gap: 6px;
    grid-template-rows: 1.2fr 0.83fr 0.58fr;
  }
  .year,
  .dark-tile {
    padding: 12px;
  }
  .year strong {
    font-size: clamp(1.75rem, 7.7vw, 2.25rem);
  }
  .year-symbol .icon {
    width: 19px;
    height: 19px;
  }
  .year small {
    font-size: 0.9375rem;
  }
  .dark-tile {
    font-size: 1rem;
  }
  .slide figcaption {
    font-size: 1rem;
    padding: 26px 13px 10px;
  }
  .next {
    width: 34px;
    height: 34px;
    right: 8px;
    bottom: 8px;
  }
  .mosaic > * {
    border-radius: 9px;
  }
  .journey {
    padding: 0;
  }
  .journey > .wrap {
    min-height: calc(100svh - 2px);
    display: flex;
    flex-direction: column;
    padding-block: clamp(22px, 4svh, 40px);
    width: min(100% - 36px, 540px);
  }
  .journey-head {
    align-items: flex-start;
  }
  .journey-head h2 {
    font-size: clamp(2.08rem, 7.65vw, 3.1rem);
  }
  .journey-head p {
    font-size: 1rem;
    margin-top: 6px;
  }
  .route {
    display: flex;
    flex: 1;
    margin-top: 14px;
  }
  .route ol {
    width: 100%;
    flex-direction: column;
    gap: 3px;
  }
  .route li {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    width: 100%;
    gap: 10%;
    align-items: center;
    text-align: left;
    min-height: 106px;
  }
  .route li:nth-child(even) {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }
  .route li:nth-child(even) .object {
    grid-column: 2;
    grid-row: 1;
    top: 0;
  }
  .route li:nth-child(even) .step-copy {
    grid-column: 1;
    grid-row: 1;
    text-align: right;
  }
  .object {
    width: min(100%, clamp(90px, 14svh, 148px));
    justify-self: center;
    margin: 0;
  }
  .step-copy h3 {
    font-size: clamp(1.13rem, 4.9vw, 1.48rem);
    margin: 2px 0;
  }
  .step-copy p {
    font-size: 1rem;
    line-height: 1.4;
  }

  .step-copy {
    position: relative;
    padding: 4px 0;
  }
  .section-head {
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 20px;
  }
  .about-grid,
  .reading,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .about-grid img {
    height: 230px;
  }
  .foot {
    grid-template-columns: 1fr 1fr;
  }
  .foot > div:first-child {
    grid-column: 1/-1;
  }
  .closing .wrap {
    align-items: flex-start;
    flex-direction: column;
  }
  .docs {
    grid-template-columns: 1fr;
  }
  .reading aside {
    margin-top: 20px;
  }
  .inner h1 {
    margin-bottom: 25px;
  }
  .refs img {
    width: 78px;
    height: 43px;
  }
  .blogs .listing img {
    height: 180px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .trace {
    display: none;
  }
}

/* Each object takes its turn while the highlight travels along the road. */
.route li:first-child .object img {
  animation-name: ring;
}
.route li:nth-child(3) .object img {
  animation-name: drive;
}
@keyframes ring {
  0%,
  26%,
  100% {
    transform: none;
  }
  5%,
  12% {
    transform: translateY(-3px) rotate(-5deg);
  }
  9%,
  16% {
    transform: translateY(-3px) rotate(4deg);
  }
  21% {
    transform: rotate(-1deg);
  }
}
@keyframes drive {
  0%,
  26%,
  100% {
    transform: none;
  }
  6% {
    transform: translate(-5px, -1px) rotate(-1deg);
  }
  15% {
    transform: translate(7px, -3px) rotate(1deg);
  }
  21% {
    transform: translate(3px, -1px);
  }
}
@media (max-width: 380px) {
  .top span .icon {
    display: none;
  }
  .top .wrap {
    width: calc(100% - 20px);
  }
  .top {
    font-size: 0.9375rem;
  }
  .mosaic {
    grid-template-columns: minmax(112px, 0.7fr) 1.5fr;
  }
  .nav {
    gap: 7px;
  }
  .brand img {
    width: 108px;
  }
  .pitch h1 {
    font-size: clamp(2.75rem, 12vw, 3.1rem);
  }
}
@media (prefers-reduced-motion: reduce) {
  .route li .object img {
    animation: none;
  }
}
@media (max-width: 740px) and (max-height: 700px) {
  .journey > .wrap {
    padding-block: 14px;
    min-height: calc(100svh - 2px);
  }
  .journey-head h2 {
    font-size: 1.96rem;
  }
  .journey-head p {
    margin-top: 3px;
  }
  .route {
    margin-top: 6px;
  }
  .route ol {
    gap: 0;
  }
  .route li {
    min-height: 86px;
    column-gap: 6%;
  }
  .object {
    width: min(100%, clamp(72px, 13svh, 96px));
  }
  .step-copy h3 {
    font-size: 1.08rem;
  }
  .step-copy p {
    font-size: 0.9375rem;
    line-height: 1.35;
  }
}

/* Align the desktop captions below the sculpture, with a dotted sight line
   from each landing. On phones the captions occupy the outside of each turn. */
@media (min-width: 741px) {
  .route {
    --rise: clamp(32px, 4.5vw, 68px);
    margin-top: 40px;
  }
  .route li:nth-child(odd) {
    padding-top: var(--rise);
  }
  .route li:nth-child(even) .object {
    top: 0;
    margin-bottom: calc(68px + var(--rise));
  }
  .object {
    width: clamp(92px, 11vw, 166px);
    margin-bottom: 68px;
  }
  .step-copy {
    position: relative;
  }
  .step-copy::before {
    content: "";
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    height: 24px;
    border-left: 2px dotted #d57532;
  }
  .route li:nth-child(even) .step-copy::before {
    height: calc(24px + var(--rise));
  }
}
@media (max-width: 740px) {
  .route li {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    column-gap: 11%;
  }
  .route li:nth-child(even) {
    grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  }
  .object {
    justify-self: end;
  }
  .route li:nth-child(even) .object {
    justify-self: start;
  }
  .step-copy {
    transform: translateY(clamp(18px, 3.8svh, 34px));
  }
  .step-copy::before {
    content: "";
    position: absolute;
    top: 1.1em;
    right: calc(100% + 7px);
    width: clamp(10px, 4vw, 24px);
    border-top: 2px dotted #d57532;
  }
  .route li:nth-child(even) .step-copy::before {
    right: auto;
    left: calc(100% + 7px);
  }
}

/* Short screens keep the hairpins inside an illustration column so the
   contact button and the four captions each have an uninterrupted line. */
@media (max-width: 740px) and (max-height: 700px) {
  .route li,
  .route li:nth-child(even) {
    grid-template-columns: minmax(0, 0.93fr) minmax(0, 1.07fr);
    column-gap: 6%;
  }
  .route li .object,
  .route li:nth-child(even) .object {
    grid-column: 1;
    grid-row: 1;
    width: min(100%, 13svh);
    justify-self: start;
  }
  .route li:nth-child(even) .object {
    justify-self: end;
  }
  .route li .step-copy,
  .route li:nth-child(even) .step-copy {
    transform: none;
    grid-column: 2;
    grid-row: 1;
    text-align: left;
  }
  .step-copy::before,
  .route li:nth-child(even) .step-copy::before {
    right: calc(100% + 5px);
    left: auto;
    width: 10px;
  }
  .step-call {
    white-space: nowrap;
    padding-inline: 0.65rem;
  }
}

img[data-home-src]:not([src]) {
  visibility: hidden;
}
@media (prefers-reduced-motion: no-preference) {
  html.journey-navigation {
    scroll-behavior: smooth;
  }
}

.home-services {
  padding-block: clamp(42px, 5vw, 78px);
  background: var(--navy);
  color: var(--paper);
}
.home-services-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(24px, 2.5vw, 38px);
}
.home-services-head h2 {
  font-size: clamp(2.15rem, 4.4vw, 4.35rem);
}
.home-services-head h2 span {
  color: var(--orange);
}
.home-services-head .text-link {
  min-height: 44px;
}
.home-services-head .icon,
.service-frame > .icon {
  color: #ffab74;
}
.service-frames {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.service-frames li {
  flex: 1 1 160px;
  min-width: 0;
}
.service-frame {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20px;
  align-content: start;
  align-items: start;
  column-gap: 7px;
}
.service-frame-photo {
  grid-column: 1/-1;
  aspect-ratio: 1.38;
  border-radius: 9px;
  overflow: hidden;
  background: #293f60;
  margin-bottom: 17px;
}
.service-frame-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-frame-copy h3 {
  font-size: clamp(1.19rem, 1.58vw, 1.52rem);
  letter-spacing: -0.03em;
  line-height: 1.18;
  margin: 0;
}
.service-frame-copy p {
  font-size: 1rem;
  line-height: 1.5;
  color: #dce5f3;
  margin: 10px 0 0;
}
.service-frame > .icon {
  margin-top: 3px;
}
.service-frame:is(:hover, :focus-visible) h3 {
  color: #ffb383;
}
@media (max-width: 1039px) {
  .service-frames {
    display: block;
    border-top: 1px solid rgb(255 255 255 / 32%);
  }
  .service-frames li {
    border-bottom: 1px solid rgb(255 255 255 / 22%);
  }
  .service-frame {
    grid-template-columns: clamp(100px, 16vw, 155px) minmax(0, 1fr) 22px;
    column-gap: clamp(14px, 2.5vw, 30px);
    align-items: center;
    padding: 14px 0;
  }
  .service-frame-photo {
    grid-column: 1;
    aspect-ratio: 1.55;
    margin: 0;
  }
  .service-frame-copy h3 {
    font-size: clamp(1.18rem, 3vw, 1.55rem);
  }
  .service-frame-copy p {
    margin-top: 4px;
    max-width: 50ch;
  }
}
@media (max-width: 599px) {
  .home-services-head {
    display: block;
    margin-bottom: 13px;
  }
  .home-services-head .text-link {
    margin-top: 5px;
  }
  .service-frame {
    grid-template-columns: clamp(66px, 21vw, 94px) minmax(0, 1fr) 17px;
    gap: 10px;
  }
  .service-frame-photo {
    aspect-ratio: 0.94;
    border-radius: 6px;
  }
  .service-frame-copy p {
    font-size: 1rem;
    line-height: 1.4;
  }
}
