:root {
  --navy: #001a66;
  --blue: #0757c7;
  --blue-dark: #003b91;
  --blue-pale: #dbe7ff;
  --yellow: #ffd900;
  --yellow-pale: #fff7bd;
  --paper: #fffdf3;
  --page: #d7e0f5;
  --ink: #111936;
  --muted: #46506b;
  --line: #7187b8;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--page);
  background-image: linear-gradient(145deg, #cbd8f0 0%, #e3e9f5 52%, #d4e4f1 100%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
}

button,
input,
textarea {
  font: inherit;
}

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


.page-shell {
  position: relative;
  z-index: 2;
  width: min(820px, calc(100% - 24px));
  margin: 18px auto 32px;
  overflow: hidden;
  border: 3px ridge var(--blue);
  background: var(--paper);
  box-shadow: 7px 7px 0 rgba(0, 26, 102, 0.18);
}

@keyframes site-shell-drop {
  0% {
    transform: translate3d(0, 0, 0);
  }
  12% {
    transform: translate3d(0, -8px, 0);
  }
  100% {
    transform: translate3d(0, calc(100vh + 64px), 0);
  }
}


.page-shell.is-dropping,
.page-shell.is-rising {
  animation-name: site-shell-drop;
  animation-duration: 420ms;
  animation-timing-function: cubic-bezier(0.55, 0.06, 0.82, 0.32);
  animation-fill-mode: both;
  pointer-events: none;
  will-change: transform;
}

.page-shell.is-rising {
  animation-direction: reverse;
}

.page-shell::before {
  display: block;
  height: 7px;
  background: var(--navy);
  content: "";
}

.site-nav {
  display: flex;
  flex-wrap: nowrap;
  border-top: 1px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  background: var(--yellow);
}

.site-nav a {
  padding: 7px 15px;
  border-right: 1px solid #b99d00;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: none;
}

.site-nav a:visited {
  color: var(--navy);
}

.site-nav a:hover {
  background: var(--yellow-pale);
  text-decoration: underline;
}

.site-close {
  display: grid;
  flex: 0 0 37px;
  width: 37px;
  min-height: 33px;
  margin-left: auto;
  padding: 0;
  place-items: center;
  border: 0;
  border-left: 2px solid var(--navy);
  background: #c91424;
  box-shadow:
    inset 2px 2px 0 #ff6975,
    inset -2px -2px 0 #74000a;
  color: var(--white);
  cursor: pointer;
}

.site-close:hover {
  background: #ed1c2e;
}

.site-close:active {
  box-shadow:
    inset 2px 2px 0 #74000a,
    inset -2px -2px 0 #ff6975;
}

.site-close:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: -5px;
}

.site-close svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  image-rendering: pixelated;
  shape-rendering: crispEdges;
  transition: transform 80ms ease;
}

.site-header {
  position: relative;
  padding: 30px 30px 24px;
  background: linear-gradient(180deg, #ffffff 0%, var(--paper) 100%);
}


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

h1 {
  margin-bottom: 7px;
  color: var(--navy);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(32px, 5vw, 46px);
  line-height: 1;
}

.header-credential {
  max-width: 710px;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 13px;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 0;
}
.contact-links a,
.contact-links a:visited {
  padding: 9px 14px;
  border: 2px outset var(--yellow-pale);
  background: var(--yellow);
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.contact-links a:hover {
  background: var(--yellow-pale);
}

.contact-links a:active {
  border-style: inset;
}


a {
  color: #31506f;
  text-decoration-color: #9ba9ba;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:visited {
  color: #4c5266;
}

a:hover {
  color: var(--navy);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.carousel-viewport:focus-visible {
  outline: 2px dotted var(--navy);
  outline-offset: 3px;
}

.portrait {
  width: min(380px, calc(100% - 48px));
  margin: 24px auto;
}

.portrait img {
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  padding: 6px;
  border: 2px ridge var(--line);
  background: var(--white);
}

figcaption {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

hr {
  margin: 0;
  border: 0;
  border-top: 1px dashed var(--line);
}

.portrait + hr {
  box-shadow: 0 -1px 0 var(--navy);
}

.content-section {
  scroll-margin-top: 12px;
  border-bottom: 1px solid var(--navy);
}

.content-section > h2 {
  margin: 0;
  padding: 10px 15px;
  border-top: 1px solid #4f80cf;
  border-bottom: 2px solid var(--navy);
  background: var(--blue);
  color: var(--white);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.content-section > h2 span {
  color: var(--yellow);
  font-size: 13px;
}

.section-body {
  padding: 20px 22px 24px;
}

.section-body p {
  margin-bottom: 11px;
}

.section-body p:last-child {
  margin-bottom: 0;
}

.work-carousel {
  width: min(690px, 100%);
  margin: 0 auto;
}

.carousel-viewport {
  overflow: hidden;
  border: 2px solid var(--blue-dark);
  background: var(--white);
}

.carousel-stage {
  position: relative;
  aspect-ratio: 16 / 9;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  visibility: hidden;
  opacity: 0;
  border: 0;
  background: transparent;
}

.carousel-slide.is-active {
  visibility: visible;
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.carousel-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 36px;
  padding: 5px 0 8px;
  font-size: 13px;
}

.carousel-meta p {
  margin: 0;
}

.carousel-controls {
  display: flex;
  gap: 4px;
}

.carousel-control {
  width: 31px;
  height: 27px;
  padding: 0;
  border: 2px outset var(--yellow-pale);
  background: var(--yellow);
  color: var(--navy);
  font-weight: 700;
  cursor: pointer;
  transition: background-color 180ms ease;
}

.carousel-control:active {
  border-style: inset;
  background: var(--yellow-pale);
}

@media (hover: hover) {
  .carousel-control:hover {
    background: var(--yellow-pale);
  }
}

.case-study {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--white);
}

.case-study-title {
  margin: 0;
  padding: 6px 9px;
  border-bottom: 1px solid var(--line);
  background: var(--blue-pale);
  color: var(--navy);
  font-size: 14px;
}

.case-study dl {
  display: grid;
  flex: 1;
  grid-template-rows: auto auto 1fr;
  margin: 0;
}

.case-study dl > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  border-top: 1px dotted var(--line);
}

.case-study dl > div:first-child {
  border-top: 0;
}

.case-study dt,
.case-study dd {
  padding: 8px 9px;
}

.case-study dt {
  border-right: 1px solid var(--line);
  background: var(--yellow-pale);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.case-study dd {
  margin: 0;
  font-size: 14px;
}

.case-study-outcome-line {
  display: block;
}

.case-study-outcome-line + .case-study-outcome-line {
  margin-top: 4px;
}

.additional-launches {
  margin: 15px auto 0;
  padding: 9px 11px;
  border: 1px solid var(--line);
  background: var(--blue-pale);
  font-size: 13px;
}

.additional-launches p {
  margin: 0;
}

.additional-launches p + p {
  margin-top: 3px;
}

.carousel-status {
  margin: 5px 0 0;
  color: var(--muted);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
}

.job-list {
  display: grid;
  gap: 9px;
}

.job-list article {
  border: 1px solid var(--line);
  background: var(--white);
}

.job-list article > p:not(.job-title) {
  margin: 0;
  padding: 10px;
  font-size: 14px;
}

.job-title {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin: 0;
  padding: 7px 9px;
  border-bottom: 1px dotted var(--line);
  background: var(--blue-pale);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}

.job-title span {
  flex: 0 0 auto;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
}

.x402-demo-copy {
  margin-bottom: 15px;
  font-size: 14px;
}

.x402-demo-copy p,
.x402-guide p {
  margin: 0;
}

.x402-demo-copy p + p {
  margin-top: 10px;
}

.x402-demo {
  position: relative;
  border: 2px ridge var(--line);
  background: var(--white);
}

.x402-guide {
  position: absolute;
  top: 16px;
  left: 50%;
  z-index: 2;
  width: min(430px, calc(100% - 32px));
  padding: 16px;
  transform: translateX(-50%);
  border: 2px solid var(--navy);
  border-radius: 9px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(0, 26, 102, 0.28);
}
.x402-guide::after {
  position: absolute;
  bottom: -8px;
  left: 24px;
  width: 13px;
  height: 13px;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  background: var(--white);
  content: "";
  transform: rotate(45deg);
}


.x402-demo:has(.x402-guide:not([hidden]))::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 26, 102, 0.28);
  content: "";
}

.x402-guide-progress {
  margin-bottom: 7px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.x402-guide-copy {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
}

.x402-guide-next {
  display: flex;
  min-width: 42px;
  margin: 13px 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 7px 11px;
  border: 1px solid var(--navy);
  border-radius: 4px;
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.x402-guide-next:active {
  border-style: inset;
}

.x402-guide-next:hover {
  background: var(--blue-dark);
}

.x402-guide-arrow {
  display: inline-block;
  margin-left: 6px;
}

.x402-demo-label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  padding: 7px 10px;
  border-bottom: 1px solid var(--line);
  background: var(--navy);
  color: var(--white);
}

.x402-demo-label span {
  color: var(--yellow);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  text-transform: uppercase;
}

.x402-demo ol {
  margin: 0;
  padding: 12px 12px 12px 32px;
}

.x402-demo li {
  padding: 3px 8px;
  border-left: 4px solid transparent;
  border-radius: 4px;
}

.x402-demo li + li {
  margin-top: 4px;
}

#x402-lie {
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    color 220ms ease;
}

#x402-lie.is-revealed {
  border-left-color: #188038;
  background: #e1f5e5;
  box-shadow: 0 0 0 1px rgba(24, 128, 56, 0.22), 0 5px 15px rgba(24, 128, 56, 0.15);
  color: #0d652d;
  font-weight: 700;
  animation: x402-lie-reveal 720ms cubic-bezier(0.2, 0.9, 0.25, 1);
}

#x402-lie.is-revealed::after {
  display: inline-flex;
  height: 18px;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  padding: 0 6px;
  border-radius: 999px;
  background: #188038;
  color: var(--white);
  content: "The lie";
  font-size: 10px;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
  vertical-align: middle;
}

.x402-demo-action {
  padding: 11px;
  border-top: 1px solid var(--line);
  background: var(--yellow-pale);
}

.x402-demo-action p,
.x402-payment p,
.x402-answer p {
  margin-bottom: 7px;
}

.x402-demo-action p {
  font-size: 14px;
}

#x402-reveal,
#x402-pay,
#x402-reset,
.submit-button,
.success-close {
  padding: 7px 10px;
  border: 2px outset #7fa9e8;
  background: var(--blue);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background-color 150ms ease,
    transform 150ms ease,
    box-shadow 150ms ease;
}

#x402-reset {
  border-color: var(--yellow-pale);
  background: var(--yellow);
  color: var(--navy);
}

#x402-reveal:hover,
#x402-pay:hover,
.submit-button:hover,
.success-close:hover {
  background: var(--blue-dark);
}

#x402-reset:hover {
  background: var(--yellow-pale);
}

#x402-reveal:hover:not(:disabled),
#x402-pay:hover:not(:disabled),
#x402-reset:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 26, 102, 0.22);
}

#x402-reveal:active,
#x402-pay:active,
#x402-reset:active,
.submit-button:active,
.success-close:active {
  border-style: inset;
}

#x402-reveal:disabled,
#x402-pay:disabled,
.submit-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.x402-payment,
.x402-answer {
  padding: 11px;
  border-top: 1px solid var(--line);
  background: var(--blue-pale);
}

.x402-payment:not([hidden]) {
  animation: x402-panel-in 260ms ease-out both;
}

.x402-answer {
  border-top-color: #73ad7e;
  background: #eaf8ec;
  box-shadow: inset 4px 0 #188038;
}

.x402-answer:not([hidden]) {
  animation: x402-answer-in 520ms cubic-bezier(0.2, 0.85, 0.25, 1) both;
}

.x402-answer-label {
  padding: 1px 0 1px 3px;
  border-radius: 3px;
  background: #c8edcf;
  color: #0d652d;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

#x402-balance.is-updated {
  display: inline-block;
  color: #0d652d;
  animation: x402-balance-update 520ms ease-out;
}

.x402-demo-reset {
  padding: 9px 11px;
  border-top: 1px dotted var(--line);
  text-align: right;
}

.x402-payment p:nth-child(2),
.x402-answer p:nth-child(2) {
  color: var(--muted);
  font-size: 13px;
}

.x402-demo code {
  padding: 2px 4px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  font-family: "Courier New", monospace;
}

.x402-payment > p:first-child code {
  padding: 4px 7px;
  border-color: #9f1c16;
  background: #c62828;
  color: var(--white);
  font-weight: 700;
}

@keyframes x402-panel-in {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes x402-answer-in {
  0% {
    opacity: 0;
    transform: translateY(-7px) scale(0.99);
  }

  55% {
    transform: translateY(1px) scale(1.005);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes x402-lie-reveal {
  0%,
  100% {
    transform: translateX(0);
  }

  30% {
    transform: translateX(6px);
  }

  48% {
    transform: translateX(-3px);
  }

  66% {
    transform: translateX(2px);
  }
}

@keyframes x402-balance-update {
  35% {
    transform: scale(1.08);
  }
}

[hidden] {
  display: none !important;
}

.bottom-gallery {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 26px 22px;
  background: var(--paper);
}

.bottom-feature {
  width: fit-content;
  display: grid;
  place-items: center;
  max-width: 100%;
  margin: 0 auto;
}

.bottom-feature img {
  width: auto;
  max-width: 100%;
  height: auto;
  padding: 5px;
  border: 2px ridge var(--line);
  background: var(--white);
}

.being-image img {
  max-width: min(100%, 560px);
}

.meme img {
  max-width: min(100%, 380px);
}

.retro-image-pair {
  display: flex;
  width: 100%;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
}

.retro-image-pair img {
  width: auto;
  height: auto;
  max-width: 120px;
  image-rendering: pixelated;
}

.site-footer {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  padding: 13px 15px;
  border-top: 3px solid var(--yellow);
  background: var(--navy);
  color: var(--white);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
}

.site-footer a,
.site-footer a:visited {
  padding: 9px 14px;
  border: 2px outset var(--yellow-pale);
  background: var(--yellow);
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.site-footer a:hover {
  background: var(--yellow-pale);
}

.site-footer a:active {
  border-style: inset;
}

.secret-song[hidden] {
  display: none;
}

.secret-song {
  position: fixed;
  z-index: 1;
  isolation: isolate;
  display: grid;
  inset: 0;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(18px, 6vw, 72px);
  place-items: center;
  background-color: transparent;
  transition: background-color 1000ms cubic-bezier(0.16, 1, 0.3, 1);
}

.secret-song.is-playing {
  background-color: #01030a;
  transition-duration: 1000ms;
}

.secret-song.is-paused {
  transition-duration: 850ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.secret-song.is-returning {
  pointer-events: none;
  transition-duration: 550ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.secret-song.is-seeking {
  background-color: transparent;
  transition-duration: 180ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.secret-song.is-seek-recovering {
  transition-duration: 800ms;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.secret-song-stars {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1000ms cubic-bezier(0.16, 1, 0.3, 1);
  image-rendering: pixelated;
}

.secret-song.is-playing .secret-song-stars {
  opacity: 1;
  transition-duration: 1000ms;
}

.secret-song.is-paused .secret-song-stars {
  opacity: 0;
  transition-duration: 850ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.secret-song.is-returning .secret-song-stars {
  opacity: 0;
  transition-duration: 550ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.secret-song.is-seeking .secret-song-stars {
  opacity: 0;
  transition-duration: 180ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.secret-song.is-seek-recovering .secret-song-stars {
  transition-duration: 800ms;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}


.secret-song-window {
  position: relative;
  z-index: 1;
  width: min(570px, 100%);
  border: 3px ridge var(--blue);
  background: var(--paper);
  box-shadow: 8px 8px 0 rgba(0, 26, 102, 0.22);
  transition: box-shadow 1000ms cubic-bezier(0.16, 1, 0.3, 1);
}

.secret-song.is-playing .secret-song-window {
  box-shadow: none;
  transition-duration: 1000ms;
}

.secret-song.is-paused .secret-song-window {
  transition-duration: 850ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.secret-song.is-seeking .secret-song-window {
  box-shadow: 8px 8px 0 rgba(0, 26, 102, 0.22);
  transition-duration: 180ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.secret-song.is-playing.is-seek-recovering .secret-song-window {
  box-shadow: none;
  transition-duration: 800ms;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}
.secret-song-cat {
  position: absolute;
  z-index: 2;
  right: 10px;
  bottom: calc(100% - 2px);
  width: clamp(52px, 12vw, 72px);
  height: auto;
  pointer-events: none;
  image-rendering: pixelated;
}



.secret-song-titlebar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 6px 7px;
  border-bottom: 2px solid var(--navy);
  background: var(--yellow);
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.secret-song-titlebar button {
  padding: 3px 7px;
  border: 2px outset var(--yellow-pale);
  background: var(--paper);
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.secret-song-titlebar button:active {
  border-style: inset;
}

.secret-song-content {
  padding: clamp(22px, 6vw, 42px);
}

.secret-song-content h2 {
  max-width: none;
  margin: 0 0 20px;
  color: var(--navy);
  font-size: clamp(10px, 4.4vw, 29px);
  line-height: 1.2;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}

.secret-song-name {
  margin: 0 0 10px;
  color: var(--blue-dark);
  font-size: 16px;
  font-weight: 800;
}


.secret-player {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 15px;
  border: 2px ridge var(--line);
  background: var(--white);
}

.secret-song-toggle {
  display: grid;
  grid-template-rows: 18px 13px;
  min-width: 78px;
  min-height: 58px;
  padding: 7px 10px;
  place-items: center;
  border: 3px outset #7fa9e8;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
}

.secret-song-toggle:active {
  border-style: inset;
}

.secret-song-toggle-icon {
  display: grid;
  width: 14px;
  height: 14px;
  place-items: center;
  color: var(--yellow);
}

.secret-song-toggle-icon::before {
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 14px solid currentColor;
  content: "";
}

.secret-song-toggle-icon.is-pause::before {
  width: 14px;
  height: 14px;
  border: 0;
  background: currentColor;
}

.secret-song-toggle-label {
  font-size: 11px;
  letter-spacing: 0.08em;
}

.secret-song-progress {
  min-width: 0;
}

#secret-song-timeline {
  --seek-progress: 0%;
  width: 100%;
  height: 14px;
  margin: 0;
  appearance: none;
  border: 2px inset var(--line);
  border-radius: 0;
  background: linear-gradient(to right, var(--blue) 0 var(--seek-progress), var(--blue-pale) var(--seek-progress) 100%);
  cursor: pointer;
}

#secret-song-timeline:disabled {
  cursor: default;
  opacity: 0.65;
}

#secret-song-timeline::-webkit-slider-thumb {
  width: 16px;
  height: 22px;
  appearance: none;
  border: 2px outset var(--yellow-pale);
  border-radius: 0;
  background: var(--yellow);
}

#secret-song-timeline::-moz-range-thumb {
  width: 12px;
  height: 18px;
  border: 2px outset var(--yellow-pale);
  border-radius: 0;
  background: var(--yellow);
}

.secret-song-time {
  display: flex;
  justify-content: flex-end;
  gap: 5px;
  margin-top: 6px;
  color: var(--muted);
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.secret-song-status {
  min-height: 1.5em;
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 12px;
}

dialog {
  width: min(520px, calc(100% - 24px));
  padding: 0;
  border: 3px ridge var(--blue);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 8px 8px 0 rgba(0, 26, 102, 0.3);
}

dialog::backdrop {
  background: rgba(0, 18, 74, 0.65);
}

.dialog-content {
  position: relative;
  padding: 24px;
}

.dialog-close {
  position: absolute;
  top: 6px;
  right: 7px;
  width: 25px;
  height: 23px;
  padding: 0;
  border: 2px outset var(--yellow-pale);
  background: var(--yellow);
  color: var(--navy);
  font-weight: 700;
  cursor: pointer;
}

#contact-heading {
  margin-bottom: 7px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--blue);
  color: var(--navy);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 23px;
}

.contact-note {
  color: var(--muted);
  font-size: 13px;
}

#contact-form {
  display: grid;
}

.form-honeypot {
  display: none;
}

#contact-form label {
  margin: 9px 0 3px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}

#contact-form input,
#contact-form textarea {
  width: 100%;
  padding: 7px;
  border: 2px inset var(--line);
  background: var(--white);
  color: var(--ink);
}

#contact-form input:focus,
#contact-form textarea:focus {
  border-color: var(--blue);
}

#contact-form textarea {
  resize: vertical;
}

.submit-button {
  justify-self: start;
  margin-top: 13px;
}

.contact-status {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.contact-success {
  text-align: center;
}

.contact-success p {
  font-size: 15px;
}

:is(button, .contact-links a, #back-to-top) {
  transition:
    background-color 150ms ease,
    box-shadow 80ms ease,
    transform 80ms ease;
}

:is(button, .contact-links a, #back-to-top):active:not(:disabled) {
  border-style: inset;
  box-shadow: none;
  transform: translate(2px, 2px);
}
#secret-song-trigger:active:not(:disabled) {
  box-shadow:
    inset 2px 2px 0 #74000a,
    inset -2px -2px 0 #ff6975;
  transform: none;
}

#secret-song-trigger:active:not(:disabled) svg {
  transform: translate(2px, 2px);
}


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

  :is(button, .contact-links a, #back-to-top) {
    transition: none;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .page-shell {
    width: 100%;
    margin: 0;
    border-right: 0;
    border-left: 0;
    box-shadow: none;
  }

  .site-nav a {
    flex: 1 1 auto;
    min-width: 0;
    padding: 7px 4px;
    font-size: clamp(11px, 3.1vw, 13px);
    text-align: center;
    white-space: nowrap;
  }

  .site-header {
    padding: 25px 18px 20px;
  }


  .portrait {
    width: min(320px, calc(100% - 30px));
    margin: 20px auto;
  }

  .portrait figcaption {
    width: calc(100vw - 24px);
    margin-left: 50%;
    transform: translateX(-50%);
    font-size: clamp(8px, 2.9vw, 13px);
    white-space: nowrap;
  }

  .section-body {
    padding: 15px 14px 19px;
  }

  .case-study dl > div {
    grid-template-columns: 92px 1fr;
  }

  .case-study dt,
  .case-study dd {
    padding: 7px;
  }

  .job-title {
    display: block;
  }

  .job-title span {
    display: block;
    margin-top: 2px;
  }



  .bottom-gallery {
    padding: 20px 14px;
  }

  .site-footer {
    padding: 12px 11px;
  }

  .dialog-content {
    padding: 20px 16px;
  }
}

@media (max-width: 300px) {
  .site-nav {
    display: flex;
  }

  .site-nav a {
    display: none;
  }

  .carousel-meta,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .carousel-controls {
    width: 100%;
  }

  .carousel-control {
    width: 50%;
  }

  .case-study dl > div {
    grid-template-columns: 1fr;
  }

  .case-study dt {
    border-right: 0;
    border-bottom: 1px dotted var(--line);
  }
}
