:root {
  --black: #07121c;
  --white: #f4f1ea;
  --muted: #8b877f;
  --line: #2a2926;
  --line-strong: #44413b;
  --max: 1280px;
  --orange-start: #f9a11b;
  --orange-mid: #f37b20;
  --orange-end: #f16522;
  --orange-gradient: linear-gradient(120deg, var(--orange-start) 0%, var(--orange-mid) 52%, var(--orange-end) 100%);
  --purple-hover: #332154;
  color-scheme: dark;
  font-family: "Space Grotesk", Arial, sans-serif;
  --serif: "Newsreader", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: "Space Grotesk", Arial, sans-serif;
  letter-spacing: 0;
}

body.home-page {
  --black: #f7f3ec;
  --white: #07121c;
  --muted: #69737a;
  --line: rgba(7, 18, 28, 0.14);
  --line-strong: rgba(7, 18, 28, 0.22);
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse 92% 58% at -18% 8%, rgba(194, 215, 225, 0.54) 0%, rgba(194, 215, 225, 0.24) 34%, rgba(247, 243, 236, 0) 70%),
    radial-gradient(ellipse 82% 52% at 108% 4%, rgba(250, 213, 188, 0.44) 0%, rgba(250, 213, 188, 0.18) 34%, rgba(247, 243, 236, 0) 72%),
    linear-gradient(135deg, #fbf8f3 0%, #f4f0e8 48%, #eef3f4 100%);
  color: var(--white);
  color-scheme: light;
}

body.home-page::before {
  content: "";
  position: fixed;
  inset: -18%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 42% at 36% 18%, rgba(212, 226, 231, 0.28), rgba(212, 226, 231, 0) 68%),
    radial-gradient(ellipse 60% 40% at 72% 72%, rgba(242, 209, 188, 0.24), rgba(242, 209, 188, 0) 70%);
  filter: blur(64px);
}

body.menu-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 10;
  height: 84px;
  margin: 0;
  padding: 0 max(32px, calc((100vw - var(--max)) / 2 + 32px));
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  background: rgba(7, 18, 28, 0.84);
  backdrop-filter: blur(18px);
}

main {
  padding-top: 84px;
}

.home-page .site-header {
  background: transparent;
  backdrop-filter: none;
}

.home-page .brand img {
  filter: invert(1);
}

.brand {
  width: 48px;
  height: 48px;
  display: block;
}

.brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav {
  display: flex;
  justify-content: flex-end;
  gap: 26px;
  font-size: 14px;
  font-weight: 600;
}

.nav a,
.text-link,
.contact-link {
  position: relative;
  width: max-content;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav a::after,
.text-link::after,
.contact-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.nav a:hover::after,
.text-link:hover::after,
.contact-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.home-page .nav a:hover,
.home-page .text-link:hover,
.home-page .contact-link:hover {
  color: var(--purple-hover);
}

.nav-toggle {
  display: none;
}

.section-pad {
  max-width: var(--max);
  margin: 0 auto;
  padding: 112px 32px;
}

.case-page .section-pad {
  max-width: 1160px;
  padding-left: 72px;
  padding-right: 72px;
}

/* Karitro sections are full-bleed — content constrained via > * selectors */
.karitro-page .karitro-light.section-pad,
.karitro-page .karitro-dark.section-pad,
.karitro-page .karitro-hero.section-pad {
  max-width: none;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
}

.hero {
  min-height: calc(100vh - 84px);
  display: grid;
  align-content: center;
  gap: 42px;
}

.eyebrow,
.section-kicker,
.work-item span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero > .eyebrow {
  font-size: clamp(15px, 1.25vw, 18px);
}

h1 {
  max-width: 980px;
  font-size: clamp(50px, 7vw, 102px);
  line-height: 0.96;
  font-weight: 600;
}

h1 span,
h1 em {
  display: block;
}

h1 span {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 400;
}

h1 em {
  max-width: 820px;
  font-family: var(--serif);
  font-size: 1.05em;
  font-style: italic;
  font-weight: 200;
  line-height: 0.92;
}

.home-page h1 {
  max-width: 920px;
  font-size: clamp(46px, 6.4vw, 88px);
}

.home-page h1 em {
  max-width: 760px;
  font-size: 0.92em;
}

.hero-footer {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 620px);
  gap: 24px;
  align-items: start;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.hero-footer p {
  color: #c7c2b8;
  font-size: 18px;
  line-height: 1.48;
}

.home-page .hero-footer p,
.home-page .work-item p,
.home-page .about-copy {
  color: #31404a;
}

.home-page .expertise-track span {
  color: #1c2a35;
}

.home-page .sample-card {
  background: transparent;
  box-shadow: none;
}

.text-link,
.contact-link {
  font-size: 15px;
  font-weight: 600;
}

.work {
  display: grid;
  gap: 28px;
}

.work h2.section-kicker {
  font-size: 13px;
  line-height: 1.2;
}

.work-list {
  display: grid;
  margin-top: 12px;
}

.work-item a {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) minmax(220px, 360px);
  gap: 34px;
  align-items: center;
  padding: 34px 0;
  border-bottom: 1px solid var(--line-strong);
  transition: color 180ms ease, transform 180ms ease;
}

.work-item a:hover {
  color: #ffffff;
  transform: translateX(10px);
}

.home-page .work-item a:hover {
  color: var(--purple-hover);
}

.work-item:last-child a {
  border-bottom: 0;
}

.work-item h3 {
  font-family: var(--serif);
  font-size: clamp(32px, 4.3vw, 60px);
  font-style: italic;
  font-weight: 300;
  line-height: 0.98;
}

.work-item p {
  color: #b6b0a6;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 400;
}

.sample-strip {
  width: 100vw;
  display: grid;
  gap: 18px;
  margin-top: 0;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
}

.sample-track {
  display: flex;
  width: max-content;
  gap: 22px;
  animation: sample-flow 38s linear infinite;
}

.sample-track:hover {
  animation-play-state: paused;
}

.sample-card {
  width: min(64vw, 640px);
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
  border: 0;
  border-radius: 6px;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}

.sample-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

@keyframes sample-flow {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

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

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: 70px;
  margin-top: 34px;
}

.about h2 {
  font-size: clamp(30px, 4vw, 58px);
  line-height: 1.02;
  font-weight: 600;
}

.about h2 span,
.about h2 em {
  display: block;
}

.about h2 em {
  max-width: 640px;
  font-family: var(--serif);
  font-size: 0.98em;
  font-style: italic;
  font-weight: 200;
  line-height: 1;
}

.about h2 span {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 400;
}

.about-copy {
  display: grid;
  gap: 22px;
  color: #c7c2b8;
  font-size: 17px;
  line-height: 1.55;
}

.expertise {
  width: 100%;
  padding: 72px 0 22px;
  overflow: hidden;
}

.expertise-marquee {
  overflow: hidden;
  width: 100%;
}

.expertise-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: expertise-flow 38s linear infinite;
}

.expertise-track:hover {
  animation-play-state: paused;
}

.expertise-track span {
  flex: 0 0 auto;
  padding: 0 18px;
  color: #d9d3c8;
  font-size: clamp(24px, 3vw, 44px);
  font-weight: 300;
  line-height: 1.05;
  white-space: nowrap;
}

.expertise-track span::after {
  content: "/";
  margin-left: 36px;
  color: var(--muted);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 200;
}

@keyframes expertise-flow {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.contact {
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.contact h2 {
  max-width: 860px;
  margin: 34px 0 42px;
  font-size: clamp(36px, 5vw, 72px);
  font-style: normal;
  font-weight: 600;
  line-height: 0.98;
}

.contact h2 span,
.contact h2 em {
  display: block;
}

.contact h2 span {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 400;
}

.contact h2 em {
  max-width: 760px;
  font-family: var(--serif);
  font-size: 0.98em;
  font-style: italic;
  font-weight: 200;
  line-height: 1;
}

.contact-options {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 42px;
  margin-top: 34px;
}

.contact-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(7, 18, 28, 0.92);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-frame {
  width: min(1100px, 92vw);
  display: grid;
  gap: 16px;
}

.lightbox-art {
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  background: #111;
}

.lightbox-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox-frame p {
  color: #f4f1ea;
  font-size: 15px;
  font-weight: 600;
}

.lightbox-close {
  position: fixed;
  top: 24px;
  right: 28px;
  border: 0;
  background: transparent;
  color: #f4f1ea;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.case-page .site-header {
  border-bottom: 1px solid rgba(244, 241, 234, 0.08);
}

.case-hero {
  min-height: auto;
  display: grid;
  align-content: center;
  gap: 26px;
  padding-top: 112px;
  padding-bottom: 126px;
}

.case-back {
  margin-bottom: 24px;
}

.karitro-hero .case-back {
  display: block;
  margin-bottom: 48px;
}

.case-hero h1 {
  max-width: 860px;
  font-size: clamp(48px, 6vw, 88px);
}

.case-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 540px) minmax(260px, 340px);
  gap: 86px;
  align-items: start;
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

.case-hero-grid > p {
  color: #d5d0c7;
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 300;
  line-height: 1.42;
}

.case-meta {
  display: grid;
  gap: 18px;
  margin: 0;
}

.case-meta div {
  display: grid;
  gap: 5px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.case-meta dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.case-meta dd {
  margin: 0;
  color: #d9d3c8;
  font-size: 15px;
  line-height: 1.42;
}

.case-image-band {
  width: 100%;
  overflow: hidden;
}

.image-zoom {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
}

.image-zoom img {
  display: block;
  width: 100%;
  height: auto;
}

.case-hero-image,
.case-wide-image {
  background: #0b1824;
}

.case-hero-image img,
.case-wide-image img {
  width: 100%;
  max-height: 860px;
  object-fit: cover;
}

.case-section {
  display: grid;
  gap: 30px;
  border-top: 1px solid var(--line);
}

.case-split {
  grid-template-columns: minmax(120px, 220px) minmax(0, 1fr);
  gap: 72px;
}

.case-section h2 {
  max-width: 920px;
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 78px);
  font-weight: 400;
  line-height: 0.98;
}

.case-copy {
  max-width: 720px;
  display: grid;
  gap: 20px;
  margin-top: 34px;
  color: #c7c2b8;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.58;
}

.case-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  border-top: 0;
  padding-top: 0;
}

.case-gallery-large {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-top: 20px;
}

.case-image-card {
  overflow: hidden;
  border-radius: 6px;
  background: #101c28;
}

.case-image-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 400ms ease;
}

.case-image-card:hover img {
  transform: scale(1.025);
}

.case-goals {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.case-goals article,
.case-outcomes article {
  min-height: 180px;
  display: grid;
  align-content: end;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #0b0b0a;
}

.case-goals h3,
.process-list h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.04;
}

.case-goals p,
.case-outcomes p,
.process-list p {
  color: #b6b0a6;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.48;
}

.case-process {
  grid-template-columns: minmax(120px, 220px) minmax(0, 1fr);
  gap: 72px;
}

.process-list {
  display: grid;
  gap: 0;
}

.process-list article {
  display: grid;
  grid-template-columns: 58px minmax(160px, 280px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.process-list article:first-child {
  padding-top: 0;
}

.process-list span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.case-outcomes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.case-outcomes strong {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
}

.case-next {
  border-top: 1px solid var(--line);
  padding-top: 48px;
  padding-bottom: 48px;
}

.case-snaps {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  border-top: 1px solid rgba(244, 241, 234, 0.16);
  background: #07121c;
  color: #f4f1ea;
  overflow: hidden;
}

.case-page .case-snaps {
  max-width: none;
  padding: 70px 0 64px;
}

.case-step-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  width: min(760px, calc(100% - 64px));
  margin: 0 auto;
  border: 1px solid rgba(244, 241, 234, 0.22);
  background: rgba(244, 241, 234, 0.22);
}

.case-step-nav a {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 118px;
  padding: 20px 28px;
  color: #f4f1ea;
  background: #07121c;
  text-decoration: none;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.case-step-nav a > span:not(.case-step-arrow) {
  display: grid;
  gap: 8px;
  line-height: 1.15;
}

.case-step-nav em {
  display: block;
  color: #8f969b;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.case-step-arrow {
  color: #cde6f9;
  font-family: var(--serif);
  font-size: clamp(72px, 7vw, 104px);
  font-weight: 200;
  line-height: 1;
  transform: translateY(-3px);
}

.case-snaps-title {
  width: min(1160px, calc(100% - 64px));
  margin: 54px auto 0;
  color: #cde6f9;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.case-snaps .sample-strip {
  width: 100vw;
  margin-top: 28px;
  margin-left: calc(50% - 50vw);
}

/* Karitro case study */
.karitro-page {
  --kar-dark: #07121c;
  --kar-panel: #111b27;
  --kar-light: #f4f1ea;
  --kar-line: rgba(244, 241, 234, 0.16);
  --kar-line-light: rgba(7, 18, 28, 0.14);
  --kar-accent: #cdb8ff;
  --kar-accent-light: #8f789a;
  background: var(--kar-dark);
  color: var(--kar-light);
}

.karitro-page .site-header {
  width: 100%;
  max-width: none;
  background: rgba(7, 18, 28, 0.92);
}

.karitro-page .section-kicker {
  color: var(--kar-accent);
}

.karitro-hero {
  position: relative;
  max-width: none;
  padding-top: 128px;
  background: linear-gradient(180deg, #07121c 0%, #0d1924 100%);
  overflow: hidden;
}

.karitro-hero > * {
  position: relative;
  width: min(1160px, calc(100% - 144px));
  margin-left: auto;
  margin-right: auto;
}

.karitro-hero h1 {
  max-width: none;
  margin-top: 42px;
  color: #f4f1ea;
  font-family: var(--serif);
  font-size: clamp(62px, 9vw, 128px);
  font-weight: 400;
  line-height: 0.92;
}

.karitro-hero h1 em {
  display: block;
  color: var(--kar-accent);
  font-size: 0.5em;
  font-style: italic;
  font-weight: 200;
  line-height: 1.05;
}

.karitro-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: clamp(36px, 8vw, 116px);
  margin-top: 54px;
  padding-top: 34px;
  border-top: 1px solid var(--kar-line);
}

.karitro-hero-grid p,
.karitro-two-col p,
.karitro-lede {
  color: rgba(244, 241, 234, 0.82);
  font-size: 18px;
  line-height: 1.55;
}

.karitro-hero-grid dl {
  display: grid;
  gap: 18px;
  margin: 0;
}

.karitro-hero-grid div {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--kar-line);
}

.karitro-hero-grid dt {
  color: var(--kar-accent);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.karitro-hero-grid dd {
  margin: 8px 0 0;
  color: #f4f1ea;
  font-size: 16px;
}

.karitro-hero-image,
.karitro-wide-image,
.karitro-key-image,
.karitro-image-grid .image-zoom,
.karitro-hi-fi .image-zoom {
  display: block;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: zoom-in;
}

.karitro-hero-image {
  margin-top: 76px;
  background: #ffffff;
}

.karitro-hero-image img,
.karitro-wide-image img,
.karitro-key-image img,
.karitro-image-grid img,
.karitro-hi-fi img {
  display: block;
  width: 100%;
  height: auto;
}

.karitro-light,
.karitro-dark {
  max-width: none;
}

.karitro-light {
  background: var(--kar-light);
  color: #07121c;
}

.karitro-light h2 {
  color: #07121c;
}


.karitro-dark {
  background: var(--kar-dark);
  color: var(--kar-light);
}

.karitro-light > *,
.karitro-dark > * {
  width: min(1160px, calc(100% - 144px));
  margin-left: auto;
  margin-right: auto;
}

.karitro-light h2,
.karitro-dark h2 {
  margin-top: 24px;
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 86px);
  font-weight: 400;
  line-height: 0.96;
}

.karitro-light h2 + *,
.karitro-dark h2 + * {
  margin-top: 42px;
}

.karitro-light p {
  color: #26343d;
}

.karitro-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 6vw, 88px);
  margin-top: 42px;
}

.karitro-two-col p,
.karitro-light .karitro-lede {
  color: #26343d;
}

.karitro-wide-image,
.karitro-key-image {
  margin-top: 56px;
}

.karitro-starting-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 56px;
}

.karitro-starting-grid .image-zoom {
  display: block;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: zoom-in;
}

.karitro-starting-grid img {
  display: block;
  width: 100%;
  height: auto;
}

.karitro-role-grid,
.karitro-three-col {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 54px;
  border: 1px solid var(--kar-line);
  background: var(--kar-line);
}

.karitro-role-grid article,
.karitro-three-col article {
  min-height: 180px;
  padding: 28px;
  background: var(--kar-panel);
}

.karitro-three-col article {
  background: #ffffff;
}

.karitro-role-grid h3,
.karitro-three-col h3,
.karitro-beta-grid h3,
.karitro-hi-fi h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

.karitro-role-grid p,
.karitro-beta-grid p {
  margin-top: 14px;
  color: rgba(244, 241, 234, 0.74);
  line-height: 1.5;
}

.karitro-three-col p {
  margin-top: 14px;
  color: #26343d;
  line-height: 1.5;
}

.karitro-image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 54px;
}

.karitro-prototype-grid {
  grid-template-columns: 1fr;
}

.karitro-testing-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.karitro-image-grid img {
  height: auto;
}

.karitro-affinity-map {
  display: block;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: zoom-in;
  margin-top: 36px;
}

.karitro-affinity-map img {
  display: block;
  width: 100%;
  height: auto;
}

.karitro-proto-flow {
  display: block;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: zoom-in;
  margin-top: 48px;
}

.karitro-proto-flow img {
  display: block;
  width: 100%;
  height: auto;
}

.karitro-proto-sessions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.karitro-proto-sessions .image-zoom {
  display: block;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: zoom-in;
}

.karitro-proto-sessions img {
  display: block;
  width: 100%;
  height: auto;
}

.karitro-wireframes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.karitro-wireframes-grid .image-zoom {
  display: block;
  overflow: hidden;
  padding: 0;
  border-radius: 8px;
  cursor: zoom-in;
}

.karitro-wireframes-grid img {
  display: block;
  width: 100%;
  height: auto;
}

.karitro-lede {
  margin-top: 34px;
}

.karitro-hi-fi,
.karitro-beta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 54px;
}

.karitro-hi-fi article {
  display: grid;
  gap: 18px;
}

.karitro-hi-fi h3 {
  color: #07121c;
}

.karitro-system-bridge .text-link {
  display: inline-block;
  margin-top: 28px;
  font-size: 20px;
  font-weight: 600;
  color: var(--kar-accent-light);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.karitro-hi-fi-statline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 54px;
  margin-bottom: 54px;
  border: 1px solid var(--kar-line-light);
  background: var(--kar-line-light);
}

.karitro-hi-fi-statline article {
  padding: 34px 28px;
  background: var(--kar-light);
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
}

.karitro-hi-fi-statline strong {
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 400;
  color: var(--kar-accent-light);
}

.karitro-hi-fi-statline span {
  color: #4a5568;
  font-size: 14px;
  line-height: 1.4;
}

.karitro-statline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 50px;
  border: 1px solid var(--kar-line);
  background: var(--kar-line);
}

.karitro-statline span {
  padding: 24px;
  background: var(--kar-panel);
  color: var(--kar-accent);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.karitro-beta-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.karitro-beta-grid article {
  display: grid;
  gap: 18px;
}

.karitro-beta-grid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 24px;
}

.karitro-beta-items {
  display: flex;
  flex-direction: column;
  gap: 72px;
  margin-top: 56px;
}

.karitro-beta-item {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.karitro-beta-item img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.karitro-beta-intro {
  margin-top: 28px;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(244, 241, 234, 0.82);
}

.karitro-alignment-box {
  background: #e8e4dc;
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.karitro-alignment-box .karitro-image-label {
  margin: 0;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #5a4f6b;
}

.karitro-alignment-box img {
  display: block;
  width: 72%;
  height: auto;
  border-radius: 8px;
}

.karitro-ui-screenshot {
  border-radius: 16px;
  overflow: hidden;
  background: #2d3c52;
}

.karitro-ui-screenshot img {
  display: block;
  width: 100%;
  height: auto;
}

.karitro-beta-subtitle {
  margin-top: 56px;
  color: var(--kar-accent);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.karitro-beta-tag {
  display: block;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.karitro-beta-tag.problem-tag {
  color: rgba(244, 241, 234, 0.5);
}

.karitro-beta-tag.solution-tag {
  color: var(--kar-accent);
  margin-top: 24px;
}

.karitro-beta-grid h3 {
  margin: 8px 0 0;
}

.karitro-beta-grid .karitro-beta-desc {
  margin-top: 8px;
}

.karitro-three-col ul {
  margin: 12px 0 0;
  padding-left: 20px;
  line-height: 1.7;
}

.karitro-three-col li {
  margin-top: 4px;
  color: #26343d;
}

.karitro-ci-intro {
  margin-bottom: 0;
}

.karitro-system-bridge .text-link {
  display: inline-block;
  margin-top: 32px;
  font-size: 18px;
  font-weight: 600;
}

.karitro-key-image img {
  max-height: 760px;
  object-fit: contain;
}

.karitro-reflection {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(34px, 7vw, 92px);
  align-items: center;
}

.karitro-reflection > * {
  width: auto;
  margin-left: 0;
  margin-right: 0;
}

.karitro-reflection p:not(.section-kicker) {
  margin-top: 28px;
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 300;
  line-height: 1.15;
}

.karitro-page .karitro-reflection.section-pad {
  padding-left: max(72px, calc((100% - 1160px) / 2));
  padding-right: max(72px, calc((100% - 1160px) / 2));
}

.karitro-reflection h2 {
  margin: 0 0 24px;
  color: var(--kar-accent);
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 86px);
  font-weight: 400;
  line-height: 0.96;
  text-transform: none;
  letter-spacing: normal;
}

.karitro-reflection figure {
  margin: 0;
}

.karitro-reflection img {
  display: block;
  width: 100%;
  border-radius: 50%;
}

/* MyMass case study */
.mymass-page {
  --mm-dark: #111720;
  --mm-dark-2: #07121c;
  --mm-light: #f4f1ea;
  --mm-ink: #07121c;
  --mm-soft: rgba(244, 241, 234, 0.72);
  --mm-muted: #8f969b;
  --mm-line-dark: rgba(244, 241, 234, 0.18);
  --mm-line-light: rgba(7, 18, 28, 0.14);
  --mm-accent: #cde6f9;
  --mm-accent-light: #557b90;
  background: var(--mm-dark-2);
  color: var(--mm-light);
}

.mymass-page .site-header {
  width: 100%;
  max-width: none;
  background: rgba(7, 18, 28, 0.9);
}

.mymass-page .case-hero {
  background: var(--mm-dark-2);
}

.mymass-hero h1 {
  max-width: 1020px;
  font-family: var(--serif);
  font-size: clamp(56px, 7vw, 108px);
  font-weight: 400;
  line-height: 0.9;
}

.mymass-hero h1 span,
.mymass-hero h1 em {
  display: block;
}

.mymass-hero h1 em {
  max-width: 860px;
  color: #cde6f9;
  font-size: 40pt;
  line-height: 1.02;
  font-style: italic;
  font-weight: 200;
}

.mymass-hero-photo {
  margin-top: 42px;
  overflow: hidden;
  border-radius: 8px;
  background: #111720;
}

.mymass-hero-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.mymass-hero-visual {
  display: grid;
  grid-template-columns: minmax(280px, 620px) minmax(180px, 1fr);
  gap: 28px;
  align-items: stretch;
  margin-top: 38px;
}

.mymass-device {
  min-height: 320px;
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(244, 241, 234, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    #17222e;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.25);
}

.mymass-device-top,
.mymass-screen-header,
.mymass-screen-actions,
.mymass-experience-rail {
  display: flex;
  align-items: center;
}

.mymass-device-top,
.mymass-screen-header {
  justify-content: space-between;
}

.mymass-device-top span {
  color: #f4f1ea;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mymass-device-top span:last-child {
  color: #8fd4b2;
}

.mymass-screen {
  display: grid;
  gap: 22px;
  padding: 24px;
  border: 1px solid rgba(244, 241, 234, 0.1);
  border-radius: 6px;
  background: #07121c;
}

.mymass-screen-header span {
  color: #dceefa;
  font-size: 15px;
  font-weight: 600;
}

.mymass-screen-header strong {
  color: var(--mm-accent);
  font-size: 14px;
  font-weight: 600;
}

.mymass-graph {
  min-height: 150px;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background:
    linear-gradient(rgba(244, 241, 234, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 241, 234, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(205, 230, 249, 0.08), rgba(199, 122, 73, 0.08));
  background-size: 100% 38px, 56px 100%, 100% 100%;
}

.mymass-graph::before {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  bottom: 25%;
  height: 46%;
  border: 2px solid #cde6f9;
  border-color: #cde6f9 transparent transparent transparent;
  border-radius: 50% 50% 0 0;
  transform: skewX(-18deg);
}

.mymass-graph span {
  position: absolute;
  bottom: 20%;
  width: 5px;
  border-radius: 99px 99px 0 0;
  background: var(--mm-accent);
}

.mymass-graph span:nth-child(1) {
  left: 22%;
  height: 42%;
}

.mymass-graph span:nth-child(2) {
  left: 42%;
  height: 64%;
}

.mymass-graph span:nth-child(3) {
  left: 58%;
  height: 34%;
}

.mymass-graph span:nth-child(4) {
  left: 74%;
  height: 52%;
}

.mymass-screen-actions {
  gap: 12px;
}

.mymass-screen-actions span {
  flex: 1;
  min-width: 0;
  padding: 13px 10px;
  border: 1px solid rgba(244, 241, 234, 0.14);
  border-radius: 4px;
  color: #f4f1ea;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
}

.mymass-screen-actions span:last-child {
  border-color: var(--mm-accent);
  background: var(--mm-accent);
  color: #07121c;
}

.mymass-experience-rail {
  flex-wrap: wrap;
  align-content: center;
  gap: 12px;
  padding: 28px;
  border: 1px solid rgba(244, 241, 234, 0.12);
  border-radius: 8px;
  background: rgba(244, 241, 234, 0.04);
}

.mymass-experience-rail span {
  width: 100%;
  padding: 14px 0;
  border-bottom: 1px solid rgba(244, 241, 234, 0.16);
  color: #d5d0c7;
  font-family: var(--serif);
  font-size: clamp(23px, 2.5vw, 34px);
  font-style: italic;
  font-weight: 300;
  line-height: 1;
}

.mymass-experience-rail span:last-child {
  border-bottom: 0;
  color: var(--mm-accent);
}

.mymass-wrap {
  width: min(100% - 144px, 1180px);
  margin: 0 auto;
}

.mymass-dark,
.mymass-light {
  padding: clamp(86px, 10vw, 150px) 0;
}

.mymass-dark {
  background: var(--mm-dark);
  color: var(--mm-light);
}

.mymass-light {
  background: var(--mm-light);
  color: var(--mm-ink);
}

.mymass-kicker {
  display: none;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  color: var(--mm-muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.mymass-light .mymass-kicker {
  color: #6d767d;
}

.mymass-kicker::before {
  content: "";
  width: 38px;
  height: 1px;
  background: currentColor;
}

.mymass-page h2 {
  max-width: 980px;
  font-family: var(--serif);
  font-size: clamp(44px, 6vw, 84px);
  font-weight: 400;
  line-height: 0.98;
}

.mymass-page h2 em {
  color: var(--mm-accent);
  font-style: italic;
  font-weight: 200;
}

.mymass-page h2 span {
  display: block;
}

.mymass-page h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.18;
}

.mymass-page p,
.mymass-page li,
.mymass-page small {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.58;
}

.mymass-dark p {
  color: var(--mm-soft);
}

.mymass-light p {
  color: #21313d;
}

.mymass-lede {
  max-width: 720px;
  margin-top: 26px;
}

.mymass-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(34px, 7vw, 96px);
  max-width: 1020px;
  margin-top: 36px;
}

.mymass-touchpoints,
.mymass-card-grid,
.mymass-phase-grid,
.mymass-testing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 54px;
  border: 1px solid var(--mm-line-dark);
  background: var(--mm-line-dark);
}

.mymass-touchpoints article,
.mymass-card-grid article,
.mymass-phase-grid article,
.mymass-testing article {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 190px;
  padding: 30px;
  background: var(--mm-dark);
}

.mymass-light .mymass-card-grid,
.mymass-light .mymass-phase-grid,
.mymass-light .mymass-testing,
.mymass-light .mymass-rule-grid {
  border-color: var(--mm-line-light);
  background: var(--mm-line-light);
}

.mymass-light .mymass-card-grid article,
.mymass-light .mymass-phase-grid article,
.mymass-light .mymass-testing article {
  background: #efebe4;
}

.mymass-role-process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid rgba(205, 230, 249, 0.42);
}

.mymass-role-process article {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 44px 24px 0 0;
}

.mymass-role-process article::before {
  display: none;
}

.mymass-role-process span {
  margin-bottom: 12px;
  color: #f4f1ea;
  font-size: clamp(22px, 2.3vw, 34px);
  font-weight: 600;
  line-height: 1.08;
}

.mymass-role-process p {
  color: var(--mm-soft);
  font-size: 15px;
  line-height: 1.35;
}

.mymass-role-collab {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 72px;
  border: 1px solid var(--mm-line-dark);
  background: var(--mm-line-dark);
}

.mymass-role-collab > div,
.mymass-role-collab article {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 190px;
  padding: 28px;
  background: var(--mm-dark);
}

.mymass-role-collab > div {
  grid-column: span 3;
  min-height: 0;
  background: #162434;
}

.mymass-role-collab > div h3 {
  max-width: none;
  width: 100%;
  color: #f4f1ea;
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 36px);
  font-style: italic;
  font-weight: 300;
}

.mymass-role-collab h3 {
  color: #cde6f9;
}

.mymass-discovery .mymass-card-grid article,
.mymass-journey .mymass-phase-grid article,
.mymass-changes .mymass-card-grid article,
.mymass-tradeoffs .mymass-card-grid article,
.mymass-testing-section .mymass-testing article {
  background: #ffffff;
}

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

.mymass-changes-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mymass-card-grid h3 {
  color: var(--mm-accent);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.mymass-light .mymass-card-grid h3,
.mymass-light .mymass-phase-grid article span,
.mymass-light .mymass-testing h3,
.mymass-light .mymass-kicker,
.mymass-light .mymass-journey-accordion summary span,
.mymass-light .mymass-journey-table h3 {
  color: var(--mm-accent-light);
}

.mymass-card-grid p {
  margin-top: -4px;
  padding-top: 14px;
  border-top: 1px solid var(--mm-line-light);
}

.mymass-statline,
.mymass-output-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 58px;
  border-top: 1px solid var(--mm-line-light);
  border-bottom: 1px solid var(--mm-line-light);
}

.mymass-statline article,
.mymass-output-grid article {
  display: grid;
  gap: 8px;
  padding: 34px 28px;
  border-right: 1px solid var(--mm-line-light);
}

.mymass-statline article:last-child,
.mymass-output-grid article:last-child {
  border-right: 0;
}

.mymass-statline strong,
.mymass-output-grid strong {
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 400;
  line-height: 0.95;
}

.mymass-statline span,
.mymass-output-grid span {
  color: #52616b;
  font-size: 14px;
  line-height: 1.4;
}

.mymass-output-grid {
  border-color: var(--mm-line-dark);
}

.mymass-output-grid article {
  border-right-color: var(--mm-line-dark);
}

.mymass-output-grid strong {
  color: var(--mm-accent);
}

.mymass-output-grid span {
  color: var(--mm-soft);
}

.mymass-carousel {
  width: 100vw;
  margin-top: 54px;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
}

.mymass-carousel-head {
  width: min(100% - 144px, 1180px);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 18px;
}

.mymass-carousel-head p {
  color: var(--mm-soft);
  font-size: 15px;
  font-weight: 600;
}

.mymass-carousel-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: mymass-carousel-flow 54s linear infinite;
}

.mymass-carousel-track:hover {
  animation-play-state: paused;
}

.mymass-carousel-slide {
  flex: 0 0 min(78vw, 860px);
  overflow: hidden;
  border-radius: 8px;
  background: #07121c;
}

.mymass-carousel-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #07121c;
}

@keyframes mymass-carousel-flow {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.mymass-number-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 72px;
  margin-top: 62px;
}

.mymass-number-grid article {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 26px;
  padding: 30px 0 52px;
  border-top: 1px solid var(--mm-line-dark);
}

.mymass-number-grid span {
  color: var(--mm-accent);
  font-family: var(--serif);
  font-size: 24px;
  font-style: italic;
}

.mymass-number-grid h3,
.mymass-number-grid p {
  grid-column: 2;
}

.mymass-number-grid h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
}

.mymass-vision blockquote {
  max-width: 980px;
  margin: 28px 0 0;
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 46px);
  font-weight: 400;
  line-height: 1.18;
}

.mymass-vision em {
  color: var(--mm-accent);
  font-style: italic;
  font-weight: 200;
}

.mymass-vision-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
}

.mymass-vision-sketch {
  width: 100%;
  min-height: 0;
  margin-top: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: zoom-in;
}

.mymass-page .mymass-vision-sketch {
  background: transparent;
}

.mymass-vision-sketch img {
  aspect-ratio: 1 / 0.78;
}

.mymass-phase-grid article span {
  color: var(--mm-accent);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.mymass-phase-grid small {
  color: #52616b;
}

.mymass-journey-accordion {
  display: grid;
  gap: 16px;
  margin-top: 48px;
}

.mymass-journey-accordion details {
  border: 1px solid var(--mm-line-light);
  background: #ffffff;
}

.mymass-journey-accordion summary {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 24px 28px;
  cursor: pointer;
  list-style: none;
}

.mymass-journey-accordion summary::-webkit-details-marker {
  display: none;
}

.mymass-journey-accordion summary::after {
  content: "+";
  color: #07121c;
  font-size: 34px;
  line-height: 1;
}

.mymass-journey-accordion details[open] summary::after {
  content: "-";
}

.mymass-journey-accordion summary span {
  color: #6d767d;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.mymass-journey-accordion summary strong {
  flex: 1;
  color: #07121c;
  font-family: var(--serif);
  font-size: clamp(30px, 3.8vw, 56px);
  font-weight: 400;
  line-height: 1;
}

.mymass-journey-table {
  overflow-x: auto;
  border-top: 1px solid var(--mm-line-light);
}

.mymass-journey-head,
.mymass-journey-table article {
  display: grid;
  grid-template-columns: minmax(120px, 0.9fr) repeat(5, minmax(150px, 1fr)) minmax(230px, 1.5fr);
  min-width: 1180px;
}

.mymass-journey-head {
  background: #eef3f6;
}

.mymass-journey-head span {
  padding: 14px 16px;
  color: #52616b;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mymass-journey-table article:nth-child(odd) {
  background: #f8fafb;
}

.mymass-journey-table article h3,
.mymass-journey-table article p {
  padding: 18px 16px;
  border-top: 1px solid rgba(7, 18, 28, 0.08);
}

.mymass-journey-table article h3 {
  color: #07121c;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.mymass-journey-table article p {
  color: #21313d;
  font-size: 13px;
  line-height: 1.42;
}

.mymass-flow-example {
  display: block;
  margin-top: 46px;
  overflow-x: auto;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  text-align: inherit;
}

.mymass-flow-example img {
  display: block;
  min-width: 1120px;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.mymass-wireframe-board {
  margin-top: 28px;
}

.mymass-persona-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 54px;
}

.mymass-persona-card {
  overflow: hidden;
  border-radius: 8px;
  background: #ffffff;
}

.mymass-persona-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 400ms ease;
}

.mymass-usability-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.mymass-usability-gallery .image-zoom {
  overflow: hidden;
  border-radius: 8px;
  background: #000;
}

.mymass-usability-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 400ms ease;
}

.mymass-usability-gallery .image-zoom:hover img {
  transform: scale(1.025);
}

.mymass-persona-card:hover img {
  transform: scale(1.025);
}

.mymass-sketch-card {
  min-height: 360px;
  display: grid;
  place-items: center;
  padding: 0;
  overflow: hidden;
  background: #000;
}

.mymass-sketch-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.mymass-industrial-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.mymass-industrial-gallery .image-zoom {
  min-height: 280px;
  overflow: hidden;
  border-radius: 8px;
  background: #07121c;
}

.mymass-industrial-gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 400ms ease;
}

.mymass-industrial-gallery .mymass-sketch-card img {
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.mymass-industrial-gallery .image-zoom:hover img {
  transform: scale(1.025);
}

.mymass-rule-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 58px;
  border-top: 1px solid var(--mm-line-dark);
  border-bottom: 1px solid var(--mm-line-dark);
}

.mymass-rule-grid article {
  min-height: 180px;
  padding: 34px;
  border-right: 1px solid var(--mm-line-dark);
}

.mymass-rule-grid article:last-child {
  border-right: 0;
}

.mymass-rule-grid h3 {
  color: #f4f1ea;
  font-family: var(--serif);
  font-size: 26px;
  font-style: italic;
  font-weight: 300;
}

.mymass-light .mymass-rule-grid article {
  background: #ffffff;
  border-right-color: var(--mm-line-light);
}

.mymass-light .mymass-rule-grid h3 {
  color: #07121c;
}

.mymass-light .mymass-rule-grid p {
  color: #21313d;
}

.mymass-light .mymass-rule-grid {
  border-top-color: var(--mm-line-light);
  border-bottom-color: var(--mm-line-light);
}

.mymass-touchscreen h2,
.mymass-touchscreen p,
.mymass-touchscreen .mymass-lede,
.mymass-touchscreen .mymass-rule-grid h3,
.mymass-touchscreen .mymass-rule-grid p {
  color: #07121c;
}

.mymass-touchscreen .mymass-rule-grid {
  align-items: stretch;
  grid-template-columns: 1fr;
  margin-top: 0;
}

.mymass-touchscreen-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.9fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: stretch;
  margin-top: 44px;
}

.mymass-touchscreen-photo {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: zoom-in;
}

.mymass-touchscreen-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
  object-position: center;
}

.mymass-touchscreen .mymass-rule-grid article {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 0;
  padding: 30px;
  border-right: 0;
  border-bottom: 1px solid var(--mm-line-light);
}

.mymass-touchscreen .mymass-rule-grid article:last-child {
  border-bottom: 0;
}

.mymass-touchscreen .mymass-rule-grid h3 {
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.12;
}

.mymass-touchscreen .mymass-rule-grid p {
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.35;
}

.mymass-principle-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 1060px;
  margin-top: 52px;
}

.mymass-principle-list span {
  padding: 18px 22px;
  border: 1px solid rgba(7, 18, 28, 0.1);
  background: #ffffff;
  color: #21313d;
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 400;
  line-height: 1.12;
}

.mymass-outcome-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 56px;
  border-top: 1px solid var(--mm-line-dark);
  border-bottom: 1px solid var(--mm-line-dark);
}

.mymass-outcome-strip article {
  min-height: 210px;
  padding: 36px 28px;
  border-right: 1px solid var(--mm-line-dark);
}

.mymass-outcome-strip article:last-child {
  border-right: 0;
}

.mymass-outcome-strip strong {
  font-family: var(--serif);
  font-size: clamp(58px, 7vw, 96px);
  font-weight: 400;
  line-height: 0.92;
}

.mymass-outcome-strip em {
  display: block;
  max-width: 180px;
  margin-top: 12px;
  color: var(--mm-accent);
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.25;
}

.mymass-outcomes blockquote {
  max-width: 720px;
  font-family: var(--serif);
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 400;
  line-height: 1.08;
}

.mymass-outcomes blockquote em {
  color: var(--mm-accent);
  font-style: italic;
  font-weight: 200;
}

.mymass-attribution {
  margin-top: 26px;
  color: var(--mm-muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.mymass-success {
  width: 100%;
  max-width: none;
  margin-top: 74px;
  font-family: var(--serif);
  font-size: 40pt;
  font-style: italic;
  font-weight: 200;
  line-height: 1.04;
}

.mymass-success span {
  display: block;
  margin-bottom: 18px;
  color: var(--mm-accent);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.mymass-light .mymass-success {
  color: #07121c;
}

.mymass-light .mymass-success span {
  color: var(--mm-accent-light);
}

.mymass-page .mymass-success {
  width: 100%;
  max-width: none;
  color: #07121c;
  font-family: var(--serif);
  font-size: 40pt;
  font-style: italic;
  font-weight: 200;
  line-height: 1.04;
}

.mymass-reflection-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
}

.mymass-reflection p {
  max-width: 780px;
  margin-top: 28px;
  font-size: 24pt;
  line-height: 1.18;
}

.mymass-reflection-copy p:first-child {
  margin-top: 0;
}

.mymass-reflection p + p {
  margin-top: 18px;
}

.mymass-reflection-photo {
  margin: 0;
}

.mymass-reflection-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.ds-wrap {
  width: min(1040px, calc(100% - 112px));
  margin: 0 auto;
}

.ds-light {
  background: linear-gradient(115deg, #ffffff 0%, #eef2f4 58%, #dce4e9 100%);
  color: #0c1d2a;
}

.ds-dark {
  background: #07121e;
  color: #f4f1ea;
}

.ds-mid {
  background: #22313e;
  color: #f4f1ea;
}

.ds-challenges {
  padding: 112px 0 128px;
}

.ds-intro {
  max-width: 800px;
  margin: 0 auto;
  color: #0f5f8e;
  font-size: clamp(19px, 2vw, 25px);
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.36;
  text-align: center;
}

.ds-challenges h2,
.ds-process h2 {
  margin-top: 104px;
  color: #f16522;
  background: var(--orange-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--serif);
  font-size: clamp(38px, 4.6vw, 64px);
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

.ds-challenges h2 {
  font-size: clamp(58px, 7vw, 92px);
  font-style: normal;
  font-weight: 400;
}

.ds-challenge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  margin-top: 82px;
}

.ds-challenge-grid article {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

.ds-challenge-grid span {
  display: none;
  color: #f16522;
  background: var(--orange-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(92px, 10vw, 150px);
  font-weight: 500;
  line-height: 0.82;
}

.ds-challenge-grid p {
  color: #101d29;
  font-size: clamp(17px, 1.35vw, 21px);
  font-weight: 400;
  line-height: 1.46;
}

.ds-challenge-grid p + p,
.ds-challenge-grid .image-zoom + p {
  margin-top: 44px;
}

.ds-inline-image {
  max-width: 340px;
  margin-top: 42px;
}

.ds-colour-shift {
  max-width: 280px;
  margin: 44px auto 0;
}

.ds-colour-shift img {
  display: block;
  width: 100%;
  height: auto;
}

.ds-goals {
  padding: 118px 0 138px;
  background: #22313e;
}

.ds-goals h2,
.ds-decisions h2,
.ds-documentation h2,
.ds-outcomes h2,
.ds-overcome h2 {
  color: #f6921e;
  background: var(--orange-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--serif);
  font-size: clamp(46px, 5.8vw, 78px);
  font-weight: 400;
  line-height: 1.05;
  text-align: center;
}

.ds-process h2 {
  font-size: clamp(46px, 5.8vw, 78px);
}

.ds-challenges h2 em,
.ds-process h2 em,
.ds-goals h2 em,
.ds-decisions h2 em,
.ds-documentation h2 em,
.ds-outcomes h2 em,
.ds-overcome h2 em,
.ds-final h2 em {
  font-style: italic;
  font-weight: 200;
}

.ds-goal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 52px;
  margin-top: 84px;
}

.ds-goal-grid article {
  min-height: 210px;
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 34px;
  border-radius: 22px;
  background: #07121e;
  text-align: center;
}

.ds-goal-grid h3 {
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 600;
}

.ds-goal-grid p {
  color: #f4f1ea;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.42;
}

.ds-decisions {
  padding: 126px 0 156px;
}

.ds-decision {
  max-width: 940px;
  margin: 112px auto 0;
  text-align: center;
}

.ds-icon {
  margin-bottom: 36px;
  color: #f6921e;
  background: var(--orange-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(70px, 9vw, 140px);
  font-weight: 300;
  line-height: 1;
}

.ds-palette-icon,
.ds-scale-icon,
.ds-grid-icon,
.ds-svg-icon {
  width: clamp(42px, 4.5vw, 66px);
  height: clamp(42px, 4.5vw, 66px);
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.ds-palette-icon {
  display: grid;
  place-items: center;
}

.ds-palette-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ds-svg-icon {
  display: grid;
  place-items: center;
}

.ds-svg-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ds-scale-icon::before,
.ds-scale-icon::after {
  content: "";
  position: absolute;
  background: var(--orange-gradient);
}

.ds-scale-icon::before {
  left: 16%;
  right: 16%;
  top: 20%;
  height: 8px;
  border-radius: 99px;
  box-shadow: 0 72px 0 #f6921e;
}

.ds-scale-icon::after {
  left: 50%;
  top: 18%;
  width: 8px;
  height: 74%;
  transform: translateX(-50%);
  border-radius: 99px;
}

.ds-grid-icon {
  border: 0;
}

.ds-grid-icon::before {
  content: "";
  position: absolute;
  left: 8%;
  top: 8%;
  width: 34%;
  height: 34%;
  border: 8px solid transparent;
  border-image: var(--orange-gradient) 1;
  border-radius: 7px;
  box-shadow:
    58px 0 0 -8px #07121e,
    58px 0 0 0 #f6921e,
    0 58px 0 -8px #07121e,
    0 58px 0 0 #f6921e,
    58px 58px 0 -8px #07121e,
    58px 58px 0 0 #f6921e;
}

.ds-decision h3,
.ds-documentation h2 {
  color: #f4f1ea;
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 400;
}

.ds-decision p,
.ds-documentation p {
  max-width: 840px;
  margin: 28px auto 0;
  color: #f4f1ea;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.46;
}

.ds-wide-art {
  max-width: 940px;
  margin: 88px auto 0;
}

.ds-colour-art-grid {
  max-width: 940px;
  margin: 88px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 28px;
}

.ds-colour-art-grid .ds-wide-art {
  margin: 0;
}

.ds-rounded-art {
  overflow: hidden;
  border-radius: 28px;
}

.ds-icons-art img {
  max-height: 420px;
  object-fit: contain;
}

.ds-process {
  padding: 118px 0 132px;
}

.ds-process h2 {
  margin: 0 0 94px;
  text-align: center;
}

.ds-process-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 82px;
}

.ds-process-list article {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 22px;
}

.ds-process-list span {
  color: #0c1d2a;
  font-size: 30px;
  line-height: 1;
}

.ds-process-list div {
  padding-left: 22px;
  border-left: 3px solid transparent;
  border-image: var(--orange-gradient) 1;
}

.ds-process-list h3 {
  font-size: clamp(22px, 2.3vw, 32px);
  font-weight: 600;
}

.ds-process-list p,
.ds-process-list li {
  margin-top: 20px;
  color: #101d29;
  font-size: clamp(16px, 1.3vw, 21px);
  line-height: 1.46;
}

.ds-process-list ul {
  margin: 20px 0 0;
  padding-left: 24px;
}

.ds-image-only {
  background: #07121e;
}

.ds-image-only img {
  width: 100%;
  display: block;
}

.ds-documentation {
  padding: 136px 0 150px;
  text-align: center;
}

.ds-documentation h2 {
  color: #f6921e;
  background: var(--orange-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(58px, 7vw, 96px);
  font-style: italic;
  font-weight: 200;
}

.ds-documentation p {
  max-width: 880px;
  margin-top: 46px;
  font-size: clamp(16px, 1.3vw, 21px);
  line-height: 1.48;
}

.ds-documentation-shot {
  background: #f4f1ea;
  padding: 0 0 84px;
}

.ds-documentation-shot .image-zoom {
  width: min(980px, calc(100% - 112px));
  margin: 0 auto;
}

.ds-documentation-shot img {
  border-radius: 0;
}

.ds-outcomes {
  padding: 142px 0 152px;
}

.ds-outcomes h2 {
  color: #f4f1ea;
  background: none;
  -webkit-text-fill-color: #f4f1ea;
}

.ds-outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 76px;
  margin-top: 112px;
  text-align: center;
}

.ds-outcome-grid strong {
  color: #f6921e;
  background: var(--orange-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(40px, 4.8vw, 66px);
  font-weight: 700;
  line-height: 0.85;
}

.ds-outcome-grid h3 {
  margin-top: 14px;
  color: #f6921e;
  background: var(--orange-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.14;
}

.ds-outcome-grid p {
  margin-top: 24px;
  color: #f4f1ea;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.44;
}

.ds-overcome {
  padding: 136px 0 150px;
  background: #0e1a27;
}

.ds-overcome-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 82px 104px;
  margin-top: 96px;
}

.ds-overcome-grid article {
  padding-left: 22px;
  border-left: 3px solid transparent;
  border-image: var(--orange-gradient) 1;
}

.ds-overcome-grid h3 {
  font-size: clamp(17px, 1.55vw, 22px);
  font-weight: 600;
}

.ds-overcome-grid p {
  margin-top: 14px;
  color: #f4f1ea;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.44;
}

.ds-final {
  padding: 128px 0 142px;
  background: var(--orange-gradient);
  color: #ffffff;
}

.ds-final .ds-wrap {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 560px);
  gap: 88px;
  align-items: start;
}

.ds-final h2 {
  font-family: var(--serif);
  font-size: clamp(54px, 6.5vw, 92px);
  font-weight: 400;
  line-height: 0.9;
}

.ds-final h2 span,
.ds-final h2 em {
  display: block;
}

.ds-final p {
  font-size: clamp(17px, 1.45vw, 22px);
  font-weight: 600;
  line-height: 1.46;
}

.ds-final p + p {
  margin-top: 58px;
}

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 30px 32px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 480ms ease, transform 480ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .site-header {
    height: 72px;
    padding: 0 20px;
  }

  main {
    padding-top: 72px;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
    display: grid;
    align-content: center;
    gap: 7px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .nav-toggle span {
    display: block;
    height: 2px;
    background: var(--white);
  }

  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    display: none;
    padding: 28px 20px 34px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--black);
    font-size: 28px;
  }

  body.menu-open .nav {
    display: flex;
  }

  .section-pad {
    padding: 84px 20px;
  }

  .case-page .section-pad {
    padding-left: 30px;
    padding-right: 30px;
  }

  .hero {
    min-height: auto;
    padding-top: 82px;
  }

  .hero-footer,
  .work-item a,
  .about-grid,
  .case-hero-grid,
  .case-split,
  .case-process {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .work-item a:hover {
    transform: none;
  }

  .sample-card {
    width: 82vw;
  }

  .case-hero {
    min-height: auto;
    padding-top: 82px;
  }

  .case-gallery,
  .case-gallery-large,
  .case-goals,
  .case-outcomes,
  .ds-challenge-grid,
  .ds-goal-grid,
  .ds-colour-art-grid,
  .ds-outcome-grid,
  .ds-overcome-grid,
  .ds-final .ds-wrap {
    grid-template-columns: 1fr;
  }

  .process-list article {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ds-wrap {
    width: min(100% - 60px, 900px);
  }

  .ds-documentation-shot .image-zoom {
    width: min(100% - 60px, 900px);
  }

  .ds-challenges,
  .ds-goals,
  .ds-decisions,
  .ds-process,
  .ds-documentation,
  .ds-outcomes,
  .ds-overcome,
  .ds-final {
    padding-top: 72px;
    padding-bottom: 78px;
  }

  .ds-challenge-grid article,
  .ds-process-list article {
    grid-template-columns: 1fr;
  }

  .ds-process-list div {
    padding-left: 18px;
  }

  .ds-goal-grid,
  .ds-outcome-grid,
  .ds-overcome-grid {
    gap: 22px;
    margin-top: 46px;
  }

  .mymass-touchpoints,
  .mymass-card-grid,
  .mymass-phase-grid,
  .mymass-testing,
  .mymass-industrial-gallery,
  .mymass-persona-grid,
  .mymass-usability-gallery,
  .mymass-role-process,
  .mymass-role-collab {
    grid-template-columns: 1fr;
  }

  .mymass-role-process {
    gap: 26px;
    border-top: 0;
  }

  .mymass-role-process article {
    padding: 0;
  }

  .mymass-role-process article::before {
    display: none;
  }

  .mymass-role-collab > div {
    grid-column: auto;
  }

  .mymass-journey-accordion summary {
    display: grid;
    gap: 10px;
    padding: 22px;
  }

  .mymass-journey-accordion summary::after {
    position: absolute;
    right: 22px;
  }

  .mymass-two-col,
  .mymass-statline,
  .mymass-output-grid,
  .mymass-number-grid,
  .mymass-rule-grid,
  .mymass-outcome-strip,
  .mymass-hero-visual {
    grid-template-columns: 1fr;
  }

  .mymass-flow-example {
    grid-template-columns: 1fr;
  }

  .mymass-flow-example span::after {
    display: none;
  }

  .ds-goal-grid article {
    min-height: 190px;
  }

}

@media (max-width: 600px) {
  h1 {
    font-size: 50px;
  }

  h1 em {
    font-size: 1.1em;
  }

  .hero-footer p {
    font-size: 16px;
  }

  .case-page .section-pad {
    padding-left: 22px;
    padding-right: 22px;
  }

  .ds-wrap,
  .ds-documentation-shot .image-zoom {
    width: min(100% - 44px, 1180px);
  }

  .mymass-carousel-head {
    width: min(100% - 44px, 1180px);
  }

  .site-footer {
    flex-direction: column;
    padding: 26px 20px;
  }

  .case-hero-grid > p,
  .case-copy {
    font-size: 16px;
  }

  .case-goals article,
  .case-outcomes article {
    min-height: 150px;
    padding: 20px;
  }

  .ds-challenge-grid p,
  .ds-process-list p,
  .ds-process-list li,
  .ds-decision p,
  .ds-documentation p,
  .ds-outcome-grid p,
  .ds-overcome-grid p,
  .ds-final p {
    font-size: 18px;
  }

  .ds-goal-grid p {
    font-size: 16px;
  }

  .ds-goal-grid article {
    min-height: 170px;
    padding: 24px 20px;
  }
}

/* Final MyMass overrides for case-study art direction */
.mymass-page .mymass-hero h1 em {
  font-size: clamp(38px, 5vw, 54px) !important;
  line-height: 1.02;
}

.mymass-page .mymass-role-process article {
  border-left: 0 !important;
}

.mymass-page .mymass-role-process article::before {
  content: none !important;
  display: none !important;
}

.mymass-page .mymass-light .mymass-card-grid h3,
.mymass-page .mymass-light .mymass-phase-grid article span,
.mymass-page .mymass-light .mymass-testing h3,
.mymass-page .mymass-light .mymass-kicker,
.mymass-page .mymass-light .mymass-journey-accordion summary span,
.mymass-page .mymass-light .mymass-journey-table article h3,
.mymass-page .mymass-light .mymass-success span {
  color: #4f7285 !important;
}

.mymass-page .mymass-persona-card {
  border-radius: 8px !important;
}

.mymass-page .mymass-flow-example {
  display: block !important;
  width: 100%;
  margin-top: 46px;
  overflow-x: auto;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.mymass-page .mymass-flow-example img {
  display: block;
  min-width: 1120px;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.mymass-page .mymass-wireframe-board {
  margin-top: 28px;
}

.mymass-page .mymass-touchscreen,
.mymass-page .mymass-touchscreen h2,
.mymass-page .mymass-touchscreen p,
.mymass-page .mymass-touchscreen .mymass-lede,
.mymass-page .mymass-touchscreen .mymass-rule-grid h3,
.mymass-page .mymass-touchscreen .mymass-rule-grid p {
  color: #07121c !important;
}

.mymass-page .mymass-touchscreen .mymass-rule-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  margin-top: 0;
}

.mymass-page .mymass-touchscreen .mymass-rule-grid article {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 0;
  padding: 30px;
  border-right: 0 !important;
  border-bottom: 1px solid var(--mm-line-light);
  background: #ffffff;
}

.mymass-page .mymass-touchscreen .mymass-rule-grid article:last-child {
  border-bottom: 0;
}

.mymass-page .mymass-touchscreen .mymass-rule-grid h3 {
  display: block;
  color: #07121c !important;
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.12;
}

.mymass-page .mymass-touchscreen .mymass-rule-grid p {
  color: #07121c !important;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.35;
}

.mymass-page .mymass-light.mymass-testing-section .mymass-testing {
  border-color: rgba(7, 18, 28, 0.16) !important;
  background: rgba(7, 18, 28, 0.16) !important;
}

.mymass-page .mymass-light.mymass-testing-section .mymass-testing article {
  background: #ffffff !important;
  color: #07121c !important;
}

.mymass-page .mymass-light.mymass-testing-section .mymass-testing h3 {
  color: #3f6578 !important;
}

.mymass-page .mymass-light.mymass-testing-section .mymass-testing p {
  color: #172b39 !important;
}

.mymass-page .mymass-outcome-photo {
  margin: 0;
}

.mymass-page .mymass-outcome-photo img {
  display: block;
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

.mymass-page .mymass-quote-lockup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
  gap: clamp(30px, 6vw, 84px);
  align-items: center;
}

.mymass-page .mymass-quote-copy {
  min-width: 0;
}

@media (max-width: 900px) {
  .case-step-nav {
    grid-template-columns: 1fr;
  }

  .karitro-hero > *,
  .karitro-light > *,
  .karitro-dark > * {
    width: min(calc(100% - 64px), 1160px);
  }

  .karitro-hero-grid,
  .karitro-two-col,
  .karitro-role-grid,
  .karitro-three-col,
  .karitro-starting-grid,
  .karitro-image-grid,
  .karitro-proto-sessions,
  .karitro-hi-fi,
  .karitro-statline,
  .karitro-reflection {
    grid-template-columns: 1fr;
  }

  .karitro-beta-item {
    grid-template-columns: 1fr;
  }

  .karitro-reflection > * {
    width: auto;
  }

  .karitro-reflection figure {
    max-width: 340px;
  }

  .mymass-touchscreen-layout {
    grid-template-columns: 1fr;
  }

  .mymass-touchscreen-photo {
    height: auto;
  }

  .mymass-touchscreen-photo img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .mymass-page .mymass-touchscreen .mymass-rule-grid {
    grid-template-columns: 1fr;
  }

  .mymass-page .mymass-quote-lockup {
    grid-template-columns: 1fr;
  }

  .mymass-reflection-grid {
    grid-template-columns: 1fr;
  }

  .mymass-reflection-photo {
    max-width: 520px;
  }

  .mymass-page .mymass-vision-grid {
    grid-template-columns: 1fr;
  }

  .mymass-page .mymass-vision-sketch {
    max-width: 420px;
  }

  .mymass-page .mymass-outcome-photo {
    max-width: 420px;
  }
}

@media (max-width: 600px) {
  .mymass-page .mymass-hero h1 em {
    font-size: clamp(34px, 10vw, 42px) !important;
  }

  .mymass-page .mymass-touchscreen .mymass-rule-grid article {
    padding: 24px;
  }
}
