/*
 * Jessie Sunday — site styles.
 *
 * One stylesheet for every page: fonts, the shared styles, then one section
 * per page-specific component (class names prefixed with the component,
 * e.g. .case-hero__content).
 */

/*
 * Fonts
 *
 * Titles, the wordmark and the favicon use Sunday Club (a single bold weight).
 * Body copy is DM Sans; the serif paragraph styles are DM Serif Display.
 * Each "Fallback" face is Arial resized to the web font's proportions, so the
 * layout barely moves when the real font finishes loading.
 */
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/DMSans-Regular.ttf") format("truetype");
  font-display: swap;
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/DMSans-Medium.ttf") format("truetype");
  font-display: swap;
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/DMSans-SemiBold.ttf") format("truetype");
  font-display: swap;
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/DMSans-Bold.ttf") format("truetype");
  font-display: swap;
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "DM Sans Fallback";
  src: local("Arial");
  ascent-override: 94.36%;
  descent-override: 29.49%;
  line-gap-override: 0%;
  size-adjust: 105.13%;
}
@font-face {
  font-family: "DM Serif Display";
  src: url("../fonts/DMSerifDisplay-Regular.ttf") format("truetype");
  font-display: swap;
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "DM Serif Display";
  src: url("../fonts/DMSerifDisplay-Italic.ttf") format("truetype");
  font-display: swap;
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: "DM Serif Display Fallback";
  src: local("Arial");
  ascent-override: 102.23%;
  descent-override: 33.06%;
  line-gap-override: 0%;
  size-adjust: 101.35%;
}
@font-face {
  font-family: "Sunday Club";
  src: url("../fonts/SundayClub.otf") format("opentype");
  font-display: swap;
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "Sunday Club Fallback";
  src: local("Arial");
  ascent-override: 96.43%;
  descent-override: 32.14%;
  line-gap-override: 12.86%;
  size-adjust: 77.78%;
}
:root {
  --font-dm-sans: "DM Sans", "DM Sans Fallback";
  --font-dm-serif: "DM Serif Display", "DM Serif Display Fallback";
  --font-sunday-club: "Sunday Club", "Sunday Club Fallback";
}

/* ======================================================================
 * Shared styles
 * ====================================================================== */

:root {
  --cream: #f5efe3;
  --wine: #491f2c;
  --plum: #321b2e;
  --rust: #aa452f;
  --butter: #efd69b;
  --ink: #2e2424;
  --muted: #73655f;
  --line: #d8cdc0;
  --forest: #253e34;
  --cobalt: #25499d;
  --display: var(--font-sunday-club), Georgia, serif;
  --title-tracking: 0.125rem;
  --hero-mobile-title: clamp(3rem, 15vw, 5.5rem);
  --serif: var(--font-dm-serif), Georgia, serif;
  --sans: var(--font-dm-sans), Arial, sans-serif;
  --nav-space: 5.5rem;
  /* The top nav's frame. Inner-page heroes reuse it so their edges line up. */
  --frame-max: 82.5rem;
  --frame-gutter: clamp(0.75rem, 3vw, 1.5rem);
  --frame-top: 0.75rem;
  --frame-radius: 1.125rem;
  /* Space between the nav pill's left edge and the wordmark. */
  --nav-pad-start: 1.125rem;
  --bg: var(--cream);
  --bg-soft: #f7f2e9;
  --bg-warm: #e6d8c5;
  --bg-form: #e8dbca;
  --text: var(--ink);
  --text-soft: #64564e;
  --line-strong: #b4a594;
  --accent: var(--rust);
  --accent-text: var(--wine);
  --cta-bg: var(--wine);
  --cta-text: var(--cream);
  --cta-hover: var(--rust);
  --nav-bg: #f5efe3d9;
  --border-faint: #2e242414;
  --shadow: #2e242440;
  --paper-stock: url("../../images/textures/cotton-paper.webp");
  --paper-texture: var(--paper-stock);
  --print-ink: var(--plum);
  --print-paper: var(--cream);
}
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #1b1216;
  --bg-soft: #21171b;
  --bg-warm: #2a1c21;
  --bg-form: #261a1f;
  --text: #f0e6da;
  --text-soft: #cdbfb8;
  --muted: #b0a09b;
  --line: #46363c;
  --line-strong: #6b585e;
  --accent: #e0896b;
  --accent-text: var(--cream);
  --cta-bg: var(--butter);
  --cta-text: var(--wine);
  --cta-hover: var(--cream);
  --nav-bg: #1b1216d9;
  --border-faint: #f5efe31f;
  --shadow: #00000099;
  --paper-texture: none;
  --print-ink: #d1b4d6;
  --print-paper: var(--bg);
}
/* Every size on the site is in rem, so this one value scales the whole
   layout. It stays at the reader's own size up to 1920px wide, then grows
   with the screen, reaching double at 3840px. */
html {
  font-size: clamp(100%, 0.83333vw, 200%);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1.125rem/1.65 var(--sans);
}
::selection {
  background: var(--butter);
  color: var(--wine);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 0.1875rem solid #4167c5;
  outline-offset: 0.3125rem;
}
img {
  display: block;
  width: 100%;
  object-fit: cover;
}
button {
  cursor: pointer;
}
p {
  margin: 0 0 1.3em;
}
h1,
h2,
h3 {
  font-weight: 400;
  margin: 0;
  line-height: 1.08;
  font-family: var(--display);
  letter-spacing: var(--title-tracking);
}
h1 {
  font-size: clamp(3.5rem, 6.8vw, 6.5rem);
}
h2 {
  font-size: clamp(2.3125rem, 4.1vw, 3.875rem);
}
h3 {
  font-size: 1.9375rem;
}
em {
  font-weight: 400;
  color: inherit;
}
figure {
  margin: 0;
  position: relative;
}
.eyebrow {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.section-pad {
  padding: 5.875rem max(6.2vw, 1.5rem);
}
.nav-spacer {
  height: var(--nav-space);
}
/* Framed page heroes align with the nav; Home and case illustrations are full-width. */
.hero-frame {
  width: min(var(--frame-max), 100% - 2 * var(--frame-gutter));
  margin-inline: auto;
  border-radius: var(--frame-radius);
}
.site-header {
  position: fixed;
  top: var(--frame-top);
  left: 0;
  right: 0;
  z-index: 50;
  padding: 0 var(--frame-gutter);
  pointer-events: none;
}
.nav-pill {
  pointer-events: auto;
  max-width: var(--frame-max);
  height: 4rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border-faint);
  border-radius: var(--frame-radius);
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(0.75rem);
  backdrop-filter: blur(0.75rem);
  box-shadow: 0 0.5rem 1.875rem -1.125rem var(--shadow);
  transition:
    height 0.5s,
    border-radius 0.5s,
    background-color 0.5s;
}
.nav-bar {
  height: 4rem;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.625rem 0.75rem 0.625rem var(--nav-pad-start);
}
.wordmark {
  font: 2rem/0.95 var(--display);
  letter-spacing: 0.125rem;
  white-space: nowrap;
  color: var(--accent-text);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.625rem;
}
.nav-links a {
  font-size: 1.125rem;
  font-weight: 500;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.375rem;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.625rem 1.125rem;
  border-radius: 0.75rem;
  background: var(--cta-bg);
  color: var(--cta-text);
  font-size: 1.125rem;
  font-weight: 500;
  transition: background-color 0.2s;
}
.nav-cta:hover {
  background: var(--cta-hover);
}
.nav-cta span {
  font-size: 1.125rem;
}
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.3125rem;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0 0.6875rem;
  border: 1px solid var(--border-faint);
  border-radius: 0.75rem;
  background: transparent;
}
.menu-toggle span {
  height: 0.125rem;
  border-radius: 1px;
  background: var(--accent-text);
  transition:
    transform 0.25s,
    opacity 0.2s;
}
.nav-pill.open .menu-toggle span:nth-child(1) {
  transform: translateY(0.4375rem) rotate(45deg);
}
.nav-pill.open .menu-toggle span:nth-child(2) {
  opacity: 0;
}
.nav-pill.open .menu-toggle span:nth-child(3) {
  transform: translateY(-0.4375rem) rotate(-45deg);
}
.theme-toggle {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--border-faint);
  border-radius: 0.75rem;
  background: transparent;
  color: var(--accent-text);
  transition: border-color 0.2s;
}
.theme-toggle:hover {
  border-color: var(--accent-text);
}
.theme-toggle svg {
  width: 1.125rem;
  height: 1.125rem;
}
.theme-toggle .moon,
[data-theme="dark"] .theme-toggle .sun {
  display: none;
}
[data-theme="dark"] .theme-toggle .moon {
  display: block;
}
.mobile-menu {
  display: none;
}
.skip {
  font-weight: 500;
  position: absolute;
  left: 0.75rem;
  top: -6.25rem;
  z-index: 60;
  background: var(--butter);
  padding: 0.75rem;
}
.skip:focus {
  top: 0.75rem;
}
.hero {
  box-sizing: content-box;
  margin-top: calc(-1 * var(--nav-space));
  padding-top: var(--nav-space);
  min-height: max(38.75rem, min(47.5rem, calc(100svh - var(--nav-space))));
  display: flex;
  flex-direction: column;
  position: relative;
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
  background: var(--wine);
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero-backdrop img {
  object-fit: cover;
  object-position: var(--hero-position, center);
}
.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #321b2edb 0%, #321b2e9c 36%, #321b2e26 72%),
    linear-gradient(0deg, #21151bb3, transparent 42%);
}
.hero-content {
  position: relative;
  padding: 4.5rem 6.2vw;
  max-width: 55rem;
}
.hero h1 {
  font-size: clamp(4.125rem, 7.7vw, 7.25rem);
  letter-spacing: var(--title-tracking);
  line-height: 0.98;
  color: #f7e7bd;
  margin-bottom: 1.875rem;
}
.hero h1 em {
  color: var(--cream);
}
.hero .eyebrow {
  font-size: 1.125rem;
  margin-bottom: 1.875rem;
}
.role {
  font-size: 1.125rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  line-height: 1.8;
  margin-bottom: 1.125rem;
}
.hero-description {
  font-size: 1.125rem;
  max-width: 22.8125rem;
  color: #f0e7d8;
  margin-bottom: 1.6875rem;
}
.button {
  border: 1px solid transparent;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.75rem;
  padding: 0.9375rem 1.4375rem;
  font-size: 1.125rem;
  font-weight: 500;
  border-radius: 0.125rem;
  transition:
    transform 0.2s,
    background 0.2s;
}
.button:hover {
  transform: translateY(-0.1875rem);
}
.button span {
  font-size: 1.3125rem;
  line-height: 1;
}
.butter {
  color: var(--wine);
  background: var(--butter);
}
.dark {
  background: var(--cta-bg);
  color: var(--cta-text);
}
.outline {
  border-color: var(--accent-text);
  background: transparent;
  color: var(--accent-text);
}
.hero-bottom {
  position: relative;
  margin: auto 6.2vw 1.625rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.125rem;
  letter-spacing: 0.12em;
}
.hero-bottom .hand {
  position: absolute;
  right: 8%;
  bottom: 2.1875rem;
  font-size: 1.5rem;
  letter-spacing: 0;
  transform: rotate(-6deg);
  color: var(--butter);
}
.hand {
  display: block;
  font: italic 1.625rem/1.25 var(--serif);
  letter-spacing: 0.01em;
}
.hand-note {
  position: relative;
  width: fit-content;
  max-width: 100%;
}
.hand-flourish {
  position: absolute;
  right: 3%;
  bottom: -1rem;
  width: min(11.25rem, 75%);
  height: 1rem;
  pointer-events: none;
}
.hand-flourish path {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
/* One short arrival, followed by quiet, once-per-visit scroll reveals. */
.hero-line {
  display: inline-block;
}
@keyframes editorial-arrive {
  from {
    opacity: 0;
    translate: 0 1rem;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@keyframes ink-flourish {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@media screen and (prefers-reduced-motion: no-preference) {
  .hero-content > .eyebrow,
  .hero-line,
  .hero-content > .role,
  .hero-content > .hero-description,
  .hero-content > .button,
  .page-hero-content > * {
    animation: editorial-arrive 580ms cubic-bezier(0.22, 1, 0.36, 1) backwards;
  }
  .hero-line {
    animation-delay: 40ms;
  }
  .hero-line + br + .hero-line {
    animation-delay: 140ms;
  }
  .hero-content > .role {
    animation-delay: 210ms;
  }
  .hero-content > .hero-description {
    animation-delay: 270ms;
  }
  .hero-content > .button {
    animation-delay: 330ms;
  }
  .page-hero-content > :nth-child(2) {
    animation-delay: 90ms;
  }
  .page-hero-content > :nth-child(3) {
    animation-delay: 180ms;
  }
  .page-hero-content > :nth-child(n + 4) {
    animation-delay: 270ms;
  }
  [data-motion="pending"]:not([data-flourish]) {
    opacity: 0;
    translate: 0 1rem;
  }
  [data-motion="entered"]:not([data-flourish]) {
    animation: editorial-arrive 600ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms)
      backwards;
  }
  [data-flourish][data-motion="pending"] path {
    stroke-dashoffset: 1;
  }
  [data-flourish][data-motion="entered"] path {
    animation: ink-flourish 850ms cubic-bezier(0.33, 1, 0.68, 1) 120ms backwards;
  }
  .hero-content > .button:focus-visible,
  .page-hero-content > :focus-within {
    animation: none;
  }
}
.intro {
  padding-bottom: 4.875rem;
}
.intro-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: min(9vw, 8.4375rem);
}
.intro-grid > div:last-child {
  padding-top: 0.375rem;
  max-width: 28.125rem;
}
.intro-grid p {
  font-size: 1.125rem;
}
.intro h2 {
  font-size: clamp(2.125rem, 3.5vw, 3.25rem);
}
.text-link {
  border-bottom: 1px solid currentColor;
  display: inline-flex;
  gap: 2.1875rem;
  padding: 0.5rem 0;
  font-size: 1.125rem;
  font-weight: 500;
}
.text-link span {
  font-size: 1.25rem;
}
.proof {
  padding: 0 6.2vw 2.1875rem;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2.0625rem 0 1.875rem;
  gap: 2.1875rem;
}
.metrics > div + div {
  border-left: 1px solid var(--line);
  padding-left: 2rem;
}
.metrics strong {
  font: 3.125rem/1 var(--display);
  color: var(--accent-text);
  display: block;
  margin-bottom: 0.9375rem;
  letter-spacing: var(--title-tracking);
}
.metrics span {
  font-size: 1.125rem;
  line-height: 1.5;
  display: block;
  max-width: 14.375rem;
}
.brand-row {
  display: grid;
  grid-template-columns: 8.75rem minmax(0, 1fr);
  gap: 1.75rem;
  align-items: start;
  margin-top: 2.5rem;
}
.brand-row > span {
  font-size: 1.125rem;
  letter-spacing: 0.14em;
  max-width: 8.75rem;
  padding-top: 0.875rem;
}
.brand-logos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
}
.brand-logos li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 3.375rem;
}
.brand-logos li:nth-child(n + 7) {
  grid-column: span 2;
}
.company-logo {
  display: block;
  width: var(--logo-width);
  height: var(--logo-height);
  max-width: 100%;
  background-color: var(--text-soft);
  /* Each logo names its own file with an inline mask-image. */
  -webkit-mask: center / contain no-repeat;
  mask: center / contain no-repeat;
}
.services {
  background: var(--wine);
  color: var(--cream);
  margin-top: 2rem;
}
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 2.5rem;
  align-items: end;
  margin-bottom: 3.4375rem;
}
.section-head > p {
  font-size: 1.125rem;
  margin: 0;
  max-width: 15.625rem;
}
.section-head--statement > div {
  flex: 1;
}
.section-head--statement h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
  max-width: 30ch;
}
.based-line {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.based-line p {
  margin: 0 auto;
  max-width: 30ch;
  font: clamp(1.875rem, 3.2vw, 2.875rem) / 1.15 var(--display);
  letter-spacing: var(--title-tracking);
  color: var(--accent-text);
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.625rem;
}
.service-grid article {
  border-top: 1px solid #ffffff40;
  padding-top: 1.5625rem;
}
.index {
  font-size: 1.125rem;
  letter-spacing: 0.16em;
  color: var(--butter);
}
.service-grid h3 {
  margin: 1.625rem 0 1.3125rem;
  min-height: 4.375rem;
  font-size: 2rem;
}
.service-grid p {
  color: #ddcfd0;
  font-size: 1.125rem;
  max-width: 19.375rem;
}
.service-tags {
  font-size: 1.125rem;
  color: var(--butter);
}
.services > .text-link {
  margin-top: 3.25rem;
}
.connection {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-warm);
  --paper-color: var(--bg-warm);
}
.connection figure {
  height: 41.25rem;
}
.connection img {
  height: 100%;
  object-position: center 15%;
}
.connection-copy {
  padding: 5rem min(7vw, 6.5625rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.connection h2 {
  font-size: clamp(2.9375rem, 4.7vw, 4.5rem);
  margin-bottom: 1.875rem;
  color: var(--accent-text);
}
.connection p {
  font-size: 1.125rem;
  max-width: 21.25rem;
}
.connection .hand {
  color: var(--accent);
  margin-top: 1.25rem;
  transform: rotate(-4deg);
  align-self: end;
}
.audience .text-link {
  margin-top: 1.75rem;
}
.invitation {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: min(9vw, 8.4375rem);
  align-items: center;
  border-top: 1px solid var(--line);
}
.invitation h2 {
  font-size: clamp(2.8125rem, 4.6vw, 4.3125rem);
}
.invitation p {
  max-width: 26.25rem;
  margin: 0 0 1.875rem;
  font-size: 1.125rem;
}
.invitation .hand {
  margin-top: 2.125rem;
  color: var(--accent);
}
.timeline p {
  margin: 1.125rem 0 0;
  max-width: 25ch;
  font: 1rem/1.6 var(--sans);
  color: var(--text-soft);
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.625rem;
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
}
.principles li {
  border-top: 1px solid var(--line);
  padding-top: 1.375rem;
}
.principles strong {
  display: block;
  margin-bottom: 0.75rem;
  font: 1.5rem/1.2 var(--display);
  letter-spacing: var(--title-tracking);
}
.principles p {
  max-width: 20rem;
  margin: 0;
  font-size: 1.125rem;
}
.next-page {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2.5rem;
  border-top: 1px solid var(--line);
}
.next-page h2 {
  max-width: 43.75rem;
  font-size: clamp(2.125rem, 3.5vw, 3.25rem);
}
.next-page p {
  max-width: 30rem;
  margin: 1.25rem 0 0;
  font-size: 1.125rem;
}
.next-page .text-link {
  flex-shrink: 0;
}
.process {
  background: var(--bg-soft);
  --paper-color: var(--bg-soft);
}
.process-steps {
  padding: 0;
  margin: 0;
  list-style: none;
}
.process-steps li {
  display: grid;
  grid-template-columns: 4.375rem minmax(0, 1.5fr) minmax(0, 0.8fr);
  gap: min(5vw, 4.6875rem);
  padding: 2.8125rem 0;
  border-top: 1px solid var(--line);
}
.process-steps li:last-child {
  padding-bottom: 0;
}
.step-number {
  font: 3rem/1 var(--display);
  letter-spacing: var(--title-tracking);
  color: var(--accent);
}
.process-steps h2 {
  font-size: clamp(1.875rem, 3vw, 2.75rem);
  margin-bottom: 1.5rem;
}
.process-steps p {
  max-width: 33.75rem;
  font-size: 1.125rem;
  margin-bottom: 0;
}
.step-output {
  align-self: start;
  border-left: 1px solid var(--line);
  padding-left: 1.75rem;
}
.step-output .eyebrow {
  display: block;
}
.step-output p {
  font: 400 1.375rem/1.4 var(--sans);
  color: var(--accent-text);
}
.work {
  padding-top: 3.5rem;
}
.filters {
  display: flex;
  gap: 0.625rem;
  flex-wrap: wrap;
  margin: -0.875rem 0 2.375rem;
}
.filters button {
  font-size: 1.125rem;
  font-weight: 500;
  padding: 0.5625rem 0.9375rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  border-radius: 1.875rem;
}
.filters button.active {
  background: var(--cta-bg);
  border-color: var(--cta-bg);
  color: var(--cta-text);
}
.work-grid {
  align-content: start;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem 1.875rem;
}
.work-card[hidden] {
  display: none;
}
.project-art {
  height: 21.25rem;
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  color: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.rust {
  background: #a54730;
  color: #f7dfb4;
}
.cobalt {
  background: #243d7c;
  color: #edcf97;
}
.forest {
  background: #253e34;
  color: #edddba;
}
.plum {
  background: #3d223b;
  color: #eac3b6;
}
.wine {
  background: #64283a;
  color: #f1ce9b;
}
.ochre {
  background: #be8546;
  color: #301e2a;
}
.card-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1.125rem 0 0.375rem;
}
.card-heading h2 {
  font-size: 1.5625rem;
  letter-spacing: var(--title-tracking);
}
.work-card-main > p {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--muted);
}
.work-card-main {
  display: block;
}
.work-card-brand {
  min-height: 6.25rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.work-card-category {
  max-width: 15ch;
  flex-shrink: 0;
  font: 500 0.75rem/1.5 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: right;
  color: var(--text-soft);
}
.work-card .project-photo {
  height: auto;
  aspect-ratio: 1.8;
  padding: 0;
}
.work-card .project-photo::after {
  content: none;
}
.project-photo {
  padding: 0;
  isolation: isolate;
}
.project-photo-image {
  object-fit: cover;
}
.project-photo::after {
  content: "";
  position: absolute;
  inset: 50% 0 0;
  background: linear-gradient(transparent, #271d18b8);
  pointer-events: none;
}
.project-logo {
  position: absolute;
  z-index: 1;
  top: 1.25rem;
  left: 1.25rem;
  width: 11.875rem;
  height: 5.5rem;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-logo--light {
  background: #fffdf7;
}
.project-logo--dark {
  background: #281c2b;
}
.project-logo svg {
  width: 100%;
  height: 100%;
  display: block;
}
.project-logo--wordmark {
  position: static;
  width: 11.25rem;
  max-width: 55%;
  height: 3.5rem;
  padding: 0;
  background: transparent;
  justify-content: flex-start;
}
.project-logo--wordmark svg {
  filter: brightness(0);
  opacity: 0.82;
}
[data-theme="dark"] .project-logo--wordmark svg {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.project-logo--wordmark[data-project="livingsocial-adventures"] {
  width: 9.375rem;
}
.project-logo--wordmark[data-project="jack-morton"] {
  width: 13.125rem;
}
.project-logo--wordmark[data-project="jewish-federation-la"] {
  width: 9.375rem;
}
/* This identity includes its teal panels; preserve their contrast with the lettering. */
.project-logo--wordmark[data-project="jewish-federation-la"] svg {
  filter: none;
  opacity: 1;
}
.project-photo-label {
  position: absolute;
  z-index: 1;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  color: #fffdf7;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.place {
  position: relative;
  height: 38.75rem;
  color: var(--cream);
}
.place > img {
  height: 100%;
  object-position: 50% 56%;
}
.place-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #211c21e0, transparent 95%);
}
.place-content {
  position: absolute;
  top: 15%;
  left: 6.2vw;
  max-width: 27.5rem;
}
.place h2 {
  font-size: clamp(3.25rem, 5.3vw, 5rem);
  margin-bottom: 1.5625rem;
}
.place p {
  font-size: 1.125rem;
  max-width: 20.625rem;
}
.place .hand {
  color: var(--butter);
  margin-top: 1.875rem;
  transform: rotate(-3deg);
}
.timeline {
  list-style: none;
  margin: 4.0625rem 0 0;
  padding: 1.5625rem 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.5625rem;
}
.timeline-step {
  display: block;
  font: 500 0.8125rem var(--sans);
  color: var(--accent);
  margin-bottom: 1.125rem;
}
/* A fixed row keeps the chapter details level across wordmarks of different heights. */
.timeline-mark {
  display: flex;
  align-items: center;
  height: 3.5rem;
}
/* The link hugs the logo so only the mark itself is clickable. */
.timeline-link {
  display: block;
  min-width: 0;
  max-width: 100%;
  border-radius: 0.25rem;
}
.timeline-logo {
  display: block;
  width: var(--logo-width);
  max-width: 100%;
  aspect-ratio: var(--logo-aspect);
  background-color: var(--text);
  /* Each logo names its own file with an inline mask-image. */
  -webkit-mask: left center / contain no-repeat;
  mask: left center / contain no-repeat;
  transition: background-color 0.2s ease;
}
.timeline-link:hover .timeline-logo,
.timeline-link:focus-visible .timeline-logo {
  background-color: var(--accent);
}
.timeline-wordmark {
  display: block;
  font: 600 0.9375rem/1.15 var(--sans);
  letter-spacing: 0.02em;
  color: var(--text);
  transition: color 0.2s ease;
}
.timeline-link:hover .timeline-wordmark,
.timeline-link:focus-visible .timeline-wordmark {
  color: var(--accent);
}
.audience {
  background: var(--forest);
  color: var(--cream);
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: min(10vw, 9.375rem);
}
.audience h2 {
  font-size: clamp(2.8125rem, 4.6vw, 4.3125rem);
  margin-bottom: 1.5625rem;
}
.audience p {
  font-size: 1.125rem;
  color: #d3dacb;
}
.audience-list article {
  border-top: 1px solid #ffffff40;
  padding: 1.625rem 0 1rem;
  display: flex;
  gap: 1.4375rem;
}
.audience-list article > span {
  font-size: 1.125rem;
  color: var(--butter);
  margin-top: 0.25rem;
}
.audience-list h3 {
  font-size: 1.5625rem;
  margin-bottom: 0.75rem;
}
.audience-list p {
  max-width: 23.75rem;
}
.partnership-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.375rem;
  margin-top: 3.25rem;
}
.partnership-grid:first-child {
  margin-top: 0;
}
.partnership-grid article {
  border-top: 1px solid var(--accent-text);
  padding-top: 1.875rem;
}
.partnership-grid :is(h2, h3) {
  font-size: 2.3125rem;
  letter-spacing: var(--title-tracking);
  margin: 1.375rem 0;
}
.partnership-grid p {
  font-size: 1.125rem;
  max-width: 25.625rem;
}
.partnership-grid ul {
  padding: 0.9375rem 0 1.125rem;
  list-style: none;
  font-size: 1.125rem;
}
.partnership-grid li {
  margin: 0.5rem 0;
}
.partnership-grid li:before {
  content: "＋";
  color: var(--accent);
  margin-right: 0.75rem;
}
.partnership-fit {
  color: var(--text-soft);
}
.partnership-fit strong {
  display: block;
  margin-bottom: 0.3125rem;
  color: var(--accent-text);
}
.inquiry-label {
  display: block;
  margin-bottom: 0.625rem;
  font-size: 1.125rem;
  font-weight: 500;
}
.inquiry-context {
  color: var(--accent-text);
  font-size: 1.125rem;
}
.email-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4375rem;
  border: 0.09375rem solid var(--line);
  border-radius: 62.4375rem;
  transition: border-color 0.2s;
}
.email-pill:focus-within {
  border-color: var(--text);
}
.email-pill input {
  flex: 1;
  width: 100%;
  min-width: 0;
  min-height: 3.5rem;
  padding: 0.75rem 0 0.75rem 1.5rem;
  border: 0;
  border-radius: 62.4375rem;
  background: transparent;
  color: var(--text);
  font-size: clamp(1.125rem, 1.6vw, 1.5rem);
  line-height: 1.4;
}
.email-pill input::placeholder {
  color: var(--muted);
  opacity: 1;
}
.email-pill input:focus-visible {
  outline-offset: 0;
}
.email-pill-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 1rem;
  min-height: 4rem;
  padding: 0.75rem 1.75rem;
  border: 0.09375rem solid var(--text);
  border-radius: 62.4375rem;
  background: transparent;
  color: var(--text);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1;
  transition:
    background-color 0.2s,
    color 0.2s;
}
.email-pill-submit:hover {
  background: var(--text);
  color: var(--bg-soft);
}
.email-pill-submit svg {
  flex-shrink: 0;
}
.email-pill.is-disabled {
  opacity: 0.6;
}
.email-pill input:disabled,
.email-pill-submit:disabled {
  cursor: not-allowed;
}
.email-pill-submit:disabled:hover {
  background: transparent;
  color: var(--text);
}
.form-note {
  font-size: 1.125rem;
  line-height: 1.5;
  max-width: 28.75rem;
  margin: 0.875rem 1.5rem 0;
  color: var(--text-soft);
}
#form-status {
  font-size: 1.125rem;
  margin: 0.75rem 1.5rem 0;
}
#form-status:empty {
  display: none;
}
.inquiry-output {
  border-top: 1px solid var(--line-strong);
  padding-top: 1.5625rem;
  margin-top: 1.5625rem;
}
.inquiry-output h3 {
  font-size: 1.75rem;
  margin-bottom: 0.875rem;
}
.inquiry-output p {
  font-size: 1.125rem;
}
.inquiry-output pre {
  white-space: pre-wrap;
  word-break: break-word;
  font: 1.125rem/1.6 var(--sans);
  background: var(--bg);
  --paper-color: var(--bg);
  padding: 1.25rem;
  max-height: 20rem;
  overflow: auto;
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}
.form-actions .button {
  padding: 0.625rem 0.9375rem;
}
.site-footer {
  --scene-ink: var(--print-ink);
  --scene-paper: var(--print-paper);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--scene-paper);
  color: var(--scene-ink);
  border-top: 1px solid color-mix(in srgb, var(--scene-ink) 28%, transparent);
}
.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image: var(--paper-texture);
  background-size: 37.5rem 37.5rem;
  opacity: 0.18;
  mix-blend-mode: multiply;
}
.footer-top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2.5rem;
  max-width: 93.75rem;
  margin: 0 auto;
  padding: 4rem max(6.2vw, 1.5rem) 0.75rem;
}
.footer-name {
  font: clamp(2.625rem, 4.7vw, 4.375rem)/1 var(--display);
  letter-spacing: var(--title-tracking);
}
.footer-name span {
  display: block;
  margin-top: 1.25rem;
  font: 1.125rem/1.5 var(--sans);
  letter-spacing: 0.19em;
}
.footer-invitation {
  font-size: 1.125rem;
}
.footer-invitation p {
  margin-bottom: 0.9375rem;
}
.footer-invitation a {
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 1.5625rem;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.3125rem;
}
.footer-invitation a:hover {
  text-decoration: underline;
  text-underline-offset: 0.3125rem;
}
.footer-scene {
  position: relative;
  /* 37.5vw is the scene's own shape (1440 x 540). Capping the height on wide
     screens cropped the top of the drawing, bridge included. */
  height: max(21.25rem, 37.5vw);
  overflow: hidden;
}
.bay-sunset {
  position: absolute;
  left: 50%;
  bottom: 0;
  display: block;
  width: 100%;
  min-width: 56.6875rem;
  height: 100%;
  transform: translateX(-50%);
}
.bay-boat--sail {
  animation: bay-sail-drift 32s ease-in-out infinite alternate;
}
.bay-boat--ferry {
  animation: bay-ferry-drift 42s ease-in-out infinite alternate;
}
.bay-boat--distant {
  animation: bay-distant-drift 37s ease-in-out infinite alternate;
}
.bay-boat-bob {
  animation: bay-bob 5s ease-in-out infinite;
}
.bay-boat--ferry .bay-boat-bob {
  animation-delay: -2s;
  animation-duration: 6s;
}
.bay-boat--distant .bay-boat-bob {
  animation-delay: -3s;
}
.site-footer.is-paused .bay-boat,
.site-footer.is-paused .bay-boat-bob,
.site-footer.is-paused .bay-seal-leap,
.site-footer.is-paused .bay-seal-ripples,
.site-footer.is-paused .bay-seal-splash {
  animation-play-state: paused;
}
.bay-water-trigger {
  cursor: pointer;
  outline: none;
}
.bay-water-trigger:focus-visible {
  stroke: currentColor;
  stroke-width: 3px;
  stroke-dasharray: 4 8;
  fill: color-mix(in srgb, currentColor 5%, transparent);
}
.bay-seal-leap {
  animation: bay-seal-leap 1.8s both;
}
.bay-seal[data-creature="shark"] .bay-seal-leap {
  animation-name: bay-shark-leap;
}
.bay-seal-ripples {
  animation: bay-seal-ripples 1.8s ease-out both;
}
.bay-seal-splash {
  animation: bay-seal-splash 1.8s both;
}
@keyframes bay-seal-leap {
  0% {
    transform: translateY(75px) rotate(-25deg);
    animation-timing-function: cubic-bezier(0.2, 0.65, 0.3, 1);
  }
  42% {
    transform: translateY(-64px) rotate(8deg);
    animation-timing-function: cubic-bezier(0.55, 0, 0.85, 0.4);
  }
  83%,
  100% {
    transform: translateY(80px) rotate(38deg);
  }
}
@keyframes bay-shark-leap {
  0% {
    transform: translateY(85px) rotate(-90deg);
    animation-timing-function: cubic-bezier(0.2, 0.65, 0.3, 1);
  }
  32% {
    transform: translateY(-76px) rotate(-90deg);
    animation-timing-function: ease-out;
  }
  48% {
    transform: translateY(-98px) rotate(0deg);
    animation-timing-function: ease-in;
  }
  62% {
    transform: translateY(-68px) rotate(90deg);
    animation-timing-function: cubic-bezier(0.55, 0, 0.85, 0.4);
  }
  83%,
  100% {
    transform: translateY(85px) rotate(90deg);
  }
}
@keyframes bay-seal-ripples {
  0% {
    opacity: 0;
    transform: scaleX(0.4);
  }
  12% {
    opacity: 0.8;
  }
  50% {
    opacity: 0.25;
    transform: scaleX(1.2);
  }
  76% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: scaleX(1.7);
  }
}
@keyframes bay-seal-splash {
  0%,
  48%,
  100% {
    opacity: 0;
    transform: translateY(8px) scale(0.5);
  }
  12%,
  78% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  30%,
  94% {
    opacity: 0;
    transform: translateY(7px) scale(1.2);
  }
}
@media (prefers-reduced-motion: reduce) {
  .bay-seal-leap {
    transform: translateY(22px);
  }
  .bay-seal-splash {
    display: none;
  }
}
@keyframes bay-sail-drift {
  from {
    transform: translateX(var(--boat-start, 0px));
  }
  to {
    transform: translateX(calc(var(--boat-start, 0px) + 110px));
  }
}
@keyframes bay-ferry-drift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-130px);
  }
}
@keyframes bay-distant-drift {
  from {
    transform: translateX(var(--boat-start, 0px));
  }
  to {
    transform: translateX(calc(var(--boat-start, 0px) - 80px));
  }
}
@keyframes bay-bob {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(3px) rotate(1deg);
  }
}
.fineprint {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem max(6.2vw, 1.5rem) 1.75rem;
  background: var(--scene-paper);
  color: var(--scene-ink);
  border-top: 1px solid currentColor;
  font-size: 1.125rem;
}
.fineprint nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.fineprint a {
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}
.footer-motion {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid color-mix(in srgb, currentColor 35%, transparent);
  border-radius: 62.4375rem;
  background: transparent;
  color: inherit;
  font-size: 1.125rem;
  font-weight: 500;
}
.footer-motion:hover {
  background: color-mix(in srgb, currentColor 8%, transparent);
}
.footer-motion span {
  font-size: 1.125rem;
}
.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;
}
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 41.25rem;
  margin-top: calc(var(--frame-top) - var(--nav-space));
  padding-top: calc(var(--nav-space) - var(--frame-top) + 5rem);
  padding-bottom: 5.625rem;
  background: var(--wine);
  color: var(--cream);
}
.page-hero.hero-frame {
  padding-inline: clamp(1.5rem, 5.5vw, 6.25rem);
}
.page-hero-content {
  width: 100%;
  max-width: 60rem;
}
.page-hero .eyebrow {
  color: var(--butter);
}
.page-hero h1 {
  max-width: 56.25rem;
  font-size: clamp(3.25rem, 6.2vw, 5.875rem);
  text-wrap: balance;
}
.page-hero h1 em {
  display: inline-block;
  color: var(--butter);
  text-wrap: balance;
}
.page-hero .lead {
  max-width: 30rem;
  margin: 1.75rem 0 0;
  font-size: 1.125rem;
  color: var(--cream);
  text-wrap: pretty;
}
.page-hero .button {
  margin-top: 1.875rem;
}
.page-hero--compact {
  min-height: 31.25rem;
}
/* A text-only hero: no panel or photo, set in the page's ink and aligned with the sections below. */
.page-hero--plain.section-pad {
  min-height: 0;
  margin-top: 0;
  padding-top: clamp(2.5rem, 7vw, 6rem);
  padding-bottom: 0;
  background: none;
  color: var(--text);
}
.page-hero--plain .eyebrow,
.page-hero--plain h1 em {
  color: inherit;
}
.page-hero--plain .lead {
  color: var(--text-soft);
}
.about-editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: min(8vw, 7.5rem);
  align-items: center;
}
.about-editorial figure {
  aspect-ratio: 4 / 5;
}
.about-editorial img {
  height: 100%;
}
.about-editorial h2 {
  margin-bottom: 1.875rem;
}
.large-copy {
  font: 400 1.5625rem/1.5 var(--sans);
}
.about-editorial p:not(.large-copy) {
  font-size: 1.125rem;
}
.about-editorial .principles {
  grid-template-columns: 1fr;
  gap: 1.125rem;
  margin-top: 2.25rem;
}
.about-editorial .principles p {
  max-width: 27.5rem;
}
.lead {
  font-size: 1.375rem;
  margin: 1.5625rem 0 0;
}
/* Case studies: illustrated openings, partner photography, and editorial chapters. */
.case {
  --case-tone: #64283a;
  --case-tone-text: #f1ce9b;
}
.case[data-tone="rust"] {
  --case-tone: #a54730;
  --case-tone-text: #f7dfb4;
}
.case[data-tone="cobalt"] {
  --case-tone: #243d7c;
  --case-tone-text: #edcf97;
}
.case[data-tone="forest"] {
  --case-tone: #253e34;
  --case-tone-text: #edddba;
}
.case[data-tone="plum"] {
  --case-tone: #3d223b;
  --case-tone-text: #eac3b6;
}
.case[data-tone="ochre"] {
  --case-tone: #be8546;
  --case-tone-text: #301e2a;
}
.case-numbers {
  display: grid;
  grid-template-columns: minmax(10.625rem, 1fr) minmax(0, 3.6fr);
  gap: 2.5rem min(6vw, 5.625rem);
  align-items: start;
  scroll-margin-top: var(--nav-space);
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
  background: var(--case-tone);
  color: var(--case-tone-text);
}
.case-numbers h2 {
  margin: 0.75rem 0 0;
  font-family: var(--sans);
}
.case-numbers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11.875rem, 1fr));
  gap: 2rem 2.5rem;
}
.case-numbers-grid > div {
  border-top: 1px solid color-mix(in srgb, currentColor 35%, transparent);
  padding-top: 1.375rem;
}
.case-numbers-grid strong {
  display: block;
  margin-bottom: 0.625rem;
  font: clamp(3.25rem, 5.6vw, 5.5rem)/1 var(--display);
  letter-spacing: var(--title-tracking);
}
/* Words such as "Hundreds" or "Ongoing" need more room than a figure. */
.case-numbers-grid strong[data-long] {
  font-size: clamp(2.5rem, 4.4vw, 4rem);
}
.case-numbers-grid span {
  display: block;
  font-size: 1.125rem;
  line-height: 1.5;
}
.case-story {
  display: grid;
  grid-template-columns: minmax(13.75rem, 18.75rem) minmax(0, 1fr);
  gap: 2.5rem clamp(3rem, 8vw, 7.5rem);
  align-items: start;
  padding-top: 5rem;
}
.case-aside {
  position: sticky;
  top: calc(var(--nav-space) + 0.5rem);
}
.case-aside .eyebrow {
  margin-bottom: 1rem;
}
.case-aside h2 {
  font-size: 1.875rem;
  margin-bottom: 1.375rem;
}
.case-facts {
  display: grid;
  gap: 0.875rem;
  margin: 0;
}
.case-facts dt {
  font-size: 0.9375rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.case-facts dd {
  margin: 0.25rem 0 0;
  font-size: 1.125rem;
  font-weight: 500;
}
.case-index {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 1.125rem 0 0;
  border-top: 1px solid var(--line);
}
.case-index a {
  display: flex;
  gap: 0.875rem;
  align-items: baseline;
  min-height: 2.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-soft);
}
.case-index a:hover {
  color: var(--accent-text);
}
.case-index a span {
  font: 1rem/1 var(--display);
  letter-spacing: var(--title-tracking);
  color: var(--accent);
}
.case-chapters {
  min-width: 0;
}
.case-chapter {
  display: grid;
  grid-template-columns: 5.25rem minmax(0, 1fr);
  gap: 1.25rem 1.5rem;
  padding: 2.75rem 0 3.25rem;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--nav-space) + 0.75rem);
}
.case-chapter:first-child {
  border-top: 0;
  padding-top: 0;
}
.case-chapter-number {
  padding-top: 0.25rem;
  font: 3rem/1 var(--display);
  letter-spacing: var(--title-tracking);
  color: var(--accent);
}
.case-chapter .eyebrow {
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
}
.case-chapter h2 {
  font-size: clamp(2rem, 3vw, 2.625rem);
  margin-bottom: 1.125rem;
}
.case-chapter p {
  max-width: 38.75rem;
  font-size: 1.1875rem;
}
.case-chapter .case-pull {
  max-width: 45rem;
  padding-left: 1.5rem;
  border-left: 0.1875rem solid var(--case-tone);
  font: italic 400 clamp(1.625rem, 2.6vw, 2.25rem)/1.3 var(--serif);
  color: var(--accent-text);
  text-wrap: pretty;
}
.case-chapter ul {
  max-width: 38.75rem;
  margin: 0 0 1.3em;
  padding-left: 1.2em;
  font-size: 1.1875rem;
}
.case-chapter li + li {
  margin-top: 0.75rem;
}
.case-chapter li::marker {
  color: var(--accent);
}
.case-quote {
  max-width: 41.25rem;
  margin: 2.25rem 0 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.case-quote p {
  max-width: none;
  margin-bottom: 1.125rem;
  font: italic 400 clamp(1.375rem, 2vw, 1.6875rem)/1.45 var(--serif);
  color: var(--accent-text);
  text-wrap: pretty;
}
.case-quote footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.625rem;
  align-items: baseline;
  font-size: 0.9375rem;
  color: var(--muted);
}
.case-quote cite {
  font-style: normal;
  font-weight: 600;
  color: var(--text-soft);
}
.case-print {
  max-width: 51.25rem;
  margin: 3rem 0 0.5rem;
}
.case-print-mat {
  padding: 1rem;
  background: var(--case-tone);
  transform: rotate(-1.4deg);
  box-shadow: 0 1.875rem 3.125rem -1.875rem var(--shadow);
}
.case-print-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: #1b1216;
}
.case-print-photo img {
  object-fit: cover;
  object-position: var(--image-focus, center);
  transform: scale(var(--image-zoom, 1.3));
  transform-origin: var(--image-focus, center);
}
.case-print figcaption {
  margin-top: 1.625rem;
  font-size: 0.9375rem;
  color: var(--muted);
}
.case-print figcaption a {
  text-decoration: underline;
  text-underline-offset: 0.1875rem;
}
.small {
  font-size: 1.125rem;
  color: var(--muted);
}
.case-cta {
  background: var(--wine);
  color: var(--cream);
}
.case-cta h2 {
  margin-bottom: 2.1875rem;
}
.case-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  padding-top: 3rem;
  padding-bottom: 3.5rem;
  border-top: 1px solid var(--line);
}
.case-nav-link {
  display: flex;
  align-items: center;
  gap: 1.375rem;
  min-width: 0;
}
.case-nav-link--next {
  flex-direction: row-reverse;
  text-align: right;
}
.case-nav-thumb {
  position: relative;
  flex: 0 0 9.375rem;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 0.375rem;
  background: var(--bg-warm);
}
.case-nav-thumb img {
  object-fit: cover;
  object-position: var(--image-focus, center);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.case-nav-link:hover .case-nav-thumb img {
  transform: scale(1.06);
}
.case-nav-text {
  display: grid;
  gap: 0.375rem;
  min-width: 0;
}
.case-nav-label {
  font-size: 0.9375rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
.case-nav-text strong {
  font: 1.625rem/1.2 var(--display);
  letter-spacing: var(--title-tracking);
  color: var(--accent-text);
}
.case-nav-tagline {
  font-size: 1.0625rem;
  color: var(--text-soft);
}
.case-nav-all {
  justify-self: center;
}
.legal {
  max-width: 59.375rem;
}
.legal > h2:first-child {
  margin-top: 0;
}
.legal h2 {
  font-size: 1.875rem;
  margin: 2.1875rem 0 1.25rem;
}
.legal p {
  font-size: 1.125rem;
}
.legal p a {
  text-decoration: underline;
}
.brand-section h2 {
  margin-bottom: 1.125rem;
}
.brand-note {
  font-size: 1.125rem;
  max-width: 28.75rem;
  color: var(--muted);
  margin-bottom: 2.8125rem;
}
.brand-colors {
  background: var(--bg-soft);
  --paper-color: var(--bg-soft);
}
.logo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.875rem;
}
.logo-tile {
  border: 1px solid var(--line);
}
.logo-preview {
  height: 16.25rem;
  display: grid;
  place-items: center;
  padding: 2.5rem;
  background: var(--cream);
}
.logo-preview.dark {
  background: var(--plum);
}
.logo-preview img {
  width: min(100%, 23.75rem);
  height: auto;
}
.logo-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  padding: 1.125rem 1.375rem;
  border-top: 1px solid var(--line);
}
.logo-meta h3 {
  font: 500 1.125rem/1.4 var(--sans);
  letter-spacing: 0;
}
.logo-downloads {
  display: flex;
  gap: 0.625rem;
}
.logo-downloads a {
  font-size: 1.125rem;
  font-weight: 500;
  padding: 0.5625rem 0.9375rem;
  border: 1px solid var(--line);
  border-radius: 1.875rem;
  white-space: nowrap;
  transition:
    background-color 0.2s,
    color 0.2s;
}
.logo-downloads a:hover {
  background: var(--cta-bg);
  border-color: var(--cta-bg);
  color: var(--cta-text);
}
.swatch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.8125rem 1.875rem;
}
.swatch-chip {
  display: block;
  height: 9.375rem;
  border: 1px solid var(--border-faint);
  margin-bottom: 1.125rem;
}
.swatch h3 {
  font-size: 1.5625rem;
  margin-bottom: 0.375rem;
}
.swatch-copy {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.625rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent-text);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.swatch-copy span {
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.swatch-copy:hover span {
  color: var(--accent);
}
.swatch p {
  font-size: 1.125rem;
  color: var(--muted);
  margin: 0.375rem 0 0;
}
/* Fine paper grain sits in the background, beneath all type and imagery. */
body,
.connection,
.process,
.brand-colors,
.inquiry-output pre,
.logo-preview.light {
  --paper-wash: color-mix(in srgb, var(--paper-color, var(--bg)) 85%, transparent);
  background-image: linear-gradient(var(--paper-wash), var(--paper-wash)), var(--paper-texture);
  background-size:
    auto,
    37.5rem 37.5rem;
  background-repeat: repeat;
  background-blend-mode: normal, multiply;
}
.logo-preview.light {
  /* This sample stays cream in both themes. */
  --paper-color: var(--cream);
  --paper-texture: var(--paper-stock);
}
/* Wide screens: everything except the Home hero and the footer stays inside
   the nav's frame. The % resolves against the page width, so the edges match
   the nav pill exactly, scrollbar or not. */
@media (min-width: 1500px) {
  .section-pad,
  .proof,
  .partner-adventure__page,
  .not-found__page {
    padding-inline: calc((100% - var(--frame-max)) / 2);
  }
  /* Section rules stop at the frame's edges as well. */
  .based-line,
  .invitation {
    border-image: linear-gradient(
        to right,
        transparent calc(50% - var(--frame-max) / 2),
        var(--line) 0,
        var(--line) calc(50% + var(--frame-max) / 2),
        transparent 0
      )
      1;
  }
  .hero-content {
    padding-left: calc((100% - var(--frame-max)) / 2);
    max-width: 62.5rem;
  }
  .hero {
    min-height: 51.25rem;
  }
  /* The section's own max-width would be swallowed by the frame padding. */
  .legal {
    max-width: none;
  }
  .legal > * {
    max-width: 48.125rem;
  }
}
@media (max-width: 1000px) {
  .swatch-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .nav-links,
  .nav-bar .nav-cta {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .nav-pill.open {
    height: calc(100dvh - 1.5rem);
    border-radius: 1.5rem;
    background: var(--bg);
  }
  .mobile-menu {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: safe center;
    gap: 0.25rem;
    padding-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(1rem);
    pointer-events: none;
    transition:
      opacity 0.15s,
      transform 0.15s;
  }
  .nav-pill.open .mobile-menu {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    transition:
      opacity 0.35s 0.2s,
      transform 0.35s 0.2s;
  }
  .mobile-menu a:not(.nav-cta) {
    font: 500 2.25rem/1.15 var(--sans);
    letter-spacing: -0.02em;
    color: var(--accent-text);
    padding: 0.625rem 1.25rem;
  }
  .mobile-menu a:not(.nav-cta):hover {
    color: var(--accent);
  }
  .mobile-menu a[aria-current="page"] {
    text-decoration: underline;
    text-decoration-thickness: 0.125rem;
    text-underline-offset: 0.5rem;
  }
  .mobile-menu .nav-cta {
    margin-top: 1.75rem;
    padding: 1rem 1.75rem;
    border-radius: 0.875rem;
    font-size: 1.125rem;
  }
  .hero-content {
    padding-top: 3.75rem;
  }
  .hero h1 {
    font-size: 5.125rem;
  }
  .hero-bottom .hand {
    font-size: 1.25rem;
    right: 8%;
    bottom: 0.625rem;
  }
  .brand-row {
    grid-template-columns: 1fr;
    gap: 1.375rem;
  }
  .brand-row > span {
    max-width: none;
    padding-top: 0;
  }
  .brand-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem 1.875rem;
  }
  .brand-logos li:nth-child(n + 7) {
    grid-column: auto;
  }
  /* Give the five chapters room to wrap at tablet widths. */
  .timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.25rem 1.5625rem;
  }
  .intro-grid {
    gap: 6vw;
  }
  .project-art {
    height: 18.75rem;
  }
  .service-grid {
    gap: 1.5rem;
  }
  .service-grid h3 {
    font-size: 1.75rem;
  }
  .section-head > p {
    max-width: 11.875rem;
  }
  .connection figure {
    height: 37.5rem;
  }
  .connection-copy {
    padding: 3.125rem 6vw;
  }
  .connection h2 {
    font-size: 3.1875rem;
  }
  .invitation {
    gap: 6vw;
  }
  .principles {
    gap: 1.5rem;
  }
  .audience {
    gap: 7vw;
  }
}
@media (max-width: 900px) {
  .case-story {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    padding-top: 3.5rem;
  }
  .case-aside {
    position: static;
    border-bottom: 1px solid var(--line);
    padding-bottom: 1.75rem;
  }
  .case-index {
    display: none;
  }
  .page-hero h1 {
    font-size: var(--hero-mobile-title);
    line-height: 1.02;
    letter-spacing: 0;
  }
}

@media (max-width: 760px) {
  .case-numbers {
    grid-template-columns: 1fr;
    gap: 1.375rem;
    padding: 2.75rem 1.375rem 3.25rem;
  }
  .case-numbers h2 {
    margin-top: 0;
  }
  .case-numbers-grid {
    grid-template-columns: repeat(auto-fit, minmax(8.75rem, 1fr));
    gap: 1.5rem;
  }
  .case-numbers-grid strong {
    font-size: 2.75rem;
  }
  .case-numbers-grid strong[data-long] {
    font-size: 2.25rem;
  }
  .case-chapter {
    grid-template-columns: 1fr;
    gap: 0.625rem;
    padding: 2.25rem 0 2.5rem;
  }
  .case-chapter-number {
    font-size: 2.125rem;
  }
  .case-chapter h2 {
    font-size: 2rem;
  }
  .case-chapter p {
    font-size: 1.125rem;
  }
  .case-chapter .case-pull {
    padding-left: 1.125rem;
    font-size: 1.5rem;
  }
  .case-chapter ul {
    font-size: 1.125rem;
  }
  .case-quote p {
    font-size: 1.3125rem;
  }
  .case-print {
    margin: 2.25rem 0 0.25rem;
  }
  .case-print-mat {
    padding: 0.625rem;
    transform: rotate(-1deg);
  }
  .case-print-photo {
    aspect-ratio: 4 / 5;
  }
  .case-print-photo img {
    transform: none;
  }
  .case-nav {
    grid-template-columns: 1fr;
    gap: 1.375rem;
    padding: 2.25rem 1.375rem 2.75rem;
  }
  .case-nav-link--next {
    flex-direction: row;
    text-align: left;
  }
  .case-nav-thumb {
    flex-basis: 6.5rem;
  }
  .case-nav-text strong {
    font-size: 1.375rem;
  }
  .case-nav-all {
    order: 1;
    justify-self: start;
  }
  .section-head {
    display: block;
    margin-bottom: 2.1875rem;
  }
  .section-head > p {
    max-width: none;
    margin-top: 1.25rem;
    font-size: 1.125rem;
  }
  .services h2 {
    font-size: 2.25rem;
  }
  .service-grid {
    grid-template-columns: 1fr;
    gap: 2.1875rem;
  }
  .service-grid h3 {
    min-height: 0;
    font-size: 1.9375rem;
    margin: 1.125rem 0;
  }
  .service-grid p {
    max-width: 100%;
  }
  .services > .text-link {
    margin-top: 2.5rem;
  }
  .connection {
    grid-template-columns: 1fr;
  }
  .connection figure {
    height: 29.375rem;
  }
  .connection-copy {
    padding: 3.75rem 1.5625rem 4.375rem;
  }
  .connection h2 {
    font-size: 3.5rem;
  }
  .connection .hand {
    margin-top: 1.5625rem;
    align-self: center;
  }
  .invitation {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .invitation h2 {
    font-size: 2.75rem;
  }
  .principles {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin-top: 2rem;
  }
  .principles p {
    max-width: none;
  }
  .next-page {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5625rem;
  }
  .process-steps li {
    grid-template-columns: 2.25rem minmax(0, 1fr);
    gap: 1.5rem 1.125rem;
    padding: 2rem 0;
  }
  .step-number {
    font-size: 2rem;
  }
  .step-output {
    grid-column: 2;
    padding-left: 1.125rem;
  }
  .logo-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .logo-preview {
    height: 12.5rem;
    padding: 1.875rem;
  }
  .logo-meta {
    flex-wrap: wrap;
    padding: 1rem 1.125rem;
  }
  .swatch-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.125rem;
  }
  .swatch-chip {
    height: 6.875rem;
  }
  .swatch h3 {
    font-size: 1.375rem;
  }
  .wordmark {
    font-size: 1.75rem;
  }
  .hero {
    min-height: max(42.5rem, min(46.25rem, calc(100svh + 3.125rem)));
  }
  .hero-backdrop img {
    object-position: var(--hero-mobile-position, 70% center);
  }
  .hero-backdrop::after {
    background:
      linear-gradient(90deg, #321b2e85, #321b2e33),
      linear-gradient(0deg, #21151be6 0%, #21151b80 50%, #21151b26 100%);
  }
  .hero-content {
    padding: 3.8125rem 1.5625rem 0;
  }
  .hero .eyebrow {
    font-size: 1.125rem;
    letter-spacing: 0.12em;
    margin-bottom: 1.6875rem;
  }
  .hero h1 {
    font-size: clamp(3.125rem, 12.2vw, 5.1875rem);
    line-height: 1.03;
    margin-bottom: 1.625rem;
  }
  .role {
    font-size: 1.125rem;
    letter-spacing: 0.13em;
  }
  .hero-description {
    font-size: 1.125rem;
    max-width: 17.8125rem;
  }
  .hero .button {
    font-size: 1.125rem;
    padding: 0.8125rem 1.125rem;
  }
  .hero-bottom {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 1.375rem;
    margin: auto 1.5625rem 1.75rem;
    padding-top: 2.25rem;
    font-size: 1.125rem;
  }
  .hero-bottom .hand {
    font-size: 1.4375rem;
    position: static;
    align-self: flex-end;
    max-width: 12.5rem;
  }
  .section-pad {
    padding: 4.0625rem 1.5625rem;
  }
  .eyebrow {
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
  }
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .intro h2 {
    font-size: 2.4375rem;
  }
  .intro-grid p {
    font-size: 1.125rem;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
    gap: 1.5625rem;
    padding: 1.875rem 0;
  }
  .metrics > div + div {
    padding-left: 0;
    border: 0;
  }
  .metrics > div:nth-child(even) {
    padding-left: 1.25rem;
    border-left: 1px solid var(--line);
  }
  .metrics strong {
    font-size: 2.75rem;
  }
  .metrics span {
    font-size: 1.125rem;
    max-width: 8.4375rem;
  }
  .proof {
    padding: 0 1.5625rem 1.5625rem;
  }
  .brand-row {
    gap: 1.25rem;
  }
  .brand-row > span {
    text-align: center;
  }
  .brand-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.5rem;
  }
  .brand-logos li:last-child {
    grid-column: 1 / -1;
  }
  .filters {
    gap: 0.5rem;
    margin-top: 0;
  }
  .filters button {
    font-size: 1.125rem;
    padding: 0.5rem 0.6875rem;
  }
  .work-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.1875rem;
  }
  .project-art {
    height: 19.375rem;
    padding: 1.375rem;
  }
  .card-heading h2 {
    font-size: 1.5rem;
  }
  .place {
    height: 36.25rem;
  }
  .place > img {
    object-position: 55% 50%;
  }
  .place-overlay {
    background: linear-gradient(90deg, #221920c9, #211c2133);
  }
  .place-content {
    left: 1.5625rem;
    right: 1.5625rem;
    top: 4.375rem;
  }
  .place h2 {
    font-size: 4rem;
  }
  .place p {
    max-width: 18.125rem;
    font-size: 1.125rem;
  }
  .timeline {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin-top: 2.1875rem;
    padding-top: 1.5625rem;
  }
  .timeline li {
    display: grid;
    grid-template-columns: 1.5rem minmax(0, 1fr);
    gap: 0.75rem 1rem;
    align-items: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--line);
  }
  .timeline li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }
  .timeline-step {
    margin: 0;
  }
  .timeline-mark {
    min-width: 0;
    height: 3.5rem;
  }
  .timeline p {
    grid-column: 2;
    max-width: 30ch;
    margin: 0;
  }
  .audience {
    grid-template-columns: 1fr;
    gap: 1.875rem;
  }
  .audience h2 {
    font-size: 3.375rem;
  }
  .audience-list h3 {
    font-size: 1.625rem;
  }
  .audience-list article {
    padding-bottom: 0.625rem;
  }
  .partnership-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-top: 2.1875rem;
  }
  .partnership-grid :is(h2, h3) {
    font-size: 2.0625rem;
  }
  .partnerships > h2 {
    font-size: 2.5rem;
  }
  .email-pill {
    gap: 0.25rem;
    padding: 0.3125rem;
  }
  .email-pill input {
    min-height: 3rem;
    padding-left: 0.875rem;
  }
  .email-pill-submit {
    min-height: 3rem;
    gap: 0.625rem;
    padding: 0.625rem 1.125rem;
    font-size: 1.125rem;
  }
  .email-pill-submit svg {
    width: 1.25rem;
    height: 1.25rem;
  }
  .form-note {
    font-size: 1.125rem;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.75rem;
    padding: 3rem 1.5625rem 0.5rem;
  }
  .footer-name {
    font-size: clamp(2.5rem, 10vw, 3.75rem);
  }
  .footer-name span {
    margin-top: 0.875rem;
    font-size: 1.125rem;
  }
  .bay-boat--sail {
    --boat-start: 200px;
    transform: translateX(200px);
  }
  .footer-scene {
    height: clamp(16.875rem, 37.5vw, 21.25rem);
  }
  .bay-sunset {
    min-width: 45rem;
  }
  .bay-boat--distant {
    --boat-start: -220px;
    transform: translateX(-220px);
  }
  .footer-invitation {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 1.125rem 1.875rem;
    width: 100%;
    font-size: 1.125rem;
  }
  .footer-invitation p {
    margin-bottom: 0;
  }
  .footer-invitation a {
    gap: 0.75rem;
  }
  .fineprint {
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    padding: 0.75rem 1.5625rem 1.5rem;
    font-size: 1.125rem;
  }
  .footer-motion {
    order: 1;
    margin: 0 auto;
  }
  .fineprint nav {
    margin-left: auto;
  }
  .page-hero.hero-frame {
    min-height: 37.5rem;
    padding-inline: 1.125rem;
    padding-top: calc(var(--nav-space) - var(--frame-top) + 3.4375rem);
    padding-bottom: 5rem;
  }
  .page-hero .lead {
    max-width: 23.75rem;
    font-size: 1.125rem;
    margin-top: 1.5625rem;
  }
  .page-hero--compact.section-pad {
    min-height: 27.5rem;
  }
  .about-editorial {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .large-copy {
    font-size: 1.5625rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .footer-motion {
    display: none;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}

/* ======================================================================
 * Illustrated hero (Home, About)
 * ====================================================================== */

.illustrated-hero__hero {
  --scene-ink: var(--print-ink);
  --scene-paper: var(--print-paper);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 50.625rem;
  height: min(58.75rem, max(50.625rem, calc(100svh - var(--nav-space))));
  background: var(--scene-paper);
  color: var(--scene-ink);
}

/* Home runs full-bleed up behind the fixed nav. The top padding matches the
   nav spacer it slides over, so the copy stays where it sat below the nav
   while the illustration (inset against the padding box) fills in behind it. */
.illustrated-hero__home {
  margin-top: calc(-1 * var(--nav-space));
  padding-top: var(--nav-space);
  height: clamp(calc(50.625rem + var(--nav-space)), 100svh, calc(58.75rem + var(--nav-space)));
}

.illustrated-hero__illustration {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  color: var(--scene-ink);
}

/* Lower the chandelier, disco ball and lights so they show below the nav. */
.illustrated-hero__home .illustrated-hero__illustration .scene-hanging-details {
  transform: translateY(60px);
}

.illustrated-hero__content {
  width: min(46.25rem, 57%);
  margin: 0 auto;
  padding-top: clamp(10rem, 19vh, 12.5rem);
  text-align: center;
}

.illustrated-hero__eyebrow {
  font-size: 1.125rem;
  line-height: 1.6;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.4375rem;
}

.illustrated-hero__content h1 {
  font-size: clamp(3.625rem, 5.9vw, 5.75rem);
  line-height: 0.94;
  letter-spacing: 1px;
  text-wrap: balance;
}

.illustrated-hero__description {
  margin: 1.125rem 0 1.25rem;
  font-size: 1.125rem;
  line-height: 1.6;
}

/* Keep the moving artwork clear of the home hero copy at every viewport size. */
.illustrated-hero__home .illustrated-hero__eyebrow,
.illustrated-hero__home .illustrated-hero__content h1,
.illustrated-hero__home .illustrated-hero__description {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  background: var(--scene-paper);
  box-shadow: 0 0 0 0.5rem var(--scene-paper);
}

.illustrated-hero__about .illustrated-hero__content {
  width: 47%;
  margin: 0 0 0 5%;
  padding-top: clamp(13.125rem, 25vh, 16.875rem);
  text-align: left;
}

.illustrated-hero__about .illustrated-hero__content h1 {
  font-size: clamp(3.375rem, 5.4vw, 5.375rem);
}

.illustrated-hero__about .illustrated-hero__description {
  max-width: 29.375rem;
  margin: 1.5rem 0 0;
  text-wrap: pretty;
}

.illustrated-hero__about .illustrated-hero__explore {
  margin: 1.75rem 0 0;
}

.illustrated-hero__about .illustrated-hero__illustration {
  transform: scale(1.2);
  transform-origin: 75% 60%;
}

.illustrated-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.375rem;
  padding: 0.9375rem 1.4375rem;
  border: 1px solid var(--scene-ink);
  border-radius: 2.5rem;
  color: var(--scene-paper);
  background: var(--scene-ink);
  box-shadow:
    0 0.25rem 0 var(--scene-paper),
    0 0.3125rem 0 var(--scene-ink);
  font-size: 1.125rem;
  font-weight: 500;
  transition:
    transform 180ms,
    box-shadow 180ms;
}

.illustrated-hero__cta:hover {
  transform: translateY(-0.1875rem);
  box-shadow:
    0 0.4375rem 0 var(--scene-paper),
    0 0.5rem 0 var(--scene-ink);
}

.illustrated-hero__cta span {
  font-size: 1.5rem;
  line-height: 1;
}

.illustrated-hero__explore {
  display: flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  margin: 1.3125rem auto 0;
  border-radius: 50%;
}

.illustrated-hero__explore:hover {
  background: color-mix(in srgb, var(--scene-ink) 8%, transparent);
}
.illustrated-hero__explore svg {
  width: 1.6875rem;
  stroke: currentColor;
  stroke-width: 1.8;
}

.illustrated-hero__caption {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.875rem;
  background: var(--scene-paper);
  border-block: 1px solid var(--scene-ink);
  font-size: 1.125rem;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@media (min-width: 1700px) {
  .illustrated-hero__content {
    padding-top: 14.0625rem;
  }
}

/* Past 1920px the Home hero grows with the width (up to the screen's height)
   so the scene keeps its composition instead of being cropped to a strip.
   The scene is anchored to the bottom, so the copy is pinned a fixed share of
   the width above it, over the clearing drawn for it. */
@media (min-width: 1920px) {
  .illustrated-hero__home {
    height: clamp(
      calc(50.625rem + var(--nav-space)),
      100svh,
      max(calc(58.75rem + var(--nav-space)), 53.5vw)
    );
  }
  .illustrated-hero__home .illustrated-hero__content {
    position: absolute;
    left: 50%;
    top: max(100% - 26.5vw, 25rem);
    transform: translate(-50%, -50%);
    width: clamp(46.25rem, 29vw, 69.375rem);
    margin: 0;
    padding-top: 0;
  }
  .illustrated-hero__home .illustrated-hero__content h1 {
    font-size: clamp(5.75rem, 3.6vw, 8.625rem);
  }
  .illustrated-hero__home .illustrated-hero__eyebrow,
  .illustrated-hero__home .illustrated-hero__description,
  .illustrated-hero__home .illustrated-hero__cta {
    font-size: clamp(1.125rem, 0.7vw, 1.625rem);
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .illustrated-hero__hero {
    min-height: 46.25rem;
    height: 46.25rem;
  }
  .illustrated-hero__home {
    min-height: calc(46.25rem + var(--nav-space));
    height: calc(46.25rem + var(--nav-space));
  }
  .illustrated-hero__content {
    width: 61%;
    padding-top: 11.75rem;
  }
  .illustrated-hero__content h1 {
    font-size: clamp(3.375rem, 6.7vw, 4.625rem);
  }
  .illustrated-hero__about .illustrated-hero__content {
    width: 46%;
    margin-left: 4%;
    padding-top: 12.5rem;
  }
  .illustrated-hero__about .illustrated-hero__content h1 {
    font-size: 3.375rem;
  }
  .illustrated-hero__about .illustrated-hero__description {
    max-width: 23.125rem;
  }
}

@media (max-width: 900px) {
  .illustrated-hero__hero {
    --caption-space: 4.25rem;
    height: auto;
    min-height: 42.5rem;
    padding-bottom: calc(56.25vw + var(--caption-space) + 1.75rem);
  }
  .illustrated-hero__content {
    width: 100%;
    padding: 3rem 1.25rem 0;
  }
  .illustrated-hero__content h1 {
    font-size: var(--hero-mobile-title);
    line-height: 1.02;
    letter-spacing: 0;
  }
  .illustrated-hero__eyebrow {
    font-size: 0.875rem;
    letter-spacing: 0.12em;
    margin-bottom: 1.25rem;
  }
  .illustrated-hero__description {
    margin: 1.375rem 0;
  }
  .illustrated-hero__about {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding-bottom: 0;
  }
  .illustrated-hero__about .illustrated-hero__content {
    order: 0;
    width: 100%;
    margin: 0;
    padding: 2.25rem 1.125rem 0;
    text-align: center;
  }
  .illustrated-hero__about .illustrated-hero__content h1 {
    font-size: var(--hero-mobile-title);
  }
  .illustrated-hero__about .illustrated-hero__description {
    max-width: 23.125rem;
    margin: 1.375rem auto 0;
  }
  .illustrated-hero__about .illustrated-hero__explore {
    margin: 1.75rem auto 0;
  }
  .illustrated-hero__cta {
    gap: 0.9375rem;
    padding: 0.875rem 1.25rem;
  }
  .illustrated-hero__explore {
    margin-top: 1.25rem;
  }
  .illustrated-hero__illustration {
    inset: auto 0 var(--caption-space);
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }
  .illustrated-hero__caption {
    justify-content: center;
    padding: 0.625rem 0.9375rem;
    letter-spacing: 0.06em;
    text-align: center;
  }
  .illustrated-hero__caption span:last-child {
    display: none;
  }
  .illustrated-hero__about .illustrated-hero__illustration {
    position: relative;
    order: 1;
    inset: auto;
    flex-shrink: 0;
    width: 230%;
    max-width: 70rem;
    left: 50%;
    margin: 1.5rem 0 0;
    transform: translateX(-73%);
  }
  .illustrated-hero__about .illustrated-hero__caption {
    position: relative;
    order: 2;
    font-size: 0.875rem;
    padding-block: 0.875rem;
  }

  /* Keep the home copy inside the animated scene on small screens. */
  .illustrated-hero__home {
    min-height: calc(clamp(33.75rem, 78vw, 43.75rem) + var(--nav-space));
    padding-bottom: clamp(15rem, 45vw, 22.5rem);
  }
  .illustrated-hero__home .illustrated-hero__illustration {
    inset: 0;
    height: calc(100% - 2.5rem);
    aspect-ratio: auto;
  }
  /* Bring the bus into the narrow crop, beneath the bridge and above the copy. */
  .illustrated-hero__home .illustrated-hero__illustration .scene-bus {
    transform: translate(610px, 125px) scale(0.45) rotate(-4deg);
  }
  .illustrated-hero__home .illustrated-hero__illustration .scene-hanging-details {
    transform: translateY(12px);
  }
  .illustrated-hero__home .illustrated-hero__content {
    width: calc(100% - 2.25rem);
    padding: clamp(5.625rem, 12vw, 7.5rem) 0 0;
  }
  .illustrated-hero__home .illustrated-hero__eyebrow {
    max-width: 20em;
    margin: 0 auto 0.75rem;
    letter-spacing: 0.08em;
    text-wrap: balance;
  }
  .illustrated-hero__home .illustrated-hero__content h1 {
    font-size: clamp(3.375rem, 17vw, 6rem);
    letter-spacing: 0;
  }
  .illustrated-hero__home .illustrated-hero__description {
    margin: 1.125rem auto 1.25rem;
    line-height: 1.5;
  }
  .illustrated-hero__home .illustrated-hero__cta {
    max-width: 100%;
    min-height: 2.75rem;
    gap: 0.75rem;
    padding: 0.625rem 1rem;
  }
  .illustrated-hero__home .illustrated-hero__cta span {
    font-size: 1.25rem;
  }
  .illustrated-hero__home .illustrated-hero__explore {
    margin-top: 0.75rem;
  }
  .illustrated-hero__home .illustrated-hero__caption {
    min-height: 2.5rem;
    align-items: center;
    font-size: 0.875rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .illustrated-hero__cta {
    transition: none;
  }
}

/* ======================================================================
 * Split hero (Approach, Selected work)
 * ====================================================================== */

.split-hero__hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 32.5rem;
  padding: 4.375rem clamp(1.5625rem, 5.5vw, 6.25rem);
  background: var(--print-paper);
  color: var(--print-ink);
}

.split-hero__content {
  position: relative;
  width: 60%;
  max-width: 49.375rem;
}
.split-hero__eyebrow {
  font-size: 1.125rem;
  letter-spacing: 0.16em;
}
.split-hero__content h1 {
  font-size: clamp(3.25rem, 5.8vw, 5.5rem);
  text-wrap: balance;
}
.split-hero__content h1 em {
  color: inherit;
}
.split-hero__description {
  max-width: 30rem;
  margin: 1.75rem 0 0;
  font-size: 1.125rem;
  line-height: 1.6;
  text-wrap: pretty;
}

.split-hero__illustration {
  position: absolute;
  top: 0;
  right: 3%;
  width: 38%;
  max-width: 35rem;
  height: 32.5rem;
  color: var(--print-ink);
  pointer-events: none;
  z-index: -1;
}

.split-hero__approach .split-hero__illustration {
  top: 50%;
  transform: translateY(-50%);
  width: 40%;
  height: auto;
  max-height: 37.5rem;
}

@media (max-width: 900px) {
  .split-hero__hero {
    min-height: 0;
    display: block;
    padding: 2.25rem 1.125rem 1.5rem;
  }
  .split-hero__content {
    width: 100%;
    max-width: 45rem;
    margin-inline: auto;
  }
  .split-hero__eyebrow {
    font-size: 0.875rem;
    letter-spacing: 0.12em;
    margin-bottom: 1.25rem;
  }
  .split-hero__content h1 {
    font-size: var(--hero-mobile-title);
    line-height: 1.02;
    letter-spacing: 0;
  }
  /* Give the longer Approach heading room for natural phrase breaks. */
  .split-hero__approach .split-hero__content h1 {
    font-size: clamp(2.75rem, 14.5vw, 5.5rem);
    letter-spacing: -0.01875rem;
  }
  .split-hero__description {
    margin-top: 1.375rem;
  }
  .split-hero__illustration {
    position: relative;
    display: block;
    right: auto;
    width: 100%;
    max-width: 31.25rem;
    height: auto;
    margin: 1.5rem auto 0;
  }
  .split-hero__approach .split-hero__illustration {
    top: auto;
    transform: none;
    width: 100%;
    max-width: 32.5rem;
    max-height: none;
    margin-top: 1.5rem;
  }
}

/* ======================================================================
 * Approach: the roadmap
 * ====================================================================== */

.approach-roadmap__roadmap {
  --scene-paper: var(--print-paper);
  color: var(--print-ink);
  padding: 3.75rem clamp(1.5625rem, 6.2vw, 6.875rem) 6.25rem;
}
.approach-roadmap__intro {
  max-width: 78.75rem;
  margin: 0 auto 2.25rem;
  padding-top: 2.125rem;
  border-top: 1px solid var(--line);
}
.approach-roadmap__kicker {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.approach-roadmap__intro h2 {
  font-size: clamp(2.375rem, 4.4vw, 4rem);
  margin-top: 1.125rem;
}
.approach-roadmap__route {
  position: relative;
  max-width: 78.75rem;
  margin: 0 auto;
  isolation: isolate;
}
.approach-roadmap__connector {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  z-index: -1;
  pointer-events: none;
}
.approach-roadmap__route-guide,
.approach-roadmap__route-ink {
  fill: none;
  stroke: currentColor;
  stroke-width: 3.5px;
  stroke-linecap: round;
  stroke-dasharray: 0.1 12;
}
.approach-roadmap__route-guide {
  opacity: 0.13;
}
.approach-roadmap__steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.approach-roadmap__step {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 9.375rem;
  align-items: center;
  min-height: 35.625rem;
  padding: 3rem 0 5rem;
}
.approach-roadmap__node {
  position: absolute;
  top: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: 3.375rem;
  height: 3.375rem;
  border: 0.09375rem solid currentColor;
  border-radius: 50%;
  background: var(--scene-paper);
  font: 1.6875rem/1 var(--display);
  transition:
    background-color 0.2s,
    color 0.2s;
}
.approach-roadmap__node[data-reached="true"] {
  background: var(--print-ink);
  color: var(--scene-paper);
  border-color: var(--print-ink);
}
.approach-roadmap__art {
  width: 100%;
  height: auto;
  overflow: visible;
}
.approach-roadmap__copy {
  grid-column: 2;
  grid-row: 1;
}
.approach-roadmap__step:nth-child(even) .approach-roadmap__art {
  grid-column: 2;
  grid-row: 1;
}
.approach-roadmap__step:nth-child(even) .approach-roadmap__copy {
  grid-column: 1;
}
.approach-roadmap__copy h3 {
  font-size: clamp(2.125rem, 3.3vw, 3rem);
  line-height: 1.15;
  margin: 1.125rem 0 1.375rem;
  text-wrap: balance;
}
.approach-roadmap__body {
  font-size: 1.125rem;
  line-height: 1.7;
  margin: 0;
  text-wrap: pretty;
}
.approach-roadmap__output {
  margin-top: 1.625rem;
  padding-top: 1.1875rem;
  border-top: 1px solid var(--line);
}
.approach-roadmap__output p {
  margin: 0.5rem 0 0;
  font-size: 1.125rem;
  line-height: 1.6;
  text-wrap: pretty;
}
@media (max-width: 1100px) and (min-width: 701px) {
  .approach-roadmap__step {
    column-gap: 6.25rem;
    min-height: 37.5rem;
  }
  .approach-roadmap__copy h3 {
    font-size: 2.125rem;
  }
}
@media (max-width: 700px) {
  .approach-roadmap__roadmap {
    padding: 2rem 1.375rem 4.5rem;
  }
  .approach-roadmap__intro {
    padding-top: 1.75rem;
    margin-bottom: 1rem;
  }
  .approach-roadmap__intro h2 {
    font-size: 2.375rem;
  }
  .approach-roadmap__step {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-height: 0;
    padding: 2rem 0 3.75rem 3.375rem;
    align-items: stretch;
  }
  .approach-roadmap__node {
    left: 1.0625rem;
    top: 2.25rem;
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1.3125rem;
  }
  .approach-roadmap__art {
    max-width: 27.5rem;
    align-self: center;
  }
  .approach-roadmap__copy h3 {
    font-size: 2.125rem;
    margin: 0.875rem 0 1.125rem;
  }
  .approach-roadmap__kicker {
    letter-spacing: 0.12em;
  }
  .approach-roadmap__body {
    line-height: 1.65;
  }
  .approach-roadmap__output {
    margin-top: 1.375rem;
  }
  .approach-roadmap__route-guide,
  .approach-roadmap__route-ink {
    stroke-width: 3px;
    stroke-dasharray: 0.1 10;
  }
}
@media (prefers-reduced-motion: reduce) {
  .approach-roadmap__node {
    transition: none;
  }
}

/* ======================================================================
 * Project pages: hero
 * ====================================================================== */

.case-hero__hero {
  --scene-ink: var(--print-ink);
  --scene-paper: var(--print-paper);
  /* Matches the nav pill's edge so the hero's content lines up with it.
     The % resolves against the hero's width wherever this is used. */
  --frame-inset: max(var(--frame-gutter), (100% - var(--frame-max)) / 2);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  margin-top: calc(-1 * var(--nav-space));
  min-height: calc(47.5rem + var(--nav-space));
  height: clamp(calc(47.5rem + var(--nav-space)), 100svh, calc(58.75rem + var(--nav-space)));
  background: var(--scene-paper);
  color: var(--scene-ink);
}
.case-hero__illustration {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--scene-ink);
  pointer-events: none;
  z-index: -1;
}
.case-hero__content {
  position: absolute;
  bottom: 5rem;
  left: var(--frame-inset);
  width: min(36.875rem, 47%);
  padding: 1.5rem 1.75rem;
  background: color-mix(in srgb, var(--scene-paper) 96%, transparent);
}
.case-hero__back {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  text-decoration: underline;
  text-underline-offset: 0.3125rem;
}
.case-hero__eyebrow {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.case-hero__content h1 {
  font-size: clamp(2.75rem, 4.6vw, 4.375rem);
  line-height: 1.02;
  text-wrap: balance;
}
.case-hero__partner {
  margin: 1.125rem 0 0;
  font-size: 1.125rem;
}
.case-hero__explore {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 1.5rem;
  margin-top: 0.875rem;
  font-size: 1rem;
}
.case-hero__explore span {
  font-size: 1.75rem;
}
.case-hero__explore:hover,
.case-hero__back:hover {
  text-decoration: underline;
  text-underline-offset: 0.3125rem;
}
.case-hero__logo {
  inset: calc(var(--nav-space) + 1.875rem) var(--frame-inset) auto auto;
  width: 10.875rem;
  height: 4.75rem;
  padding: 0.8125rem 1.125rem;
}
.case-hero__caption {
  position: absolute;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.875rem var(--frame-inset);
  border-block: 1px solid currentColor;
  background: var(--scene-paper);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
}
@media (prefers-reduced-motion: reduce) {
  .case-hero__illustration [data-scene-motion] {
    transform: none;
  }
}
@media (max-width: 1000px) {
  /* Show the entire original composition on phones rather than cropping people out. */
  .case-hero__hero {
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }
  .case-hero__content {
    position: relative;
    order: 1;
    inset: auto;
    width: 100%;
    padding: 1.875rem 1.5rem 1.5rem;
  }
  .case-hero__content h1 {
    max-width: 45rem;
    font-size: clamp(2.625rem, 7vw, 4rem);
  }
  .case-hero__illustration {
    position: relative;
    order: 0;
    inset: auto;
    width: 100%;
    height: auto;
    z-index: 0;
  }
  .case-hero__logo {
    position: relative;
    order: 2;
    inset: auto;
    margin: 1.125rem 1.5rem;
    width: 9.25rem;
    height: 4.125rem;
  }
  .case-hero__caption {
    position: relative;
    order: 3;
    padding-inline: 1.5rem;
  }
  .case-hero__back {
    margin-bottom: 1rem;
  }
}
@media (max-width: 600px) {
  .case-hero__content {
    padding: 1.375rem;
  }
  .case-hero__content h1 {
    font-size: clamp(2.5rem, 11.5vw, 3.875rem);
  }
  .case-hero__eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
  }
  .case-hero__back {
    font-size: 0.9375rem;
  }
  .case-hero__caption {
    justify-content: center;
    font-size: 0.625rem;
  }
  .case-hero__caption span:last-child {
    display: none;
  }
}

/* ======================================================================
 * Partner with me: choose a path
 * ====================================================================== */

.partner-adventure__page {
  --scene-paper: var(--print-paper);
  color: var(--print-ink);
  padding: 4.125rem clamp(1.375rem, 6.2vw, 6.875rem) 5.625rem;
}
.partner-adventure__intro {
  text-align: center;
  max-width: 51.875rem;
  margin: 0 auto;
}
.partner-adventure__kicker {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.partner-adventure__intro h1 {
  font-size: clamp(3.375rem, 6.7vw, 6rem);
  line-height: 1.04;
  margin: 1.5625rem 0;
  text-wrap: balance;
}
.partner-adventure__intro > p:last-child {
  max-width: 35rem;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.65;
  text-wrap: pretty;
}
.partner-adventure__fork {
  max-width: 68.75rem;
  margin: 2.125rem auto 0;
  text-align: center;
}
.partner-adventure__fork span {
  font-size: 1.125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}
.partner-adventure__fork svg {
  width: 100%;
  height: 5.625rem;
  margin-top: 0.75rem;
  overflow: visible;
}
.partner-adventure__fork path {
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 0.1 8;
  vector-effect: non-scaling-stroke;
}
.partner-adventure__fork circle {
  fill: currentColor;
}
.partner-adventure__choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.875rem, 7vw, 6.875rem);
  max-width: 68.75rem;
  margin: 0 auto;
  scroll-margin-top: 6.875rem;
}
.partner-adventure__choice {
  position: relative;
  text-align: center;
}
.partner-adventure__scene {
  max-width: 26.875rem;
  margin: 0 auto;
}
.partner-adventure__art {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
  transition: transform 0.25s ease;
}
.partner-adventure__choice:hover .partner-adventure__art {
  transform: translateY(-0.25rem);
}
.partner-adventure__choice-copy {
  padding: 1.375rem 0.5rem 0;
}
.partner-adventure__choice h2 {
  font-size: clamp(2rem, 3.3vw, 3rem);
  margin: 0.875rem 0 1.125rem;
  line-height: 1.15;
  text-wrap: balance;
}
.partner-adventure__teaser {
  max-width: 23.125rem;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.6;
  text-wrap: pretty;
}
.partner-adventure__choose-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 0.875rem 1.4375rem;
  border: 1px solid currentColor;
  border-radius: 2.5rem;
  margin-top: 1.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  transition:
    color 0.2s,
    background-color 0.2s;
}
.partner-adventure__choose-link span {
  font-size: 1.375rem;
  line-height: 1;
}
.partner-adventure__choose-link:hover,
.partner-adventure__choice[data-selected="true"] .partner-adventure__choose-link {
  background: var(--print-ink);
  color: var(--print-paper);
  border-color: var(--print-ink);
}
.partner-adventure__choose-link:focus-visible {
  outline: 0.125rem solid currentColor;
  outline-offset: 0.3125rem;
}
.partner-adventure__reassurance {
  margin: 3rem auto 0;
  text-align: center;
  font-size: 1.125rem;
  color: var(--muted);
}
.partner-adventure__panel {
  max-width: 68.75rem;
  margin: 4.375rem auto 0;
  padding: 3rem 0 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 6.875rem;
}
.partner-adventure__panel[hidden] {
  display: none;
}
.partner-adventure__detail {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 8%;
}
.partner-adventure__detail h2 {
  font-size: clamp(2.375rem, 4vw, 3.5rem);
  margin: 1.25rem 0 1.5rem;
  line-height: 1.15;
}
.partner-adventure__detail h2:focus {
  outline: none;
}
.partner-adventure__detail p {
  font-size: 1.125rem;
  line-height: 1.7;
  text-wrap: pretty;
}
.partner-adventure__detail ul {
  list-style: none;
  padding: 0;
  margin: 1.125rem 0 1.875rem;
}
.partner-adventure__detail li {
  padding: 0.8125rem 0 0.8125rem 1.5625rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  font-size: 1.125rem;
}
.partner-adventure__detail li::before {
  content: "✳";
  position: absolute;
  left: 0;
  font-size: 1.125rem;
}
.partner-adventure__fit {
  margin-top: 1.5625rem;
}
.partner-adventure__contact-link {
  display: inline-flex;
  gap: 1.5625rem;
  align-items: center;
  margin-top: 1.375rem;
  padding-bottom: 0.375rem;
  border-bottom: 1px solid currentColor;
  font-weight: 600;
}
.partner-adventure__back-link {
  display: inline-flex;
  gap: 0.75rem;
  margin-top: 2.25rem;
  font-size: 1.125rem;
  text-decoration: underline;
  text-underline-offset: 0.3125rem;
}
.partner-adventure__unsure {
  max-width: 68.75rem;
  display: grid;
  grid-template-columns: 9.375rem 1fr auto;
  gap: 2.25rem;
  align-items: center;
  margin: 5rem auto 0;
  padding: 2.375rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.partner-adventure__compass {
  width: 8.75rem;
  height: auto;
}
.partner-adventure__unsure h2 {
  font-size: 2.125rem;
  margin: 0.75rem 0;
}
.partner-adventure__unsure p {
  max-width: 30.625rem;
  font-size: 1.125rem;
  line-height: 1.65;
}
.partner-adventure__unsure .partner-adventure__contact-link {
  white-space: nowrap;
  font-size: 1.125rem;
}
/* Common questions, written as plain answers so search and answer engines can quote them. */
.partner-faq {
  max-width: 68.75rem;
  margin: 5rem auto 0;
}
.partner-faq h2 {
  font-size: clamp(2.125rem, 3.4vw, 3rem);
  margin: 0.75rem 0 1.5rem;
}
.partner-faq__item {
  border-top: 1px solid var(--line);
}
.partner-faq__item:last-child {
  border-bottom: 1px solid var(--line);
}
.partner-faq__item summary {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 0;
  font-size: 1.1875rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.partner-faq__item summary::-webkit-details-marker {
  display: none;
}
.partner-faq__item summary::after {
  content: "+";
  flex: none;
  font-weight: 400;
  transition: transform 0.2s ease;
}
.partner-faq__item[open] summary::after {
  transform: rotate(45deg);
}
.partner-faq__item summary:focus-visible {
  outline: 0.125rem solid var(--accent);
  outline-offset: 0.25rem;
}
.partner-faq__item p {
  max-width: 47.5rem;
  margin: 0 0 1.5rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-soft);
  text-wrap: pretty;
}
@media (prefers-reduced-motion: reduce) {
  .partner-faq__item summary::after {
    transition: none;
  }
}
@media (max-width: 900px) {
  .partner-adventure__page {
    padding-top: 2.25rem;
    padding-inline: 1.25rem;
  }
  .partner-adventure__kicker {
    font-size: 0.875rem;
    letter-spacing: 0.12em;
  }
  .partner-adventure__intro h1 {
    font-size: var(--hero-mobile-title);
    line-height: 1.02;
    letter-spacing: 0;
    margin-block: 1.25rem 1.5rem;
  }
  .partner-adventure__choices {
    gap: 1.875rem;
  }
  .partner-adventure__choice-copy {
    padding-inline: 0;
  }
  .partner-adventure__choice h2 {
    font-size: 2.125rem;
  }
  .partner-adventure__unsure {
    grid-template-columns: 6.875rem 1fr;
    gap: 1.5625rem;
  }
  .partner-adventure__compass {
    width: 6.5625rem;
  }
  .partner-adventure__unsure > .partner-adventure__contact-link {
    grid-column: 2;
    justify-self: start;
    margin-top: 0;
  }
}
@media (max-width: 600px) {
  .partner-adventure__page {
    padding-bottom: 3.75rem;
  }
  .partner-adventure__fork {
    margin-top: 1.625rem;
  }
  .partner-adventure__fork svg {
    height: 3.625rem;
  }
  .partner-adventure__choices {
    grid-template-columns: 1fr;
    gap: 3.625rem;
  }
  .partner-adventure__scene {
    width: 100%;
    max-width: 28.75rem;
  }
  .partner-adventure__choice-copy {
    padding-top: 1.25rem;
  }
  .partner-adventure__choice h2 {
    font-size: 2.375rem;
  }
  .partner-adventure__teaser {
    max-width: 19.375rem;
  }
  .partner-adventure__choose-link {
    padding: 0.8125rem 1.25rem;
  }
  .partner-adventure__reassurance {
    max-width: 17.1875rem;
    line-height: 1.6;
    margin-top: 2.25rem;
  }
  .partner-adventure__panel {
    margin-top: 2.875rem;
    padding-top: 1.875rem;
  }
  .partner-adventure__detail {
    grid-template-columns: 1fr;
    gap: 1.875rem;
  }
  .partner-adventure__detail h2 {
    font-size: 2.375rem;
  }
  .partner-adventure__unsure {
    grid-template-columns: 4.375rem 1fr;
    gap: 1.25rem;
    margin-top: 3.125rem;
    padding-block: 1.75rem;
  }
  .partner-adventure__compass {
    width: 4.375rem;
  }
  .partner-adventure__unsure h2 {
    font-size: 1.875rem;
  }
  .partner-adventure__unsure .partner-adventure__contact-link {
    gap: 0.75rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .partner-adventure__art,
  .partner-adventure__choose-link {
    transition: none;
  }
  .partner-adventure__choice:hover .partner-adventure__art {
    transform: none;
  }
}

/* ======================================================================
 * Contact: inquiry section
 * ====================================================================== */

.contact-section__contact {
  --scene-paper: var(--print-paper);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
  /* The copy starts where the nav wordmark does: the nav frame's edge,
     the pill's 1px border, then the pill's own left padding. */
  --copy-gutter: calc(
    max(var(--frame-gutter), (100% - var(--frame-max)) / 2) + 1px + var(--nav-pad-start)
  );
  min-height: calc(100svh - var(--nav-space));
  padding: 3rem var(--copy-gutter) 4.5rem;
  scroll-margin-top: var(--nav-space);
}

.contact-section__lights {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  aspect-ratio: 720 / 760;
  overflow: hidden;
  color: var(--print-ink);
  pointer-events: none;
}

.contact-section__lights svg {
  display: block;
  width: 100%;
  height: 100%;
}

.contact-section__body {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  min-width: 0;
  width: 100%;
  max-width: 41.25rem;
}

.contact-section__intro h1 {
  font-size: clamp(2.75rem, 5vw, 5rem);
  color: var(--accent-text);
  margin-bottom: 1.5rem;
}

.contact-section__intro p {
  max-width: 26.25rem;
  margin: 0;
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
}

.contact-section__form {
  min-width: 0;
}

@media (min-width: 901px) {
  .contact-section__contact {
    position: relative;
    overflow-x: clip;
  }

  .contact-section__lights {
    position: absolute;
    grid-area: auto;
    top: calc(-1 * var(--nav-space));
    right: 0;
    bottom: 0;
    width: 48%;
    margin: 0;
    aspect-ratio: auto;
    overflow: visible;
  }

  .contact-section__lights svg {
    width: 116%;
    height: auto;
    overflow: visible;
    transform: translateY(-20%) scaleX(-1) rotate(-60deg) scale(1.2);
  }
}

/* Wide screens: the section itself takes the nav's frame, so the string lights
   are clipped at the frame's edge instead of running to the edge of the screen. */
@media (min-width: 1500px) {
  .contact-section__contact {
    width: min(var(--frame-max), 100% - 2 * var(--frame-gutter));
    margin-inline: auto;
    --copy-gutter: calc(1px + var(--nav-pad-start));
    min-height: min(calc(100svh - var(--nav-space)), 62.5rem);
  }
}

@media (max-width: 900px) {
  .contact-section__contact {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    align-content: start;
    align-items: start;
    gap: 1.5rem 1rem;
    /* Below the frame's max width the nav sits on the plain gutter. */
    --copy-gutter: calc(var(--frame-gutter) + 1px + var(--nav-pad-start));
    padding: 2.25rem var(--copy-gutter) 3rem;
  }

  .contact-section__body,
  .contact-section__intro {
    display: contents;
  }

  .contact-section__intro h1 {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    min-width: 0;
    margin: 0;
    font-size: var(--hero-mobile-title);
    line-height: 1.02;
    letter-spacing: 0;
    text-wrap: balance;
  }

  .contact-section__intro p {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .contact-section__lights {
    grid-column: 1;
    grid-row: 3;
    align-self: center;
    width: calc(100% + 2 * var(--copy-gutter));
    max-width: 27.5rem;
    aspect-ratio: 720 / 660;
    justify-self: center;
  }

  .contact-section__lights svg {
    height: auto;
  }

  .contact-section__form {
    grid-column: 1 / -1;
    grid-row: 4;
    max-width: 41.25rem;
    margin-top: 0;
  }
}

.contact-section__form .form-note {
  max-width: 37.5rem;
}

@media (max-width: 600px) {
  .contact-section__form .email-pill {
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem;
    border-radius: 1.875rem;
  }

  .contact-section__form .email-pill input {
    min-height: 3.375rem;
    padding-inline: 1rem;
  }

  .contact-section__form .email-pill-submit {
    min-height: 3.375rem;
  }

  .contact-section__form .form-note {
    margin-inline: 0.5rem;
  }
}

/* ======================================================================
 * 404 page
 * ====================================================================== */

.not-found__page {
  padding: max(calc(var(--nav-space) + 1.5rem), min(11svh, 7.5rem)) 1.5rem 3rem;
  color: var(--print-ink);
  text-align: center;
}

.not-found__page h1 {
  max-width: 62.5rem;
  margin-inline: auto;
  font-size: clamp(2.625rem, 5.8vw, 5.25rem);
  text-wrap: balance;
}

.not-found__page h1 em {
  font-style: normal;
}

.not-found__page .button {
  margin-top: 1.875rem;
  pointer-events: auto;
}

/* The existing footer becomes the backdrop, retaining its motion controls. */
body:has(.not-found__page) {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  isolation: isolate;
  background: var(--print-paper);
}

body:has(.not-found__page)::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image: var(--paper-texture);
  background-size: 37.5rem 37.5rem;
  opacity: 0.18;
  mix-blend-mode: multiply;
}

body:has(.not-found__page) .nav-spacer,
body:has(.not-found__page) .footer-top,
body:has(.not-found__page) .fineprint > span,
body:has(.not-found__page) .fineprint > nav {
  display: none;
}

main:has(> .not-found__page) {
  position: relative;
  z-index: 1;
  pointer-events: none;
}

body:has(.not-found__page) .site-footer {
  position: relative;
  flex: 1;
  min-height: max(16.25rem, 37.5vw);
  z-index: 0;
  border: 0;
}

body:has(.not-found__page) .site-footer::after {
  display: none;
}

body:has(.not-found__page) .footer-scene {
  position: absolute;
  inset: 0;
  height: 100%;
}

body:has(.not-found__page) .fineprint {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 3;
  padding: 0;
  border: 0;
  border-radius: 62.4375rem;
}
