:root {
  --bg: #eff4f8;
  --hero-bg: #84a8d4;
  --paper: #f8fafc;
  --ink: #1f2a36;
  --muted: #5e6d7b;
  --line: rgba(31, 42, 54, 0.22);
  --accent: #416589;
  --accent-deep: #304f6f;
  --rose: #a86f78;
  --olive: #74899b;
  --white: #fafcfe;
  --footer: #172432;
  --display: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --shell: min(91vw, 108rem);
  --section-space: clamp(6rem, 10vw, 11rem);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, .3vw + .92rem, 1.15rem);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: .06em;
  text-underline-offset: .22em;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.045em;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  padding-block: var(--section-space);
}

.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;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  padding: .8rem 1rem;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-200%);
  transition: transform .2s ease;
}

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

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: 5.8rem;
  border-bottom: 1px solid var(--line);
  background: rgba(239, 244, 248, .96);
  transition: box-shadow .25s ease, height .25s var(--ease);
}

.site-header.is-scrolled {
  height: 4.9rem;
  box-shadow: 0 .4rem 1.8rem rgba(31, 42, 54, .06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  text-decoration: none;
  white-space: nowrap;
}

.brand__name {
  font-family: var(--display);
  font-size: 2.05rem;
  line-height: 1;
  letter-spacing: -.035em;
}

.brand__name span,
.footer-brand span {
  color: var(--rose);
}

.brand__divider {
  width: 1px;
  height: 1.85rem;
  background: var(--line);
}

.brand__descriptor {
  font-size: .83rem;
  letter-spacing: .015em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(.8rem, 1.2vw, 1.1rem);
  font-size: .9rem;
}

.primary-nav > a:not(.button) {
  position: relative;
  padding-block: .75rem;
  text-decoration: none;
  white-space: nowrap;
}

.primary-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: .55rem;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s var(--ease);
}

.primary-nav > a:not(.button):hover::after,
.primary-nav > a:not(.button):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
}

.button {
  display: inline-flex;
  min-height: 3.8rem;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: .9rem 1.65rem;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--white);
  font-family: var(--sans);
  font-size: .93rem;
  line-height: 1.2;
  text-decoration: none;
  transition: background .25s ease, color .25s ease, transform .25s var(--ease);
}

.button:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
}

.button svg {
  width: 1.5rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.button--small {
  min-height: 3.1rem;
  flex-shrink: 0;
  padding-inline: .9rem;
  white-space: nowrap;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-height: 3rem;
  font-family: var(--display);
  font-size: 1.15rem;
  text-decoration: underline;
}

.text-link svg {
  width: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.hero {
  background-color: var(--hero-bg);
  background-image:
    radial-gradient(ellipse at 14% 18%, rgba(238, 246, 255, .24), transparent 39%),
    radial-gradient(ellipse at 79% 72%, rgba(48, 79, 111, .13), transparent 42%),
    radial-gradient(ellipse at 54% 8%, rgba(255, 255, 255, .12), transparent 34%);
  border-bottom: 1px solid var(--line);
}

.hero__inner {
  display: grid;
  min-height: calc(100svh - 5.8rem);
  grid-template-columns: repeat(12, 1fr);
  align-items: stretch;
}

.hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  grid-column: 1 / 7;
  grid-row: 1;
  justify-content: center;
  padding: clamp(4rem, 8vw, 8rem) clamp(2rem, 3vw, 3.5rem) 2rem 0;
}

.hero__index {
  display: flex;
  align-items: center;
  gap: .8rem;
  width: max-content;
  margin-bottom: 2rem;
  color: var(--accent-deep);
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .16em;
}

.hero__index span {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border: 1px solid var(--accent-deep);
  border-radius: 50%;
}

.hero__index i {
  display: block;
  width: 2.75rem;
  height: 1px;
  background: var(--accent-deep);
  opacity: .65;
}

.hero__eyebrow {
  margin: 0 0 1.25rem;
  color: var(--accent-deep);
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.hero__eyebrow span {
  margin-inline: .45rem;
  color: var(--rose);
}

.hero h1 {
  position: relative;
  z-index: 2;
  max-width: none;
  margin-bottom: 2rem;
  font-size: clamp(4.4rem, 5.9vw, 7.25rem);
}

.hero__title-line {
  white-space: normal;
}

.hero__lead {
  max-width: 34rem;
  margin-bottom: 2.35rem;
  color: var(--ink);
  font-size: clamp(1.18rem, 1.3vw, 1.55rem);
  line-height: 1.5;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem 2.2rem;
}

.hero__rhythm {
  margin: auto 0 0;
  padding-top: 3rem;
  font-size: .73rem;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
}

.hero__rhythm span {
  margin-inline: .55rem;
  color: var(--rose);
}

.hero__media {
  position: relative;
  min-height: 42rem;
  grid-column: 8 / 13;
  grid-row: 1;
  margin: 0;
  overflow: hidden;
}

.hero__media--arch {
  align-self: end;
  width: 100%;
  height: 100%;
  max-height: 42rem;
  min-height: 0;
  aspect-ratio: 4 / 5;
  border-radius: 50% 50% 0 0;
  border: 5px solid var(--accent-deep);
}

.hero__media::after {
  position: absolute;
  inset: 0 auto 0 0;
  width: 12%;
  background: linear-gradient(90deg, var(--hero-bg), transparent);
  content: "";
  pointer-events: none;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.section-intro {
  max-width: 55rem;
  margin-bottom: clamp(4rem, 7vw, 7rem);
}

.section-intro--wide {
  max-width: 72rem;
}

.section-intro h2 {
  margin-bottom: 1.35rem;
  font-size: clamp(3.3rem, 6vw, 7rem);
}

.section-intro p {
  max-width: 44rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.2vw, 1.4rem);
  line-height: 1.45;
}

.services.section {
  padding-block: clamp(5rem, 7vw, 7rem);
}

.services .section-intro {
  margin-bottom: clamp(3rem, 4vw, 4.5rem);
}

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

.service-row {
  display: grid;
  min-height: 11rem;
  grid-template-columns: minmax(8rem, 1.15fr) minmax(1px, .35fr) 3fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
  border-top: 1px solid var(--line);
}

.service-row__number {
  color: var(--olive);
  font-family: var(--display);
  font-size: clamp(5rem, 10vw, 10.5rem);
  letter-spacing: -.07em;
  line-height: .7;
}

.service-row__accent {
  width: 1px;
  height: 7rem;
  justify-self: center;
  background: var(--accent);
}

.service-row__content {
  max-width: 51rem;
}

.service-row__content h3 {
  margin-bottom: .7rem;
  font-size: clamp(2.3rem, 4vw, 4.8rem);
}

.service-row__content p {
  max-width: 43rem;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.45;
}

.service-row--reverse {
  grid-template-columns: 3fr minmax(1px, .35fr) minmax(8rem, 1.15fr);
}

.service-row--reverse .service-row__number {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}

.service-row--reverse .service-row__accent {
  grid-column: 2;
  grid-row: 1;
}

.service-row--reverse .service-row__content {
  grid-column: 1;
  grid-row: 1;
  padding-left: clamp(2rem, 5vw, 7rem);
}

.work {
  border-top: 1px solid var(--line);
}

.work__heading {
  display: grid;
  grid-template-columns: auto 1fr minmax(18rem, .85fr);
  align-items: center;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.work__heading h2 {
  margin-bottom: 0;
  font-size: clamp(3.4rem, 5.6vw, 7rem);
}

.work__heading-line {
  height: 1px;
  background: var(--line);
}

.work__heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .92rem;
}

.featured-project {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(22rem, .9fr);
  margin-bottom: 2.2rem;
  background: rgba(248, 250, 252, .72);
}

.featured-project__media {
  min-height: 0;
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
}

.featured-project__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}

.featured-project:hover .featured-project__media img {
  transform: scale(1.025);
}

.featured-project__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 4vw, 5rem);
}

.project-label {
  margin-bottom: 1.1rem;
  color: var(--accent);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.featured-project h3 {
  margin-bottom: 1.5rem;
  font-size: clamp(3rem, 3.8vw, 5rem);
}

.featured-project__content > p:not(.project-label) {
  color: var(--muted);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 0;
  margin: 1rem 0 2.2rem;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.tag-list li {
  padding: 0 1rem;
  border-right: 1px solid var(--line);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.tag-list li:first-child {
  padding-left: 0;
}

.tag-list li:last-child {
  border-right: 0;
}

.featured-project .button {
  align-self: flex-start;
}

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

.project-row {
  border-top: 1px solid var(--line);
}

.project-row summary {
  display: grid;
  min-height: 6.6rem;
  grid-template-columns: 3rem minmax(14rem, 1.2fr) minmax(20rem, 1fr) 2rem;
  align-items: center;
  gap: 1.25rem;
  padding-inline: .25rem;
  cursor: pointer;
  list-style: none;
}

.project-row summary::-webkit-details-marker {
  display: none;
}

.project-row__number {
  color: var(--accent);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
}

.project-row__name {
  font-family: var(--display);
  font-size: clamp(1.65rem, 2.4vw, 3rem);
  letter-spacing: -.035em;
}

.project-row__meta {
  color: var(--muted);
  font-size: .78rem;
  letter-spacing: .06em;
}

.project-row__arrow {
  width: 1.5rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
  transition: transform .35s var(--ease);
}

.project-row[open] .project-row__arrow {
  transform: rotate(90deg);
}

.project-row > p {
  max-width: 58rem;
  margin: -.3rem 4rem 2rem;
  color: var(--muted);
}

.project-row--static {
  display: grid;
  grid-template-columns: 3rem minmax(17rem, 1.1fr) minmax(20rem, 1fr);
  align-items: center;
  gap: 1.5rem;
  padding: 1.8rem .25rem;
}

.project-row--static .project-row__name {
  margin: 0 0 .35rem;
  font-weight: 400;
}

.project-row--static .project-row__meta {
  margin: 0;
}

.project-row__description {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}

.proof {
  margin-top: clamp(5rem, 8vw, 8rem);
}

.proof__heading {
  max-width: 44rem;
  margin-bottom: 2rem;
}

.proof__heading h3 {
  margin-bottom: 1rem;
  font-size: clamp(2.5rem, 4vw, 4.5rem);
}

.proof__heading > p:last-child {
  color: var(--muted);
}

.proof__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 68rem;
  gap: clamp(2rem, 5vw, 3.5rem);
  margin-inline: auto;
}

.proof-card {
  margin: 0;
  padding: 1rem;
  border: 1px solid var(--line);
  background: var(--paper);
}

.proof-card__image {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--paper);
}

.proof-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
  animation: proof-photo-pulse 5s ease-in-out infinite;
}

.proof-card:nth-child(2) .proof-card__image img {
  animation-delay: .8s;
}

@keyframes proof-photo-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.045); }
}

@media (prefers-reduced-motion: reduce) {
  .proof-card__image img {
    animation: none !important;
    transform: none !important;
  }
}

.proof-card figcaption,
.service-proof__media figcaption {
  padding: .85rem .35rem .25rem;
  color: var(--muted);
  font-size: .74rem;
}

.proof-card figcaption {
  display: flex;
  align-items: baseline;
  gap: .8rem;
}

.proof-card__index {
  color: var(--accent);
  font-size: .66rem;
  letter-spacing: .12em;
}

.about {
  border-top: 1px solid var(--line);
}

.about.section {
  padding-block: clamp(5rem, 7vw, 8rem);
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(24rem, .85fr);
  gap: clamp(4rem, 7vw, 8rem);
}

.about__story h2 {
  margin-bottom: 2.2rem;
  font-size: clamp(4rem, 6.4vw, 8.2rem);
}

.about__title-dot {
  color: var(--rose);
}

.about__title-line {
  white-space: nowrap;
}

.about__story h2 > span {
  color: inherit;
}

.about__story h2 > span span {
  color: var(--rose);
}

.about__statement {
  max-width: 45rem;
  margin-bottom: 1.4rem;
  font-family: var(--display);
  font-size: clamp(1.75rem, 2.5vw, 3.1rem);
  line-height: 1.15;
}

.about__story > p:not(.about__statement) {
  max-width: 42rem;
  color: var(--muted);
}

.about__media {
  margin: 3.5rem 0 0;
  overflow: hidden;
}

.about__media img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 22%;
}

.clients {
  border-top: 1px solid var(--line);
}

.client-marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 2.5%, #000 97.5%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 2.5%, #000 97.5%, transparent);
}

.client-marquee__controls {
  display: none;
  justify-content: flex-end;
  margin-bottom: .65rem;
}

html.js .client-marquee__controls {
  display: flex;
}

.client-marquee__toggle {
  padding: .2rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--accent-deep);
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.client-marquee__track {
  display: flex;
  width: max-content;
  animation: clients-drift-right 32s linear infinite;
}

.client-marquee__track.is-paused {
  animation-play-state: paused;
}

.client-marquee:hover .client-marquee__track,
.client-marquee:focus-within .client-marquee__track {
  animation-play-state: paused;
}

.client-list {
  display: flex;
  flex: 0 0 auto;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
}

@keyframes clients-drift-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.client-list li {
  display: flex;
  flex: 0 0 clamp(15rem, 21vw, 22rem);
  min-height: 10rem;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
  padding: 1.4rem;
  border-left: 1px solid var(--line);
}

.client-list li:first-child {
  border-left: 0;
}

.client-list + .client-list li:first-child {
  border-left: 1px solid var(--line);
}

.client-list__logo {
  display: block;
  width: min(100%, 12rem);
  height: 7.5rem;
  object-fit: contain;
}

.client-list__logo--foryou {
  width: 7.5rem;
  height: 7.5rem;
  object-fit: contain;
}

.client-list__wordmark {
  display: grid;
  width: min(100%, 12rem);
  height: 7.5rem;
  place-content: center;
  color: var(--accent-deep);
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.4vw, 2.4rem);
  line-height: .9;
  text-align: center;
}

.client-list__wordmark em {
  color: var(--rose);
  font-size: .78em;
  font-style: normal;
}

.client-list__period {
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.capabilities {
  background: var(--paper);
}

.capabilities__grid,
.devices__grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(25rem, 1.15fr);
  align-items: start;
  gap: clamp(3rem, 7vw, 8rem);
}

.capabilities h2,
.service-proof h2,
.devices h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(3rem, 5vw, 5.5rem);
}

.capabilities__intro,
.service-proof__copy > p:not(.project-label),
.devices__grid > div > p:last-child {
  max-width: 34rem;
  color: var(--muted);
}

.tool-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.tool-list li {
  display: flex;
  min-height: 4.6rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
}

.tool-list li > span {
  font-family: var(--display);
  font-size: 1.35rem;
}

.tool-list small {
  color: var(--muted);
  font-size: .75rem;
  text-align: right;
}

.service-proof {
  border-top: 1px solid var(--line);
}

.service-proof__grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 8rem);
}

.metric-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 2rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}

.metric-list li {
  display: grid;
  gap: .25rem;
  padding-top: .8rem;
  border-top: 1px solid var(--line);
}

.metric-list strong {
  color: var(--accent);
  font-family: var(--display);
  font-size: 2.7rem;
  font-weight: 400;
}

.metric-list strong.is-counting {
  animation: metric-arrive .55s cubic-bezier(.2, .8, .2, 1) both;
}

@keyframes metric-arrive {
  from { opacity: .45; transform: translateY(.3rem) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .metric-list strong.is-counting { animation: none; }
}

.metric-list span {
  color: var(--muted);
  font-size: .76rem;
}

.service-proof__media {
  margin: 0;
  padding: .75rem;
  background: var(--paper);
}

.service-proof__media img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.devices {
  background: var(--paper);
}

.macbook {
  width: 100%;
  max-width: 58rem;
  margin-inline: auto;
  filter: drop-shadow(0 1.3rem 1.5rem rgba(31, 42, 54, .12));
}

.macbook__bezel {
  position: relative;
  padding: 1.15rem 1.15rem .8rem;
  border: 1px solid #202832;
  border-radius: 1.25rem 1.25rem .55rem .55rem;
  background: linear-gradient(145deg, #66717e 0%, #262e38 17%, #111820 100%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .34), inset 0 -2px 3px rgba(0, 0, 0, .42);
}

.macbook__camera {
  position: absolute;
  top: .43rem;
  left: 50%;
  width: .28rem;
  height: .28rem;
  border: 1px solid #313b45;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #7890a2, #141b22 66%);
  transform: translateX(-50%);
}

.macbook__screen {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: .35rem .35rem .15rem .15rem;
  background: #f0f3f7;
}

.macbook__toolbar {
  display: grid;
  grid-template-columns: 2rem 1fr 2rem;
  align-items: center;
  min-height: 2.5rem;
  padding-inline: 1rem;
  border-bottom: 1px solid rgba(31, 42, 54, .1);
  background: #e8edf3;
  color: #344454;
  font-size: .72rem;
  font-weight: 600;
  text-align: center;
}

.macbook__back {
  justify-self: start;
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}

.macbook__toolbar-more {
  justify-self: end;
  color: var(--muted);
  font-size: .62rem;
  letter-spacing: .08em;
}

.macbook__content {
  width: min(100%, 39rem);
  margin-inline: auto;
  padding: clamp(1.1rem, 2.7vw, 2rem);
}

.macbook__overview {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(31, 42, 54, .12);
}

.macbook__device-icon {
  position: relative;
  display: block;
  flex: 0 0 3.1rem;
  width: 3.1rem;
  height: 2rem;
  margin-bottom: .35rem;
  border: 2px solid var(--accent);
  border-radius: .22rem;
  background: linear-gradient(145deg, #dce9f6, #f8fafc);
  box-shadow: inset 0 -3px 0 rgba(65, 101, 137, .13);
}

.macbook__device-icon::after {
  position: absolute;
  right: -.45rem;
  bottom: -.4rem;
  left: -.45rem;
  height: .22rem;
  border-radius: 0 0 .3rem .3rem;
  background: linear-gradient(180deg, #90a6ba, #52677a);
  content: "";
}

.macbook__overview h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  font-weight: 400;
  line-height: 1.15;
}

.macbook__overview p {
  margin: .15rem 0 0;
  color: var(--muted);
  font-size: .76rem;
}

.macbook__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .7rem;
  margin: 1rem 0 0;
}

.macbook__specs > div {
  display: grid;
  align-content: start;
  gap: .18rem;
  min-height: 3.5rem;
  padding: .65rem .75rem;
  border: 1px solid rgba(31, 42, 54, .09);
  border-radius: .35rem;
  background: rgba(255, 255, 255, .82);
}

.macbook__specs dt {
  color: var(--muted);
  font-size: .62rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.macbook__specs dd {
  margin: 0;
  color: var(--ink);
  font-size: .78rem;
  font-weight: 500;
  line-height: 1.4;
}

.macbook__specs dd span {
  color: var(--muted);
  white-space: nowrap;
}

.macbook__specs .macbook__connection {
  grid-column: 1 / -1;
}

.macbook__base {
  position: relative;
  height: .95rem;
  margin-inline: -3%;
  border: 1px solid #a6afb7;
  border-top: 1px solid #d9dfe4;
  border-radius: 0 0 1.5rem 1.5rem;
  background: linear-gradient(180deg, #d5dbe0 0%, #abb4bd 42%, #e5e9ec 76%, #929da7 100%);
  clip-path: polygon(3% 0, 97% 0, 100% 76%, 92% 100%, 8% 100%, 0 76%);
}

.macbook__base span {
  position: absolute;
  top: 0;
  left: 42%;
  width: 16%;
  height: .24rem;
  border-radius: 0 0 .35rem .35rem;
  background: linear-gradient(180deg, #8d979f, #c4cbd1);
}

.process {
  align-self: end;
  padding: 1rem 0 0 clamp(2.5rem, 4vw, 5rem);
  border-left: 1px solid var(--line);
}

.process > h3 {
  margin-bottom: 1.6rem;
  font-size: clamp(3rem, 4.3vw, 5.3rem);
}

.process ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process li {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1.5rem;
  align-items: start;
  padding-block: 1.9rem;
  border-top: 1px solid var(--line);
}

.process li:first-child {
  border-top: 0;
}

.process__number {
  color: var(--olive);
  font-family: var(--display);
  font-size: 2.7rem;
  line-height: 1;
}

.process h4 {
  margin-bottom: .35rem;
  font-size: 2rem;
}

.process p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.45;
}

.contact {
  padding-block: clamp(6rem, 11vw, 12rem);
  background: var(--accent);
  color: var(--white);
}

.contact__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact__eyebrow {
  margin-bottom: 1.5rem;
  color: rgba(250, 252, 254, .78);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.contact h2 {
  max-width: 14ch;
  margin-bottom: 2rem;
  font-size: clamp(3.25rem, 6.4vw, 6.5rem);
}

.contact__lead {
  max-width: 45rem;
  margin-bottom: 2.75rem;
  font-size: clamp(1.15rem, 1.3vw, 1.45rem);
  line-height: 1.55;
}

.contact__email-button {
  display: flex;
  min-width: min(100%, 21rem);
  min-height: 4.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem 1.4rem;
  border: 1px solid var(--white);
  background: var(--white);
  color: var(--ink);
  text-align: left;
  font-family: var(--display);
  font-size: 1.3rem;
  text-decoration: none;
  transition: background .25s ease, color .25s ease, transform .25s var(--ease);
}

.contact__email-button:hover {
  background: transparent;
  color: var(--white);
  transform: translateY(-2px);
}

.contact__email-button svg {
  width: 1.35rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.site-footer {
  padding-block: clamp(4.5rem, 7vw, 7rem);
  background: var(--footer);
  color: var(--white);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  align-items: end;
  gap: 4rem;
}

.footer-brand {
  font-family: var(--display);
  font-size: clamp(4rem, 7vw, 8rem);
  line-height: .8;
  text-decoration: none;
}

.site-footer__grid > div:first-child p {
  margin: 1.2rem 0 0;
  font-family: var(--display);
  font-size: .9rem;
  letter-spacing: .22em;
}

.site-footer__grid > div:first-child p span {
  color: var(--rose);
}

.site-footer__right {
  padding-left: 2.5rem;
  border-left: 1px solid rgba(250, 252, 254, .4);
}

.site-footer__right nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(250, 252, 254, .4);
  font-family: var(--display);
  font-size: 1.15rem;
}

.site-footer__right nav a {
  text-decoration: none;
}

.site-footer__right nav a:hover {
  text-decoration: underline;
}

.site-footer__right p {
  margin: 2rem 0 .6rem;
  color: rgba(250, 252, 254, .76);
}

.site-footer__right small {
  color: rgba(250, 252, 254, .56);
  font-size: .7rem;
}

@media (max-width: 70rem) {
  .brand__descriptor,
  .brand__divider {
    display: none;
  }

  .hero__content {
    grid-column: 1 / 7;
  }

  .hero__media {
    grid-column: 8 / 13;
  }

  .work__heading {
    grid-template-columns: auto 1fr;
  }

  .work__heading p {
    grid-column: 1 / -1;
  }

  .featured-project {
    grid-template-columns: 1.1fr .9fr;
  }

  .featured-project__media {
    min-height: 0;
  }

  .project-row summary {
    grid-template-columns: 2.5rem 1fr 1fr 1.5rem;
  }

  .project-row--static {
    grid-template-columns: 2.5rem 1fr;
  }

  .project-row__description {
    grid-column: 2;
  }

  .about__grid {
    grid-template-columns: 1fr 1fr;
  }

  .capabilities__grid,
  .devices__grid,
  .service-proof__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 52rem) {
  :root {
    --shell: min(90vw, 46rem);
  }

  html {
    scroll-padding-top: 4.5rem;
  }

  .site-header,
  .site-header.is-scrolled {
    height: 4.5rem;
  }

  .nav-toggle {
    position: relative;
    z-index: 2;
    display: none;
    width: 3rem;
    height: 3rem;
    place-content: center;
    gap: .4rem;
    border: 0;
    background: transparent;
  }

  .nav-toggle > span:not(.sr-only) {
    display: block;
    width: 1.65rem;
    height: 1px;
    background: currentColor;
    transition: transform .25s ease;
  }

  .nav-toggle[aria-expanded="true"] > span:nth-child(2) {
    transform: translateY(.2rem) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] > span:nth-child(3) {
    transform: translateY(-.2rem) rotate(-45deg);
  }

  .primary-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    max-height: none;
    gap: .25rem 1rem;
    overflow: visible;
    opacity: 1;
    pointer-events: auto;
  }

  html.js .nav-toggle {
    display: grid;
  }

  html.js .primary-nav {
    position: fixed;
    inset: 4.5rem 0 auto;
    display: grid;
    max-height: 0;
    gap: 0;
    overflow: hidden;
    background: var(--bg);
    opacity: 0;
    pointer-events: none;
    transition: max-height .45s var(--ease), opacity .25s ease;
  }

  html.js .primary-nav.is-open {
    max-height: calc(100svh - 4.5rem);
    min-height: calc(100svh - 4.5rem);
    align-content: start;
    padding: 1.5rem 5vw 2.5rem;
    border-bottom: 1px solid var(--line);
    opacity: 1;
    pointer-events: auto;
  }

  .primary-nav > a:not(.button) {
    padding-block: 1rem;
    border-bottom: 1px solid var(--line);
    font-family: var(--display);
    font-size: 1.65rem;
  }

  .primary-nav .button {
    margin-top: 1.5rem;
  }

  .hero__inner {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero__content {
    min-height: auto;
    grid-column: 1;
    grid-row: 2;
    padding: 4rem 0 2.5rem;
  }

  .hero h1 {
    margin-bottom: 1.5rem;
    font-size: clamp(3.55rem, 15vw, 6.5rem);
  }

  .hero__title-line {
    white-space: normal;
  }

  .hero__lead {
    max-width: 28rem;
    margin-bottom: 1.75rem;
  }

  .hero__media {
    min-height: auto;
    width: min(100%, 28rem);
    height: auto;
    aspect-ratio: 4 / 5;
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
  }

  .hero__media img {
    object-position: center 18%;
  }

  .hero__rhythm {
    margin-top: 0;
    padding-top: 2rem;
    font-size: .62rem;
    line-height: 1.8;
  }

  .hero__media::after {
    inset: 0 0 auto;
    width: auto;
    height: 12%;
    background: linear-gradient(180deg, var(--hero-bg), transparent);
  }

  .service-row,
  .service-row--reverse {
    min-height: 0;
    grid-template-columns: 5rem 1px 1fr;
    gap: 1.5rem;
    padding-block: 2.8rem;
  }

  .service-row__number,
  .service-row--reverse .service-row__number {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    justify-self: start;
    font-size: 4.7rem;
  }

  .service-row__accent,
  .service-row--reverse .service-row__accent {
    grid-column: 2;
    grid-row: 1;
    height: 5.5rem;
  }

  .service-row__content,
  .service-row--reverse .service-row__content {
    grid-column: 3;
    grid-row: 1;
    padding-left: 0;
  }

  .featured-project {
    grid-template-columns: 1fr;
  }

  .featured-project__media {
    min-height: auto;
    aspect-ratio: 4 / 3;
  }

  .project-row summary {
    grid-template-columns: 2.4rem 1fr 1.5rem;
    padding-block: 1.25rem;
  }

  .project-row__meta {
    grid-column: 2;
    padding-top: .25rem;
  }

  .project-row__arrow {
    grid-column: 3;
    grid-row: 1 / 3;
  }

  .project-row > p {
    margin: 0 1.5rem 2rem 3.9rem;
  }

  .about__grid,
  .capabilities__grid,
  .devices__grid,
  .service-proof__grid,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .about__title-line {
    white-space: normal;
  }

  .proof__grid {
    grid-template-columns: 1fr;
  }

  .client-list li {
    flex-basis: 75vw;
    min-height: 8rem;
    padding: 1rem .75rem;
  }

  .client-list:first-child li:first-child {
    border-left: 0;
  }

  .capabilities__grid,
  .devices__grid,
  .service-proof__grid {
    gap: 3rem;
  }

  .process {
    padding: 3rem 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .site-footer__right {
    padding: 3rem 0 0;
    border-top: 1px solid rgba(250, 252, 254, .4);
    border-left: 0;
  }
}

@media (max-width: 36rem) {
  .hero__actions {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    display: grid;
    align-items: stretch;
  }

  .hero__actions .button,
  .hero__actions .text-link {
    justify-content: center;
  }

  .section-intro h2 br {
    display: none;
  }

  .service-row,
  .service-row--reverse {
    grid-template-columns: 3.75rem 1fr;
  }

  .service-row__number,
  .service-row--reverse .service-row__number {
    font-size: 3.8rem;
  }

  .service-row__accent,
  .service-row--reverse .service-row__accent {
    display: none;
  }

  .service-row__content,
  .service-row--reverse .service-row__content {
    grid-column: 2;
  }

  .work__heading {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .work__heading-line {
    width: 5rem;
  }

  .work__heading p {
    grid-column: 1;
  }

  .featured-project__content {
    padding: 2rem 1.35rem 2.5rem;
  }

  .tag-list li {
    padding-inline: .6rem;
    font-size: .66rem;
  }

  .process li {
    grid-template-columns: 3.4rem 1fr;
  }

  .tool-list li {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: .25rem;
    padding-block: .75rem;
  }

  .tool-list small {
    text-align: left;
  }

  .metric-list {
    gap: 1rem;
  }

  .macbook__bezel {
    padding: .82rem .55rem .55rem;
    border-radius: .85rem .85rem .42rem .42rem;
  }

  .macbook__camera {
    top: .28rem;
    width: .22rem;
    height: .22rem;
  }

  .macbook__screen {
    aspect-ratio: auto;
  }

  .macbook__toolbar {
    grid-template-columns: 1.4rem 1fr 1.4rem;
    min-height: 2rem;
    padding-inline: .55rem;
    font-size: .62rem;
  }

  .macbook__content {
    padding: .75rem .65rem;
  }

  .macbook__overview {
    gap: .8rem;
    padding-bottom: .7rem;
  }

  .macbook__device-icon {
    flex-basis: 2.45rem;
    width: 2.45rem;
    height: 1.6rem;
  }

  .macbook__overview h3 {
    font-size: 1.2rem;
  }

  .macbook__overview p {
    font-size: .65rem;
  }

  .macbook__specs {
    gap: .45rem;
    margin-top: .65rem;
  }

  .macbook__specs > div {
    min-height: 2.75rem;
    padding: .48rem .55rem;
  }

  .macbook__specs dt {
    font-size: .53rem;
  }

  .macbook__specs dd {
    font-size: .66rem;
  }

  .macbook__specs .macbook__connection dd {
    font-size: .64rem;
  }

  .macbook__base {
    height: .78rem;
  }

  .contact h2 {
    font-size: clamp(3.25rem, 13vw, 4.7rem);
  }

  .contact__lead {
    font-size: 1.05rem;
  }

  .contact__email-button {
    width: 100%;
    max-width: 21rem;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .client-marquee__controls {
    display: none !important;
  }

  .client-marquee__track {
    animation: none;
    transform: none;
  }

  .client-list[aria-hidden="true"] {
    display: none;
  }
}
