@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("assets/fonts/atkinson-hyperlegible-next.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f1f5fa;
  --ink: #142438;
  --ink-muted: #43546b;
  --cobalt: #2548c9;
  --cobalt-hover: #1b35a0;
  --white: #ffffff;
  --mount: #e4ecf8;
  --rule: #b7c6d8;
  --body: "Atkinson Hyperlegible Next", system-ui, sans-serif;
  --radius-control: 6px;
  --radius-media: 12px;
  --radius-pill: 999px;
  --content: 1280px;
  --gutter: clamp(1rem, 5vw, 5rem);
  --section-space: clamp(3.25rem, 7vw, 6.25rem);
  --section-tight: clamp(1.35rem, 2.8vw, 2.5rem);
}

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

html {
  font-family: var(--body);
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  scroll-padding-top: 6rem;
}

body { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .23em; }
a:hover { color: var(--cobalt); }
a:focus-visible, button:focus-visible, video:focus-visible, .testimonial-panel:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 4px; }
::selection { color: var(--white); background: var(--cobalt); }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
img { display: block; max-width: 100%; }

.wrap {
  width: min(var(--content), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 11;
  inset-block-start: .75rem;
  inset-inline-start: .75rem;
  padding: .65rem 1rem;
  color: var(--white);
  background: var(--cobalt);
  transform: translateY(-200%);
}

.skip-link:focus { transform: translateY(0); }
.skip-link:focus, .skip-link:hover { color: var(--white); }
.masthead {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}

.masthead-inner {
  min-height: 4.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem 1rem;
}

.wordmark {
  font: 650 clamp(1rem, 2vw, 1.35rem)/1.1 var(--body);
  letter-spacing: -.02em;
  text-decoration: none;
  white-space: nowrap;
}

.nav { display: flex; gap: clamp(.65rem, 2.25vw, 2rem); }
.nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  text-decoration: none;
}

.nav a:hover { text-decoration: underline; }
.nav-brief { justify-self: end; }
.nav-toggle { display: none; }

.hero {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding-block: clamp(2rem, 3.6vw, 3.4rem) clamp(2.75rem, 4.5vw, 4rem);
}

.hero-copy {
  display: grid;
  justify-items: center;
  gap: .85rem;
  text-align: center;
}

.hero-copy p {
  max-width: 55ch;
  color: var(--ink-muted);
  font-size: clamp(1.05rem, 1.65vw, 1.35rem);
  line-height: 1.4;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.6rem, 4.4vw, 4.3rem);
  font-weight: 650;
  letter-spacing: -.03em;
  line-height: 1.06;
  text-wrap: balance;
}

.hero-copy em { font-style: normal; font-weight: 600; color: var(--cobalt); }
.hero-email { justify-self: center; }

.button, .text-link {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  min-height: 46px;
  font-weight: 650;
  white-space: nowrap;
}

.button {
  border: 0;
  padding: .65rem 1.2rem;
  border-radius: var(--radius-pill);
  color: var(--white);
  background: var(--cobalt);
  text-decoration: none;
  transition: background-color 160ms ease-out;
}

button.button { font: inherit; font-weight: 650; cursor: pointer; }
.button:hover { color: var(--white); background: var(--cobalt-hover); }
.text-link { text-decoration-thickness: 1px; }

.arrow {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: .95em;
  height: .65em;
  color: inherit;
}

.arrow::before, .arrow::after {
  position: absolute;
  content: "";
}

.arrow::before {
  inset: calc(50% - .5px) .14em auto 0;
  border-top: 1.5px solid currentColor;
}

.arrow::after {
  width: .42em;
  height: .42em;
  inset: calc(50% - .21em) .14em auto auto;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.arrow-up { transform: rotate(-90deg); }

.hero-feature { min-width: 0; }

.reel-deck {
  --slide-width: clamp(10.5rem, 16.5vw, 14.25rem);
  --deck-height: calc(var(--slide-width) * 1.78 + 3rem);
  position: relative;
  height: var(--deck-height);
  perspective: 1000px;
  overflow: hidden;
}

.deck-slide {
  --travel: 0%;
  --drop: 0rem;
  --turn: 0deg;
  --depth: 0deg;
  --zoom: 1;
  position: absolute;
  z-index: 3;
  inset: 6% auto auto 50%;
  width: var(--slide-width);
  border: 3px solid var(--white);
  border-radius: var(--radius-media);
  box-shadow: 0 16px 28px rgb(0 0 0 / .26);
  transform: translateX(-50%) translate(var(--travel), var(--drop)) rotate(var(--turn)) rotateY(var(--depth)) scale(var(--zoom));
  transition: transform 620ms cubic-bezier(.22, .8, .25, 1);
}

.deck-slide .reel { border-radius: calc(var(--radius-media) - 3px); }
.deck-slide .play-mark { inset-block-end: 11%; }

.deck-slide[data-slot="0"] { z-index: 4; }
.deck-slide[data-slot="0"] .play-mark { inset-inline: 0; margin-inline: auto; }
.deck-slide:not([data-slot="0"]) { cursor: pointer; }
.deck-slide:not([data-slot="0"]) .play-mark { width: 2.35rem; height: 2.35rem; }
.deck-slide[data-slot^="-"] .play-mark { inset-inline: .65rem auto; }
.deck-slide a:focus-visible { outline: 3px solid var(--cobalt); outline-offset: -3px; }
.deck-slide:focus-within { z-index: 5; }

.deck-slide[data-slot="-1"], .deck-slide[data-slot="1"] {
  --travel: 64%;
  --drop: 1.15rem;
  --turn: 6deg;
  --depth: -13deg;
  --zoom: .91;
  z-index: 3;
}

.deck-slide[data-slot="-2"], .deck-slide[data-slot="2"] {
  --travel: 128%;
  --drop: 2.8rem;
  --turn: 13deg;
  --depth: -21deg;
  --zoom: .81;
  z-index: 2;
}

.deck-slide[data-slot="-1"], .deck-slide[data-slot="-2"] {
  transform: translateX(-50%) translate(calc(var(--travel) * -1), var(--drop)) rotate(calc(var(--turn) * -1)) rotateY(calc(var(--depth) * -1)) scale(var(--zoom));
}

.reel {
  position: relative;
  aspect-ratio: 9 / 16;
  min-width: 0;
  border-radius: var(--radius-media);
  background: var(--mount);
}

.reel-poster, .reel video {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.reel-poster { position: relative; color: var(--white); }
.reel-poster:hover { color: var(--white); }
.reel-poster img, .reel video {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.reel video { background: var(--ink); }

.play-mark {
  position: absolute;
  inset: auto .75rem .75rem auto;
  display: grid;
  place-items: center;
  width: 3.15rem;
  height: 3.15rem;
  border: 1px solid var(--white);
  border-radius: 50%;
  background: var(--cobalt);
  transition: background-color 160ms ease-out, scale 160ms ease-out;
}

.play-mark::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: .14rem;
  border: .41rem solid transparent;
  border-right: 0;
  border-left: .65rem solid var(--white);
}

.reel-poster:hover .play-mark { background: var(--cobalt-hover); scale: 1.08; }

.playback-error {
  position: absolute;
  inset: auto .45rem .45rem;
  padding: .65rem;
  border-radius: var(--radius-control);
  background: var(--paper);
  color: var(--ink);
  font-size: .9rem;
}

.playback-error a { color: var(--cobalt); font-weight: 600; }

.section { padding-block: var(--section-space); }
.work {
  padding-block-end: var(--section-tight);
  border-top: 1px solid var(--rule);
}

h2 {
  font-size: clamp(2rem, 4.75vw, 4.1rem);
  line-height: 1.08;
  letter-spacing: -.025em;
  font-weight: 650;
  text-wrap: balance;
}

h3 {
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  line-height: 1.16;
  letter-spacing: -.015em;
  font-weight: 600;
}

.brands {
  --brand-gap: .55rem;
  padding-block: clamp(1.6rem, 3.5vw, 3rem);
  border-block: 1px solid var(--rule);
}

.brands h2 {
  margin-bottom: .85rem;
  font-size: clamp(1.55rem, 3.5vw, 2.7rem);
}

.brand-window { container-type: inline-size; }
.brand-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--brand-gap);
  margin: 0;
  padding: .3rem;
  list-style: none;
}

.brand-card {
  display: flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  padding: .35rem .6rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--ink);
  font: 600 .95rem/1.17 var(--body);
  text-decoration: none;
}

.brand-card:hover { border-color: var(--cobalt); color: var(--cobalt); }
.brand-card img {
  width: 1.6rem;
  height: 1.6rem;
  flex: none;
  object-fit: contain;
  border-radius: var(--radius-control);
}

.brand-copy { display: none; }

.brands[data-marquee] .brand-window { overflow: hidden; }
.brands[data-marquee] .brand-track {
  display: flex;
  width: max-content;
  animation: brand-scroll 6.5s linear infinite;
  animation-play-state: paused;
}

.brands[data-visible] .brand-track { animation-play-state: running; }
.brands .brand-window:hover .brand-track { animation-play-state: paused; }
.brands[data-marquee] .brand-list {
  display: flex;
  flex: none;
  flex-wrap: nowrap;
  min-width: calc(100cqw / 3);
  padding-inline-end: var(--brand-gap);
}

.brands[data-marquee] .brand-list li { flex: 1 0 auto; }
.brands[data-marquee] .brand-card { cursor: pointer; }

.brands[data-marquee]:has(.brand-card:focus-visible) .brand-track {
  display: block;
  width: auto;
  animation: none;
}

.brands[data-marquee]:has(.brand-card:focus-visible) .brand-list:not(.brand-copy) {
  flex-wrap: wrap;
  padding-inline-end: .3rem;
}

.brands[data-marquee]:has(.brand-card:focus-visible) .brand-copy { display: none; }

@keyframes brand-scroll { to { transform: translateX(-25%); } }

.work > h2 {
  max-width: 62rem;
  margin-block-end: clamp(.75rem, 2vw, 1.35rem);
}

.content-carousel {
  --phone-width: clamp(12rem, 26vw, 16rem);
  --reel-gap: clamp(.8rem, 2vw, 1.35rem);
  --rail-width: min(100%, calc(var(--phone-width) * 4 + var(--reel-gap) * 3));
  --edge-fade: clamp(.65rem, 4vw, 4rem);
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 29% 42%, var(--white), transparent 66%),
    radial-gradient(ellipse at 72% 55%, color-mix(in srgb, var(--cobalt) 17%, var(--mount)), transparent 72%);
}

.content-carousel::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, var(--paper), color-mix(in srgb, var(--white) 36%, transparent) 24% 76%, var(--paper));
  backdrop-filter: blur(20px);
  pointer-events: none;
}

.reel-track {
  position: relative;
  display: flex;
  width: var(--rail-width);
  gap: var(--reel-gap);
  margin: 0 auto;
  padding: clamp(.85rem, 2.5vw, 1.65rem) max(0px, calc((var(--rail-width) - var(--phone-width)) / 2));
  mask-image: linear-gradient(90deg, transparent, black var(--edge-fade), black calc(100% - var(--edge-fade)), transparent);
  overflow-x: auto;
  overscroll-behavior-inline: none;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  list-style: none;
}

.reel-track::-webkit-scrollbar { display: none; }
.reel-track[data-loop] { padding-inline: 0; }

.reel-track li {
  flex: 0 0 var(--phone-width);
  display: flex;
  min-width: 0;
  scroll-snap-align: center;
}

.work-sample {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: .38rem;
  border: 1px solid color-mix(in srgb, var(--white) 85%, transparent);
  border-radius: calc(var(--radius-media) * 2);
  color: var(--ink);
  background: color-mix(in srgb, var(--white) 65%, transparent);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--ink) 12%, transparent);
  text-decoration: none;
  transition: border-color 160ms ease-out, box-shadow 160ms ease-out, scale 320ms ease-out;
}

.work-sample::before {
  content: "";
  flex: none;
  width: 1.6rem;
  height: .17rem;
  margin: .12rem auto .35rem;
  border-radius: var(--radius-pill);
  background: var(--rule);
}

.reel-track:has([data-current]) li:not([data-current]) .work-sample {
  scale: .94;
}

.reel-track li[data-current] .work-sample, .work-sample:hover {
  border-color: var(--white);
  box-shadow: 0 10px 28px color-mix(in srgb, var(--ink) 22%, transparent);
}

.phone-display {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  border-radius: calc(var(--radius-media) * 1.5);
  background: var(--ink);
}

.phone-display img, .phone-display video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-display video {
  opacity: 0;
  pointer-events: none;
}

.phone-display video[data-playing] { opacity: 1; }

.about p {
  color: var(--ink);
  font-size: clamp(1.05rem, 1.65vw, 1.35rem);
  line-height: 1.4;
  max-width: 40ch;
  text-wrap: pretty;
}

.about :is(strong, a) { color: var(--cobalt); }
.about a:hover { color: var(--cobalt-hover); }

.about {
  display: grid;
  max-width: 60rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  align-items: center;
  justify-items: center;
  gap: 1.6rem clamp(2rem, 5vw, 5rem);
}

.about-portrait {
  position: relative;
  isolation: isolate;
  width: min(100%, 26rem);
  background: var(--mount);
  border-radius: var(--radius-media);
  overflow: hidden;
}

.about-portrait::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 13% 12% 9%;
  border: 2px solid var(--cobalt);
  border-radius: 50%;
  background: var(--paper);
  rotate: -14deg;
  box-shadow: .65rem .6rem 0 var(--cobalt);
}

.about-portrait::after {
  content: "";
  position: absolute;
  inset: 12% 13% auto auto;
  width: 10%;
  aspect-ratio: 1;
  background: var(--cobalt);
  clip-path: polygon(50% 0, 61% 38%, 100% 50%, 61% 62%, 50% 100%, 39% 62%, 0 50%, 39% 38%);
  rotate: 12deg;
}

.about-portrait img {
  width: 100%;
  height: auto;
  scale: 1.08;
  transform-origin: center bottom;
}

.testimonials {
  display: grid;
  padding-block: var(--section-tight);
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  align-items: start;
  gap: 1.4rem clamp(2rem, 7vw, 6rem);
}

.testimonials h2 { text-wrap: pretty; }

.testimonial-panel {
  padding: clamp(1.15rem, 3vw, 2rem);
  border: 1px solid var(--rule);
  border-radius: var(--radius-media);
  background: var(--mount);
}

.testimonial-slides { display: grid; gap: 1.45rem; }
.testimonial-panel[data-rotating] .testimonial-slides { gap: 0; overflow: hidden; }
.testimonial-panel[data-rotating] .testimonial { grid-area: 1 / 1; visibility: hidden; }
.testimonial-panel[data-rotating] .is-current { visibility: visible; }

.testimonial figcaption {
  margin-block-start: .85rem;
  font-weight: 600;
}

.testimonial blockquote {
  margin: 0;
  font-size: clamp(1.12rem, 1.55vw, 1.35rem);
  line-height: 1.5;
  text-wrap: pretty;
}

@media (prefers-reduced-motion: no-preference) {
  .testimonial-slides[data-direction] .is-current { animation: testimonial-enter 600ms ease-out; }
  .testimonial-slides[data-direction="up"] { --testimonial-offset: 1rem; }
  .testimonial-slides[data-direction="down"] { --testimonial-offset: -1rem; }

  @keyframes testimonial-enter {
    from { opacity: 0; transform: translateY(var(--testimonial-offset)); }
    to { opacity: 1; transform: translateY(0); }
  }
}

.services {
  padding-block-start: var(--section-tight);
  border-top: 1px solid var(--rule);
}
.services h2 { margin-bottom: 1.8rem; }
.service-list { border-top: 1px solid var(--rule); }

.service-list > div {
  display: grid;
  grid-template-columns: minmax(10rem, .65fr) minmax(0, 1fr);
  align-items: baseline;
  gap: .25rem 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
}

.service-list p { color: var(--ink-muted); }

.process { padding-top: 0; }

.process ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 1.8rem 0 0;
  padding: 0;
  list-style-position: inside;
}

.process li {
  position: relative;
  padding: 1rem .45rem 0 0;
  border-top: 2px solid var(--cobalt);
}

.process li::marker {
  font: 600 1.25rem/1 var(--body);
  color: var(--cobalt);
}

.process h3 { margin-top: .4rem; }
.process p { margin-top: .5rem; color: var(--ink-muted); }

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

.footer-contact {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(max-content, 1fr);
  align-items: end;
  gap: 1.5rem clamp(1.5rem, 8vw, 6rem);
  padding-block: clamp(2.6rem, 6.5vw, 5.6rem);
}

.footer-copy h2 { text-wrap: pretty; }

.footer-copy p {
  max-width: 45ch;
  margin-top: .85rem;
  color: var(--rule);
  font-size: 1.12rem;
  text-wrap: pretty;
}

.footer-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .35rem clamp(.55rem, 2vw, 1rem);
}

.footer a:focus-visible { outline-color: var(--paper); }

.footer-email, .footer-social, .footer-tail a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 44px;
}

.footer-email {
  justify-content: center;
  min-height: 50px;
  padding: .65rem clamp(.8rem, 2vw, 1.2rem);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.footer-email:hover { background: var(--mount); color: var(--ink); }

.footer-social {
  color: var(--rule);
  font-size: clamp(.84rem, 2.8vw, .93rem);
  white-space: nowrap;
}

.footer-social:hover, .footer-tail a:hover { color: var(--white); }

.footer-tail,
.footer-nav,
.footer-signature {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .15rem 1.15rem;
}

.footer-tail {
  justify-content: space-between;
  gap: .4rem 1.5rem;
  border-top: 1px solid color-mix(in srgb, var(--rule) 45%, transparent);
  padding-block: .65rem 1rem;
  font-size: .91rem;
}

.footer-nav a {
  font-weight: 600;
  text-decoration: none;
}

.footer-nav a:hover { text-decoration: underline; }
.footer-signature { color: var(--rule); }

body:has(.brief-dialog[open]) { overflow: hidden; }

.brief-dialog {
  width: min(34rem, calc(100% - 1.5rem));
  max-height: calc(100dvh - 1.5rem);
  padding: clamp(1.2rem, 4vw, 2rem);
  border: 1px solid var(--rule);
  border-top: 4px solid var(--cobalt);
  border-radius: var(--radius-media);
  background: var(--paper);
  color: var(--ink);
  overflow: auto;
  overscroll-behavior: contain;
}

.brief-dialog::backdrop { background: color-mix(in srgb, var(--ink) 66%, transparent); }
.brief-header { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-block-end: 1rem; }
.brief-header h2, .brief-success h2 { font-size: clamp(1.75rem, 5vw, 2.5rem); line-height: 1; }
.brief-close {
  flex: 0 0 44px;
  min-height: 44px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--ink);
  font: 1.5rem/1 var(--body);
  cursor: pointer;
}

.brief-close:hover { background: var(--mount); }
.brief-form { display: grid; gap: .4rem; }
.brief-form label { display: block; font-weight: 600; }
.brief-form label span { color: var(--ink-muted); font-weight: 400; }
.brief-form :is(input, select, textarea) {
  width: 100%;
  min-height: 46px;
  padding: .65rem .75rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius-control);
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.brief-form :is(input, select, textarea):focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.brief-form textarea { resize: vertical; }
.brief-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin-block: .5rem; }
.brief-columns label { margin-block-end: .4rem; }
.brief-delivery, .brief-status { color: var(--ink-muted); font-size: .93rem; }
.brief-delivery { margin-block-start: .25rem; }
.brief-status:not(:empty) { margin-block-top: .25rem; font-weight: 600; }
.brief-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem 1rem; margin-block-start: .4rem; }
.brief-submit:disabled { opacity: .72; cursor: progress; }
.brief-success {
  display: grid;
  justify-items: center;
  gap: 1rem;
  padding-block: .5rem;
  text-align: center;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

@media (max-width: 767px) {
  :root { --section-space: clamp(2.5rem, 8vw, 3.25rem); }
  html { scroll-padding-top: 5rem; }
  html:has(.masthead:not([data-menu])) { scroll-padding-top: 8rem; }

  .masthead-inner {
    min-height: 3.6rem;
    flex-wrap: wrap;
    gap: .25rem .5rem;
    padding-block: .4rem;
  }

  .masthead[data-menu] .masthead-inner { flex-wrap: nowrap; }
  .wordmark { display: flex; align-items: center; min-height: 44px; }
  .nav-brief { min-height: 44px; padding-inline: .65rem; font-size: .9rem; white-space: nowrap; }
  .nav { order: 1; width: 100%; gap: 0 .8rem; flex-wrap: wrap; }

  .masthead[data-menu] .nav-toggle {
    display: grid;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    place-items: center;
    margin-inline-start: auto;
    padding: 0;
    border: 1px solid var(--rule);
    border-radius: var(--radius-pill);
    background: var(--paper);
    color: var(--ink);
    cursor: pointer;
  }

  .nav-toggle:hover { background: var(--mount); }

  .nav-toggle-mark {
    position: relative;
    width: 1.05rem;
    height: 2px;
    background: currentColor;
  }

  .nav-toggle-mark::before, .nav-toggle-mark::after {
    content: "";
    position: absolute;
    inset: 0;
    background: currentColor;
  }

  .nav-toggle-mark::before { transform: translateY(-5px); }
  .nav-toggle-mark::after { transform: translateY(5px); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-mark { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-mark::before { transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-mark::after { transform: rotate(-45deg); }

  .masthead[data-menu] .nav {
    position: absolute;
    inset: calc(100% + .35rem) var(--gutter) auto;
    display: none;
    width: auto;
    max-height: calc(100dvh - 5rem);
    padding: .35rem;
    border: 1px solid var(--rule);
    border-radius: var(--radius-media);
    background: var(--paper);
    box-shadow: 0 .6rem 1.5rem color-mix(in srgb, var(--ink) 12%, transparent);
    overflow-y: auto;
    overscroll-behavior-y: contain;
  }

  .masthead[data-menu-open] .nav { display: grid; }
  .masthead[data-menu] .nav a { padding-inline: .8rem; border-radius: var(--radius-control); }
  .masthead[data-menu] .nav a:is(:hover, :focus-visible) { background: var(--mount); }
  .masthead[data-menu] .nav a:focus-visible { outline-offset: -3px; }

  h1 { font-size: clamp(1.95rem, 7.5vw, 3.6rem); }
  .hero-feature { margin-inline: calc(-1 * var(--gutter)); }
  .reel-deck {
    --slide-width: clamp(8.2rem, 38vw, 13.5rem);
    --deck-height: calc(var(--slide-width) * 1.78 + 2.4rem);
  }
  .deck-slide { inset-block-start: 7%; }
  .deck-slide[data-slot="-1"], .deck-slide[data-slot="1"] { --travel: 37%; --zoom: .89; }
  .deck-slide[data-slot="-2"], .deck-slide[data-slot="2"] { --travel: 74%; --drop: 1.85rem; --zoom: .77; }
  .deck-slide:not([data-slot="0"]) .play-mark { visibility: hidden; }
  .content-carousel { --phone-width: min(68vw, 14rem); }
  .about, .testimonials, .footer-contact { grid-template-columns: minmax(0, 1fr); }
  .about-portrait { max-width: 20rem; }
  .process ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .service-list > div, .brief-columns { grid-template-columns: minmax(0, 1fr); }
  .brief-dialog {
    width: calc(100% - 1rem);
    max-height: calc(100dvh - 1rem);
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .process ol { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .brief-submit { width: 100%; min-height: 44px; }
}

@media (max-width: 360px) {
  .footer-email { padding-inline: .65rem; }
  .footer-social { font-size: .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .brands .brand-track { animation: none; }
}
