:root {
  --plum: #5b484f;
  --seafoam: #8bbfb2;
  --cream: #f4edbd;
  --apricot: #f4b95f;
  --coral: #ef5a5d;
  --paper: #fbf4df;
  --ink: #221d1b;
  --muted: #6b5f58;
  --line: rgba(34, 29, 27, 0.18);
  --radius: 8px;
  --shadow: 0 24px 70px rgba(34, 29, 27, 0.16);
  --font-display: "Anton", Impact, sans-serif;
  --font-body: "Manrope", Arial, sans-serif;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 40px;
  --space-6: 64px;
  --space-7: 104px;
  --space-8: 168px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

section,
.portfolio-preview {
  scroll-margin-top: 150px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.62;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--coral);
  color: var(--ink);
  transform: translateY(-140%);
}

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

.section-pad {
  padding: var(--space-7) clamp(20px, 5vw, 72px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 244, 223, 0.92);
  backdrop-filter: blur(16px);
}

.announcement {
  background: var(--plum);
  color: var(--paper);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 800;
}

.announcement a {
  display: block;
  padding: 13px 18px;
}

.nav-shell {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 0 clamp(20px, 5vw, 72px);
}

.brand {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  background: var(--seafoam);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 34px);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.desktop-nav a:not(.nav-cta)::after,
.text-link::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  margin-top: 3px;
  background: var(--coral);
  transition: width 100ms ease;
}

.desktop-nav a:hover::after,
.text-link:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 12px 18px;
  background: var(--coral);
  transform: rotate(-2deg);
}

.menu-button {
  display: none;
  width: 72px;
  height: 72px;
  border: 0;
  border-radius: 50%;
  background: var(--coral);
  color: var(--paper);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.menu-panel {
  padding: var(--space-5) clamp(20px, 5vw, 72px) var(--space-6);
  background: var(--plum);
  color: var(--paper);
}

.menu-panel nav {
  display: grid;
  gap: var(--space-3);
}

.menu-panel a {
  font-family: var(--font-display);
  font-size: clamp(42px, 10vw, 84px);
  line-height: 0.96;
  text-transform: uppercase;
}

.menu-panel p {
  max-width: 520px;
  color: rgba(251, 244, 223, 0.76);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(320px, 6fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
  min-height: calc(100vh - 132px);
  padding-top: var(--space-6);
  padding-bottom: var(--space-6);
}

.hero-copy {
  max-width: 690px;
}

.eyebrow {
  margin: 0 0 var(--space-3);
  color: var(--plum);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  position: relative;
  max-width: 780px;
  margin-bottom: var(--space-4);
  color: var(--coral);
  font-size: clamp(64px, 7.6vw, 100px);
  line-height: 0.93;
}

h1 span {
  color: var(--plum);
}

h2 {
  margin-bottom: var(--space-4);
  font-size: clamp(48px, 7.2vw, 104px);
  line-height: 0.95;
}

h3 {
  margin-bottom: var(--space-3);
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
}

.lede {
  max-width: 620px;
  margin-bottom: var(--space-5);
  font-size: clamp(18px, 1.6vw, 21px);
  font-weight: 700;
}

.button-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 15px 25px;
  border: 2px solid var(--ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 100ms ease, background-color 100ms ease;
}

.button:hover {
  transform: rotate(-2deg) translateY(-3px);
}

.button.primary {
  background: var(--coral);
  color: var(--paper);
  box-shadow: 8px 8px 0 var(--ink);
}

.button.secondary {
  background: var(--apricot);
  color: var(--ink);
}

.text-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-media {
  position: relative;
  margin: 0;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: -22px 34px 34px -24px;
  background: var(--seafoam);
  z-index: -1;
  transform: rotate(2deg);
}

.hero-media img {
  aspect-ratio: 1.05 / 1;
  width: 100%;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--cream);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.proof-strip p {
  margin: 0;
  padding: var(--space-4);
  border-right: 2px solid var(--ink);
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 52px);
  line-height: 0.98;
  text-align: center;
  text-transform: uppercase;
}

.proof-strip p:last-child {
  border-right: 0;
}

.statement {
  display: grid;
  place-items: center;
  min-height: 76vh;
  padding: var(--space-8) clamp(20px, 5vw, 72px);
  background: var(--plum);
  color: var(--paper);
  text-align: center;
}

.statement .eyebrow,
.testimonial .eyebrow,
.closing .eyebrow {
  color: var(--apricot);
}

.statement div {
  max-width: 920px;
}

.statement p:not(.eyebrow) {
  max-width: 680px;
  margin: 0 auto var(--space-5);
  color: rgba(251, 244, 223, 0.78);
}

.services {
  display: grid;
  grid-template-columns: minmax(280px, 5fr) minmax(360px, 6fr);
  gap: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.services-index,
.services-feature {
  min-height: 780px;
}

.services-index {
  padding: var(--space-7) clamp(20px, 5vw, 72px);
  background: var(--seafoam);
}

.services-index h2 {
  color: var(--paper);
  text-shadow: 4px 4px 0 var(--plum);
}

.services-index ul {
  display: grid;
  gap: var(--space-4);
  margin: var(--space-6) 0 0;
  padding: 0;
  list-style: none;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.services-index li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.services-index li span {
  width: 24px;
  height: 24px;
  background: var(--cream);
  clip-path: polygon(50% 0, 61% 31%, 95% 15%, 69% 43%, 100% 50%, 69% 57%, 95% 85%, 61% 69%, 50% 100%, 39% 69%, 5% 85%, 31% 57%, 0 50%, 31% 43%, 5% 15%, 39% 31%);
}

.services-feature {
  position: relative;
  display: grid;
  place-items: center;
  padding: var(--space-7) clamp(24px, 6vw, 96px);
  background: var(--paper);
  overflow: hidden;
}

.services-feature article {
  max-width: 620px;
  text-align: center;
}

.services-feature h3 {
  color: var(--coral);
}

.vertical-ticker {
  position: absolute;
  inset: 0 auto 0 0;
  display: grid;
  width: 36px;
  background: var(--plum);
  color: var(--paper);
  overflow: hidden;
}

.vertical-ticker span {
  writing-mode: vertical-rl;
  justify-self: center;
  padding: var(--space-3) 0;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.marquee {
  overflow: hidden;
  background: var(--coral);
  color: var(--paper);
  border-block: 2px solid var(--ink);
}

.marquee div {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee span {
  padding: 17px 28px;
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 62px);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 8fr) auto;
  gap: var(--space-5);
  align-items: end;
  margin-bottom: var(--space-6);
}

.section-heading h2 {
  max-width: 950px;
  margin-bottom: 0;
}

.section-heading.compact {
  display: block;
  max-width: 780px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.work-card {
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--space-4);
  background: var(--cream);
  transition: transform 100ms ease, background-color 100ms ease;
}

.work-card:hover {
  transform: translateY(-6px);
  background: var(--apricot);
}

.work-card.featured {
  background: var(--plum);
  color: var(--paper);
  transform: rotate(-1.5deg);
}

.work-card p {
  font-weight: 900;
  color: var(--coral);
}

.work-card span {
  font-weight: 800;
}

.portfolio-preview {
  display: grid;
  grid-template-columns: minmax(240px, 4fr) minmax(0, 8fr);
  gap: var(--space-5);
}

.portfolio-intro {
  max-width: 430px;
}

.portfolio-intro h3 {
  color: var(--plum);
}

.portfolio-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}

.portfolio-card {
  display: grid;
  gap: var(--space-3);
}

.portfolio-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--cream);
  transition: transform 100ms ease, filter 100ms ease;
}

.portfolio-card-image-left {
  object-position: left top;
}

.portfolio-card:hover img {
  transform: translateY(-6px) rotate(-1deg);
  filter: saturate(1.08);
}

.portfolio-card span {
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.portfolio-card h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.process {
  display: grid;
  grid-template-columns: minmax(280px, 4fr) minmax(0, 7fr);
  gap: clamp(44px, 7vw, 120px);
  background: var(--cream);
}

.process-copy {
  align-self: start;
  position: sticky;
  top: 156px;
}

.steps {
  display: grid;
  gap: var(--space-4);
}

.steps article {
  padding: var(--space-5);
  background: var(--paper);
  border-left: 10px solid var(--seafoam);
}

.steps span {
  display: inline-block;
  margin-bottom: var(--space-3);
  color: var(--coral);
  font-weight: 900;
}

.testimonial {
  padding: var(--space-8) clamp(20px, 5vw, 72px);
  background: var(--plum);
  color: var(--paper);
}

.testimonial div {
  max-width: 1030px;
  margin: 0 auto;
}

blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(50px, 7vw, 112px);
  line-height: 0.98;
  text-transform: uppercase;
}

.quote-meta {
  margin-top: var(--space-4);
  color: rgba(251, 244, 223, 0.7);
  font-weight: 800;
}

.faq {
  display: grid;
  grid-template-columns: minmax(240px, 4fr) minmax(0, 7fr);
  gap: clamp(40px, 8vw, 120px);
}

.accordion {
  display: grid;
  gap: var(--space-3);
}

details {
  padding: var(--space-4);
  background: var(--cream);
}

summary {
  cursor: pointer;
  font-weight: 900;
  list-style-position: outside;
}

details p {
  margin: var(--space-3) 0 0;
  max-width: 700px;
}

.closing {
  display: grid;
  place-items: center;
  min-height: 82vh;
  padding: var(--space-8) clamp(20px, 5vw, 72px);
  background: var(--seafoam);
  text-align: center;
}

.closing div {
  max-width: 940px;
}

.closing p:not(.eyebrow) {
  max-width: 560px;
  margin: 0 auto var(--space-5);
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 520px) auto;
  gap: var(--space-5);
  align-items: end;
  padding: var(--space-6) clamp(20px, 5vw, 72px);
  background: var(--ink);
  color: var(--paper);
}

.footer-brand {
  background: var(--coral);
}

.capture label {
  display: block;
  margin-bottom: var(--space-3);
  font-weight: 900;
}

.capture div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-2);
}

.capture input,
.capture button {
  min-height: 52px;
  border: 2px solid var(--paper);
}

.capture input {
  min-width: 0;
  padding: 0 16px;
  background: transparent;
  color: var(--paper);
}

.capture input::placeholder {
  color: rgba(251, 244, 223, 0.66);
}

.capture button {
  padding: 0 18px;
  background: var(--apricot);
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-quiz {
  display: grid;
  gap: var(--space-2);
  max-width: 460px;
}

.footer-quiz p {
  margin: 0;
  color: var(--paper);
  font-weight: 900;
}

.footer-quiz .text-link {
  color: var(--apricot);
}

.legal {
  margin: 0;
  color: rgba(251, 244, 223, 0.68);
  font-size: 13px;
}

.mobile-sticky {
  display: none;
}

.case-page {
  padding: var(--space-6) clamp(20px, 5vw, 72px) var(--space-8);
}

.case-hero {
  display: grid;
  gap: var(--space-4);
  max-width: 1120px;
  padding: var(--space-7) 0 var(--space-6);
}

.case-hero h1 {
  margin-bottom: 0;
  font-size: clamp(60px, 9vw, 132px);
}

.case-hero p:not(.eyebrow) {
  max-width: 760px;
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 800;
}

.case-hero .button {
  justify-self: start;
  width: fit-content;
  max-width: 100%;
}

.case-screenshots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-2);
}

.case-screenshots figure {
  display: grid;
  gap: 12px;
  margin: 0;
}

.case-screenshots img {
  width: 100%;
  aspect-ratio: 16 / 10.5;
  object-fit: cover;
  object-position: top;
  box-shadow: var(--shadow);
}

.case-screenshots figcaption {
  color: var(--plum);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.arcloom-grid {
  align-items: start;
}

.cod-grid img {
  aspect-ratio: auto;
  object-fit: contain;
  background: var(--ink);
}

.case-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.case-details article {
  padding: var(--space-5);
  background: var(--cream);
}

.case-details h2 {
  font-size: clamp(34px, 4vw, 58px);
}

.blog-hero {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(280px, 4fr);
  gap: var(--space-6);
  align-items: end;
  min-height: 72vh;
}

.blog-hero h1 {
  max-width: 1040px;
  margin-bottom: 0;
  font-size: clamp(70px, 10vw, 140px);
}

.blog-hero > p {
  max-width: 460px;
  font-size: 19px;
  font-weight: 800;
}

.blog-feature {
  padding-top: 0;
}

.featured-post {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(240px, 4fr) auto;
  gap: var(--space-5);
  align-items: end;
  padding: var(--space-6);
  background: var(--plum);
  color: var(--paper);
  transition: transform 100ms ease;
}

.featured-post:hover {
  transform: rotate(-1deg) translateY(-4px);
}

.featured-post .eyebrow {
  color: var(--apricot);
}

.featured-post h2 {
  max-width: 980px;
  margin-bottom: var(--space-4);
  color: var(--paper);
}

.featured-post p {
  max-width: 640px;
  color: rgba(251, 244, 223, 0.76);
  font-weight: 800;
}

.featured-post img {
  align-self: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border: 2px solid rgba(251, 244, 223, 0.22);
}

.featured-post > span {
  color: var(--apricot);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
}

.blog-index {
  display: grid;
  grid-template-columns: minmax(220px, 3fr) minmax(0, 9fr);
  gap: var(--space-6);
  padding-top: 0;
}

.blog-filter {
  align-self: start;
  position: sticky;
  top: 156px;
}

.blog-filter div {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.blog-filter a {
  padding: 10px 13px;
  background: var(--cream);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background-color 100ms ease, transform 100ms ease;
}

.blog-filter a:hover {
  background: var(--apricot);
  transform: translateY(-2px);
}

.post-grid {
  display: grid;
  grid-auto-rows: 430px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}

.post-card a {
  display: flex;
  height: 100%;
  min-height: 0;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--cream);
  container-type: inline-size;
  transition: background-color 100ms ease, transform 100ms ease;
}

.post-card a:hover {
  background: var(--apricot);
  transform: translateY(-6px);
}

.post-card span,
.post-card small {
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.post-card h2 {
  margin-bottom: 0;
  font-size: clamp(40px, 11.5cqi, 64px);
  line-height: 0.95;
  overflow-wrap: break-word;
}

.post-card p {
  font-weight: 800;
}

.post-card.color-card a {
  background: var(--seafoam);
}

.post-card.color-card a:hover {
  background: var(--cream);
}

.post-card.dark-card a {
  background: var(--plum);
  color: var(--paper);
}

.post-card.dark-card p {
  color: rgba(251, 244, 223, 0.78);
}

.post-card.wide-post {
  grid-column: 1 / -1;
}

.post-card.wide-post a {
  background: var(--paper);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

@container (max-width: 430px) {
  .post-card h2 {
    font-size: clamp(34px, 9.6cqi, 48px);
  }
}

@container (max-width: 340px) {
  .post-card h2 {
    font-size: clamp(29px, 8.5cqi, 40px);
  }
}

.blog-newsletter {
  display: grid;
  place-items: center;
  padding: var(--space-8) clamp(20px, 5vw, 72px);
  background: var(--seafoam);
}

.blog-newsletter > div {
  max-width: 880px;
  text-align: center;
}

.blog-newsletter .capture {
  max-width: 560px;
  margin: var(--space-5) auto 0;
  text-align: left;
}

.blog-newsletter .capture input {
  color: var(--ink);
  border-color: var(--ink);
}

.blog-newsletter .capture input::placeholder {
  color: var(--muted);
}

.blog-newsletter .capture button {
  border-color: var(--ink);
  background: var(--coral);
  color: var(--paper);
}

.article-hero {
  display: grid;
  gap: var(--space-4);
  padding-bottom: var(--space-5);
}

.article-hero h1 {
  max-width: 1120px;
  margin-bottom: 0;
  font-size: clamp(58px, 8vw, 128px);
}

.article-hero > p:not(.eyebrow) {
  max-width: 760px;
  font-size: clamp(19px, 1.8vw, 24px);
  font-weight: 900;
}

.article-hero img {
  width: 100%;
  max-height: 680px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.article-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 72px) var(--space-7);
}

.article-body p {
  margin: 0 0 1.25em;
  color: rgba(33, 34, 29, 0.86);
  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1.78;
}

.article-body h2 {
  margin: var(--space-6) 0 var(--space-3);
  font-size: clamp(42px, 5vw, 72px);
}

.article-callout {
  margin-top: var(--space-6);
  padding: var(--space-5);
  background: var(--plum);
  color: var(--paper);
  box-shadow: var(--shadow);
}

.article-callout h2 {
  margin-top: 0;
  color: var(--paper);
}

.article-callout p {
  margin-bottom: 0;
  color: rgba(251, 244, 223, 0.8);
}

.article-next {
  display: grid;
  gap: var(--space-4);
  background: var(--seafoam);
}

.article-next h2 {
  max-width: 840px;
  margin-bottom: 0;
}

.article-next .button {
  justify-self: start;
}

.quiz-hero {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(280px, 4fr);
  gap: var(--space-6);
  align-items: end;
  padding-bottom: var(--space-5);
}

.quiz-hero h1 {
  max-width: 1120px;
  margin-bottom: 0;
  font-size: clamp(66px, 11vw, 154px);
}

.quiz-hero > p {
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 900;
}

.quiz-shell {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto var(--space-7);
}

.quiz-progress {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.quiz-cells {
  display: flex;
  gap: 6px;
}

.quiz-cell {
  width: 36px;
  height: 10px;
  border: 2px solid var(--ink);
  background: var(--paper);
}

.quiz-cell.done {
  background: var(--coral);
}

.quiz-card,
.quiz-ticket {
  padding: var(--space-5);
  background: var(--cream);
  border: 2px solid var(--ink);
  box-shadow: 9px 9px 0 var(--ink);
}

.quiz-card h2 {
  max-width: 820px;
  margin-bottom: var(--space-3);
  font-size: clamp(42px, 6vw, 76px);
}

.quiz-hint {
  max-width: 760px;
  color: rgba(34, 29, 27, 0.76);
  font-weight: 800;
}

.quiz-options {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.quiz-option {
  position: relative;
  min-height: 72px;
  padding: 18px 18px 18px 58px;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-weight: 900;
  text-align: left;
  cursor: pointer;
  transition: background-color 100ms ease, transform 100ms ease;
}

.quiz-option::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 18px;
  width: 18px;
  height: 18px;
  border: 2px solid var(--ink);
  background: var(--paper);
}

.quiz-option:hover,
.quiz-option.picked {
  background: var(--seafoam);
  transform: translateY(-2px);
}

.quiz-option.picked::before {
  background: var(--coral);
  box-shadow: inset 0 0 0 4px var(--paper);
}

.quiz-gap {
  margin-top: var(--space-4);
  padding: var(--space-4);
  background: var(--seafoam);
  border-left: 10px solid var(--coral);
}

.quiz-gap strong {
  display: block;
  margin-bottom: var(--space-2);
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 0.95;
  text-transform: uppercase;
}

.quiz-gap p {
  max-width: 760px;
  font-weight: 800;
}

.quiz-nav,
.quiz-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-5);
}

.quiz-nav .button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.quiz-number-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.quiz-number-grid label {
  display: grid;
  gap: 10px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quiz-number-grid input {
  min-width: 0;
  padding: 14px 16px;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-size: 24px;
  font-weight: 900;
}

.quiz-math {
  min-height: 32px;
  margin-top: var(--space-4);
  color: var(--plum);
  font-weight: 900;
}

.quiz-result-wrap {
  display: grid;
  gap: var(--space-4);
}

.quiz-ticket {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: var(--paper);
}

.quiz-ticket-head {
  display: flex;
  gap: var(--space-3);
  justify-content: space-between;
  padding: 18px var(--space-4);
  background: var(--plum);
  color: var(--paper);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.quiz-ticket-row {
  padding: var(--space-4);
  border-bottom: 2px dashed rgba(34, 29, 27, 0.2);
}

.quiz-ticket-row:last-child {
  border-bottom: 0;
}

.quiz-ticket-row small {
  display: block;
  margin-bottom: var(--space-2);
  color: var(--coral);
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.quiz-ticket-row p {
  max-width: 840px;
  margin: 0;
  font-weight: 800;
}

.quiz-result-sentence,
.quiz-result-number {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.8vw, 72px);
  line-height: 0.98;
  text-transform: uppercase;
}

.quiz-result-sentence:focus {
  outline: 3px dashed var(--coral);
  outline-offset: 6px;
}

.quiz-result-actions {
  justify-content: flex-start;
}

#quiz-copy-message {
  color: var(--plum);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(280px, 4fr);
  gap: var(--space-6);
  align-items: end;
  padding-bottom: var(--space-5);
}

.contact-hero h1 {
  max-width: 1120px;
  margin-bottom: 0;
  font-size: clamp(66px, 11vw, 154px);
}

.contact-hero > p {
  max-width: 520px;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 900;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(280px, 4fr);
  gap: var(--space-5);
  align-items: start;
  padding-top: 0;
}

.contact-form {
  display: grid;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--cream);
  border: 2px solid var(--ink);
  box-shadow: 9px 9px 0 var(--ink);
}

.contact-form label,
.choice-field {
  min-width: 0;
}

.contact-form label,
.contact-form fieldset {
  display: grid;
  gap: 10px;
  margin: 0;
}

.contact-form span,
.choice-field legend {
  color: var(--plum);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-form small {
  color: var(--muted);
  font: inherit;
  letter-spacing: inherit;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 58px;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-weight: 800;
}

.contact-form input,
.contact-form select {
  padding: 0 16px;
}

.contact-form textarea {
  min-height: 180px;
  padding: 16px;
  resize: vertical;
}

.contact-form textarea::placeholder {
  color: rgba(34, 29, 27, 0.52);
}

.field-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}

.choice-field {
  padding: 0;
  border: 0;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-2);
}

.choice-grid label {
  position: relative;
  display: block;
  min-height: 74px;
  cursor: pointer;
}

.choice-grid input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  cursor: pointer;
  opacity: 0;
}

.choice-grid span {
  display: grid;
  min-height: 74px;
  place-items: center;
  padding: 14px;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  text-align: center;
  transition: background-color 100ms ease, transform 100ms ease;
}

.choice-grid input:focus-visible + span {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

.choice-grid input:checked + span,
.choice-grid label:hover span {
  background: var(--seafoam);
  transform: translateY(-2px);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  justify-content: space-between;
}

.contact-actions .button {
  cursor: pointer;
}

.form-note {
  max-width: 320px;
  margin: 0;
  color: var(--plum);
  font-size: 13px;
  font-weight: 900;
}

.contact-side {
  position: sticky;
  top: 148px;
  display: grid;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--plum);
  color: var(--paper);
}

.contact-side h2 {
  margin-bottom: 0;
  color: var(--paper);
  font-size: clamp(42px, 2vw, 72px);
}

.contact-side .eyebrow,
.contact-side .text-link {
  color: var(--cream);
}

.contact-steps {
  display: grid;
  gap: var(--space-3);
}

.contact-steps article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-3);
  padding-top: var(--space-3);
  border-top: 2px solid rgba(251, 244, 223, 0.22);
}

.contact-steps span {
  color: var(--apricot);
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 0.9;
}

.contact-steps p {
  margin: 0;
  color: rgba(251, 244, 223, 0.78);
  font-weight: 800;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: inline-grid;
    place-items: center;
  }

  .hero,
  .services,
  .process,
  .faq,
  .site-footer,
  .blog-hero,
  .blog-index,
  .quiz-hero,
  .contact-hero,
  .contact-layout,
  .featured-post {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: var(--space-6);
  }

  .hero-copy {
    order: 1;
  }

  .hero-media {
    order: 2;
  }

  .proof-strip,
  .work-grid,
  .portfolio-preview {
    grid-template-columns: 1fr;
  }

  .portfolio-gallery {
    grid-template-columns: 1fr;
  }

  .proof-strip p {
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }

  .proof-strip p:last-child {
    border-bottom: 0;
  }

  .services-index,
  .services-feature {
    min-height: auto;
  }

  .vertical-ticker {
    display: none;
  }

  .section-heading {
    display: block;
  }

  .section-heading .text-link {
    margin-top: var(--space-4);
  }

  .process-copy {
    position: static;
  }

  .blog-filter {
    position: static;
  }

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

  .quiz-number-grid {
    grid-template-columns: 1fr;
  }

  .contact-side {
    position: static;
  }

  .choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .section-pad,
  .services-index,
  .services-feature {
    padding: var(--space-6) 20px;
  }

  .announcement {
    font-size: 11px;
  }

  .nav-shell {
    min-height: 78px;
    padding-inline: 20px;
  }

  .brand {
    width: 52px;
    height: 52px;
    font-size: 22px;
  }

  .menu-button {
    width: 64px;
    height: 64px;
  }

  h1 {
    font-size: clamp(58px, 18vw, 84px);
  }

  .button-row {
    align-items: stretch;
  }

  .button-row .button,
  .button-row .text-link {
    width: 100%;
  }

  .hero-media::before {
    inset: -14px 18px 18px -12px;
  }

  .work-card {
    min-height: 280px;
  }

  .testimonial,
  .closing {
    padding: var(--space-7) 20px;
  }

  .steps article,
  details {
    padding: var(--space-4);
  }

  .site-footer {
    padding-bottom: 92px;
  }

  .case-details {
    grid-template-columns: 1fr;
  }

  .case-screenshots {
    grid-template-columns: 1fr;
  }

  .blog-hero {
    min-height: auto;
  }

  .case-hero .button {
    width: 100%;
  }

  .article-next .button {
    width: 100%;
  }

  .quiz-shell {
    width: calc(100% - 40px);
  }

  .contact-form,
  .contact-side {
    padding: var(--space-4);
  }

  .field-pair,
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .quiz-card,
  .quiz-ticket-row {
    padding: var(--space-4);
  }

  .quiz-nav,
  .quiz-result-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .quiz-nav .button,
  .quiz-result-actions .button,
  .contact-actions .button,
  .quiz-nav .text-link,
  .quiz-result-actions .text-link {
    width: 100%;
  }

  .featured-post,
  .post-card a {
    padding: var(--space-4);
  }

  .post-card a {
    min-height: 340px;
  }

  .capture div {
    grid-template-columns: 1fr;
  }

  .mobile-sticky {
    position: fixed;
    right: 14px;
    bottom: 14px;
    left: 14px;
    z-index: 11;
    display: grid;
    place-items: center;
    min-height: 54px;
    background: var(--coral);
    color: var(--paper);
    border: 2px solid var(--ink);
    box-shadow: 5px 5px 0 var(--ink);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(130%);
    transition: opacity 140ms ease, transform 140ms ease;
  }

  body[data-scrolled] .mobile-sticky {
    opacity: 1;
    transform: translateY(0);
  }
}
