@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");

:root {
  --surface: #0e0e0e;
  --surface-raised: #171717;
  --line: #292929;
  --ink: #f5f5f5;
  --muted: #9a9a9a;
  --page-gutter: 5rem;
  --page-width: 77.5rem;
}

html {
  background: #000;
  scroll-behavior: smooth;
}

body {
  background: #000;
  color: var(--ink);
  font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a,
.link,
.link-3,
.link-4 {
  color: inherit;
}

.page-wrapper,
.main-wrapper {
  background: #000;
}

.padding-global {
  padding-right: var(--page-gutter);
  padding-left: var(--page-gutter);
}

.container-large {
  width: 100%;
  max-width: var(--page-width);
}

/* Navigation */
.navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: 5rem;
  padding: 0;
  background: rgba(0, 0, 0, .88);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 240ms ease, background-color 240ms ease;
}

.navbar.is-scrolled {
  background: rgba(0, 0, 0, .96);
  border-bottom-color: var(--line);
}

.navbar > .padding-global,
.navbar > .padding-global > .container-large {
  height: 100%;
}

.navbar > .padding-global > .container-large {
  display: flex;
  align-items: center;
}

.brand-link {
  z-index: 102;
  padding: 0;
}

.logo {
  width: auto;
  height: 30px;
  filter: invert(1);
}

.nav-menu {
  margin-left: auto;
}

.bg-navbar {
  background: transparent;
}

.nav-menu-flex {
  gap: 1.5rem;
}

.outline-button-text.nav-link,
.outline-button-text.nav-footer {
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.outline-button {
  position: relative;
  padding: .4rem 0;
}

.outline-button .button-line {
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 240ms ease;
}

.outline-button:hover .button-line,
.outline-button.w--current .button-line {
  transform: scaleX(1);
  transform-origin: left center;
}

a:focus-visible,
.menu-button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
}

/* Homepage hero */
.section-home-header {
  min-height: 44rem;
}

.section-home-header .padding-section-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 44rem;
  padding: 7.5rem 0 4rem;
  text-align: center;
}

.heading-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.paragraph-heading.text-large.text-color-gray-2.website-hero {
  width: 100%;
  max-width: 62.5rem;
  margin: 0;
  color: var(--ink);
  font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(3rem, 4vw, 3.5rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -1px;
}

.heading-flex > .text-size-regular {
  color: var(--muted);
  font-size: 1.125rem;
}

.heading-flex .link-4 {
  color: var(--ink);
  border-bottom: 1px solid #777;
  transition: border-color 180ms ease;
}

.heading-flex .link-4:hover {
  border-color: #fff;
}

.section-home-header .header-botom-component-grid {
  margin: 0;
}

.section-home-header .link-button-2 {
  margin-top: 2.25rem;
  padding: 7px 16px 7px 7px;
  background: transparent;
  border-color: #3c3c3c;
  transition: background-color 200ms ease, border-color 200ms ease;
}

.section-home-header .link-button-2:hover {
  background: var(--surface-raised);
  border-color: #666;
}

.section-home-header .cicle-button {
  background: var(--ink);
}

/* Work cards */
.padding-section-large.homepagework {
  padding: 1rem 0 10rem;
}

.padding-section-large.homepagework > .margin-top.margin-xlarge {
  margin-top: 0;
  margin-bottom: 3rem;
}

.padding-section-large.homepagework > .margin-top.margin-large {
  margin-top: 0;
}

.title-content-flex .subtitle {
  color: var(--muted);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.work-component-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.work-link-item {
  position: relative;
  display: block;
  overflow: hidden;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid #171717;
  border-radius: 24px;
  transition: transform 420ms cubic-bezier(.2, .75, .25, 1), border-color 240ms ease;
}

.work-link-item::after {
  content: "↗";
  position: absolute;
  right: 2.5rem;
  bottom: 2.5rem;
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  color: #000;
  background: #fff;
  border-radius: 50%;
  font-size: 1.35rem;
  transform: rotate(0deg);
  transition: transform 420ms cubic-bezier(.2, .75, .25, 1), background-color 240ms ease;
}

.work-link-item:hover {
  opacity: 1;
  border-color: #333;
  transform: translateY(-4px);
}

.work-link-item:hover::after {
  background: #dedede;
  transform: rotate(45deg);
}

.work-link-item .work-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--surface-raised);
  transform: scale(1.001);
  transition: transform 700ms cubic-bezier(.2, .75, .25, 1), filter 400ms ease;
}

.work-link-item:hover .work-image {
  opacity: 1;
  filter: brightness(.9);
  transform: scale(1.025);
}

.work-details-flex-wrapper {
  min-height: 10.5rem;
  margin: 0;
  padding: 2rem 7rem 2.5rem 2.5rem;
  gap: 1rem;
  justify-content: center;
}

.work-details-flex-wrapper > .text-size-medium {
  color: var(--ink);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.3;
}

.work-flex {
  justify-content: flex-start;
  gap: .6rem;
  color: var(--muted);
  font-size: 1rem;
}

.work-flex .dot {
  width: 3px;
  height: 3px;
  background: #666;
  border-radius: 50%;
}

.work-flex .text-color-gray,
.work-flex .text-size-small {
  color: inherit;
  font-size: inherit;
}

/* About */
.section-about-header {
  padding: 10.5rem 0 7rem;
}

.section-about-header .padding-top.padding-xhuge {
  padding: 0;
}

.section-about-header .heading-style-h1 {
  margin: 0 0 4rem;
  color: var(--ink);
  font-size: clamp(4rem, 6.2vw, 5.25rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -2px;
}

.section-about-header .text-color-gray {
  color: var(--muted);
}

.section-about-header .margin-top.margin-medium {
  margin-top: 0;
}

.content-grid.about {
  grid-template-columns: minmax(18rem, .85fr) minmax(24rem, 1.35fr);
  gap: 5rem;
  align-items: start;
}

.about-image {
  width: 100%;
  max-width: none;
  border-radius: 24px;
}

.content-grid.about .text-size-medium {
  color: #b8b8b8;
  font-size: 1.25rem;
  line-height: 1.55;
}

.div-block-12 {
  gap: 1.5rem;
  justify-content: flex-start;
  padding-top: 2.5rem;
}

.div-block-12 .link-3 {
  color: var(--ink);
  text-decoration-color: #666;
  text-underline-offset: 5px;
}

.section-about-header .div-block-3 {
  margin: 0;
}

.section-about-experience .padding-section-large {
  padding: 7.5rem 0;
  border-top-color: var(--line);
}

.gallery-wrapper {
  gap: 2rem;
  margin-bottom: 7rem;
}

.gallery-block p,
.gallery-block h3 {
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.45;
}

.gallery-block p {
  color: var(--muted);
}

.gallery-grid {
  gap: 2rem;
}

.gallery-image {
  display: block;
  border-radius: 20px;
  background: var(--surface);
}

/* Case studies */
.case-page .section-work-header {
  display: flex;
  flex-direction: column;
  padding: 10rem 0 0;
}

.case-page .section-work-header > .padding-global {
  order: 1;
  width: 100%;
}

.case-page .section-work-header > img {
  order: 2;
  display: block;
  width: calc(100% - (var(--page-gutter) * 2));
  max-width: var(--page-width);
  height: auto;
  max-height: none;
  margin: 7rem auto 0;
  padding: 0;
  object-fit: cover;
  border-radius: 24px;
  background: var(--surface);
}

.case-page .section-work-header .padding-top.padding-xxhuge {
  padding: 0;
}

/* Pollka Snow uses an older header wrapper; keep its content but match the new order. */
.case-page .section-work-header:not(.header-image-padding) .padding-top.padding-xxhuge {
  display: flex;
  flex-direction: column;
}

.case-page .section-work-header:not(.header-image-padding) .padding-top.padding-xxhuge > .paragraph-heading {
  order: 1;
}

.case-page .section-work-header:not(.header-image-padding) .padding-top.padding-xxhuge > .margin-top.margin-large:last-child {
  order: 2;
  margin-top: 5rem;
}

.case-page .section-work-header:not(.header-image-padding) .padding-top.padding-xxhuge > .margin-top.margin-large:first-child {
  order: 3;
  margin-top: 7rem;
}

.case-page .section-work-header:not(.header-image-padding) .padding-top.padding-xxhuge > .margin-top.margin-large:first-child img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  background: var(--surface);
}

.case-page .section-work-header .paragraph-heading,
.case-page .section-work-header .paragraph-heading.top-padding-40 {
  max-width: 62rem;
  margin: 0;
  padding: 0;
  color: var(--ink);
  font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(3rem, 4vw, 3.5rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -1px;
}

.case-page .section-work-header .margin-top.margin-large {
  margin-top: 5rem;
}

.case-page .project-details-component-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.case-page .project-details-content {
  gap: .7rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.case-page .project-details-content .text-style-allcaps,
.case-page .project-details-content .text-color-gray {
  color: var(--muted);
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: .08em;
}

.case-page .project-details-content .text-size-regular,
.case-page .project-details-content .link {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.55;
}

.case-page .section-work-content {
  padding: 6rem 0;
  color: var(--ink);
  background: #000;
}

.case-page .section-work-content.gray-background,
.case-page .section-work-content.padding-section-medium.black-background {
  color: var(--ink);
  background: var(--surface);
}

.case-page .section-work-content > .padding-global > .container-large > .margin-top.margin-xlarge,
.case-page .section-work-content > .padding-global > .container-large > .margin-top.margin-large {
  margin-top: 0;
}

.case-page .content-2-column {
  gap: 2.5rem;
}

.case-page .div-block-2 {
  gap: 4rem;
}

.case-page .text-size-regular.color,
.case-page .section-work-content h1.text-size-regular,
.case-page .section-work-content h4.text-size-regular {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
}

.case-page .section-work-content .paragraph-heading,
.case-page .section-work-content .paragraph-heading.text-color-black,
.case-page .section-work-content .paragraph-heading.text-color-white,
.case-page .section-work-content .heading-style-h2 {
  max-width: 62rem;
  margin: 0 0 2rem;
  padding: 0;
  color: var(--ink);
  font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.5px;
  text-align: left;
}

.case-page .paragraph,
.case-page .text-paragraph,
.case-page .paragraph.paragraph-white,
.case-page .text-size-regular,
.case-page .text-color-gray-2,
.case-page .text-span-black-paragraph {
  color: #b8b8b8;
}

.case-page .paragraph,
.case-page .text-paragraph {
  max-width: 60rem;
  margin-bottom: 1.75rem;
  font-size: 1.125rem;
  line-height: 1.75;
}

.case-page .paragraph.text-color-gray-2,
.case-page .paragraph.image-with-text-padding {
  padding-right: 0;
  padding-left: 0;
}

.case-page .section-work-content img,
.case-page .section > img,
.case-page .div-block-14 img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 3rem auto;
  padding: 0;
  border-radius: 20px;
  background: var(--surface-raised);
}

.case-page .div-block-4,
.case-page .div-block-10 {
  padding-right: 4rem;
  padding-left: 4rem;
}

.case-page .div-block-13 {
  margin-top: 5rem;
  margin-bottom: 5rem;
}

.case-page .section-other-works {
  padding: 8rem 0;
  border-top: 1px solid var(--line);
}

.case-page .section-other-works .padding-bottom.padding-xhuge {
  padding: 0;
}

.case-page .section-other-works .heading-style-h2 {
  margin: 0 0 3rem;
  color: var(--ink);
  font-size: 2.75rem;
}

.case-page .section-other-works .work-component-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.case-page .section-other-works .work-details-flex-wrapper {
  min-height: 8.5rem;
  padding: 1.5rem 5rem 1.75rem 1.75rem;
}

.case-page .section-other-works .work-details-flex-wrapper > .text-size-small {
  color: var(--ink);
  font-size: 1.1rem;
}

.case-page .section-other-works .work-link-item::after {
  right: 1.75rem;
  bottom: 1.75rem;
  width: 2.75rem;
  height: 2.75rem;
}

/* Deelr case study hierarchy */
.deelr-case-page {
  --case-accent: #6f86ff;
}

.deelr-case-page .case-stage-section {
  position: relative;
  padding-top: 8rem;
  padding-bottom: 8rem;
  border-top: 1px solid var(--line);
}

.deelr-case-page .case-stage-label,
.deelr-case-page .section-work-content h4.case-stage-label,
.deelr-case-page .section-work-content h4.case-stage-label.text-align-center {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 2rem;
  color: var(--case-accent);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .035em;
  text-align: left;
  text-transform: uppercase;
}

.deelr-case-page .case-stage-label::before {
  content: attr(data-stage);
  color: var(--case-accent);
}

.deelr-case-page .case-overview-label,
.deelr-case-page .section-work-content h1.case-overview-label {
  margin-bottom: 1.5rem;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
}

.deelr-case-page .overview-stage {
  padding-top: 7rem;
  padding-bottom: 7rem;
}

.deelr-case-page .overview-stage .div-block-2 > div {
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.deelr-case-page .case-stage-section .stage-thesis,
.deelr-case-page .case-stage-section .paragraph-heading.stage-thesis {
  max-width: 66rem;
  margin-bottom: 2.25rem;
  color: #fff;
  font-size: clamp(2.5rem, 3.4vw, 3.25rem);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -.6px;
}

.deelr-case-page .case-stage-section .supporting-heading,
.deelr-case-page .case-stage-section .paragraph-heading.supporting-heading {
  margin-top: 4.5rem;
  margin-bottom: 1.75rem;
  color: #fff;
  font-size: clamp(2rem, 2.6vw, 2.5rem);
  font-weight: 500;
  line-height: 1.28;
}

.deelr-case-page .case-stage-section .compact-heading,
.deelr-case-page .case-stage-section .paragraph-heading.compact-heading {
  margin: 0 0 1rem;
  color: #fff;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.2px;
}

.deelr-case-page .case-stage-section .feature-heading,
.deelr-case-page .case-stage-section .paragraph-heading.feature-heading {
  margin: 0 0 1.75rem;
  color: #fff;
  font-size: clamp(2.25rem, 3vw, 2.9rem);
  font-weight: 500;
  line-height: 1.25;
}

.deelr-case-page .impact-stage .content-3-column {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: .5rem 0 3.5rem;
}

.deelr-case-page .impact-stage .content-3-column > div,
.deelr-case-page .impact-stage .div-block-6 {
  height: 100%;
}

.deelr-case-page .impact-stage .div-block-6 {
  padding: 1.75rem;
  background: var(--surface-raised);
  border: 1px solid #2d2d2d;
  border-radius: 18px;
}

.deelr-case-page .impact-stage .div-block-6 .paragraph {
  margin: 0;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.4;
}

.deelr-case-page .impact-stage .text-paragraph strong {
  display: inline-block;
  margin-top: 1.25rem;
  color: #fff;
  font-weight: 700;
}

.deelr-case-page .impact-stage .text-paragraph strong:first-child {
  margin-top: 0;
}

.deelr-case-page .discovery-stage .div-block-13,
.deelr-case-page .workflow-gaps-stage .div-block-13 {
  margin: 0;
  padding: 3.25rem 0;
  border-top: 1px solid var(--line);
}

.deelr-case-page .discovery-stage .div-block-13:first-child {
  padding-top: 0;
  border-top: 0;
}

.deelr-case-page .discovery-stage .div-block-13:not(:first-child) .content-2-column,
.deelr-case-page .workflow-gaps-stage .div-block-13 .content-2-column {
  grid-template-columns: minmax(15rem, .65fr) minmax(24rem, 1.35fr);
  align-items: start;
}

.deelr-case-page .discovery-stage .div-block-13:not(:first-child) .paragraph,
.deelr-case-page .workflow-gaps-stage .div-block-13 .paragraph {
  margin: 0;
}

.deelr-case-page .core-problem-stage {
  background: var(--surface);
}

.deelr-case-page .core-problem-stage .div-block-4 {
  padding-top: 0;
  padding-bottom: 0;
}

.deelr-case-page .core-problem-stage .stage-thesis {
  max-width: 65rem;
}

.deelr-case-page .strategy-stage img,
.deelr-case-page .interaction-stage img {
  margin-top: 4rem;
}

.deelr-case-page .final-design-stage {
  background: var(--surface);
}

.deelr-case-page .final-design-stage .div-block-14 {
  display: grid;
  grid-template-columns: minmax(18rem, .7fr) minmax(24rem, 1.3fr);
  gap: 4rem;
  align-items: center;
}

.deelr-case-page .final-design-stage .div-block-14 img {
  margin: 1rem 0;
}

.deelr-case-page .final-design-stage .container-large.padding-bottom-small {
  padding-bottom: 0;
}

.deelr-case-page .final-design-stage > .padding-global:last-child {
  padding-top: 6rem;
  border-top: 1px solid var(--line);
}

.deelr-case-page .case-subsection-label {
  margin: 0 0 1.5rem;
  color: var(--case-accent);
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.deelr-case-page .case-research-inputs {
  margin: 3rem 0 4rem;
}

.deelr-case-page .case-research-inputs > div {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.deelr-case-page .case-research-inputs span {
  padding: .7rem 1rem;
  color: #d8d8d8;
  background: var(--surface-raised);
  border: 1px solid #303030;
  border-radius: 999px;
  font-size: .95rem;
}

.deelr-case-page .case-comparison,
.deelr-case-page .case-guardrails {
  margin-top: 6rem;
  padding-top: 4rem;
  border-top: 1px solid var(--line);
}

.deelr-case-page .case-comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.deelr-case-page .case-comparison-grid article {
  padding: 2rem;
  background: var(--surface-raised);
  border: 1px solid #303030;
  border-radius: 18px;
}

.deelr-case-page .case-comparison-grid article.is-selected {
  background: rgba(111, 134, 255, .08);
  border-color: var(--case-accent);
}

.deelr-case-page .case-comparison-grid article > span {
  color: var(--case-accent);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.deelr-case-page .case-comparison-grid h3 {
  margin: 1.25rem 0 1rem;
  color: #fff;
  font-size: 1.65rem;
  line-height: 1.25;
}

.deelr-case-page .case-comparison-grid p {
  margin: 0;
  color: #b8b8b8;
  font-size: 1.05rem;
  line-height: 1.65;
}

.deelr-case-page .case-comparison-grid ul {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.deelr-case-page .case-comparison-grid li {
  padding: .45rem .75rem;
  color: #d4d4d4;
  background: #222;
  border-radius: 999px;
  font-size: .85rem;
}

.deelr-case-page .strategy-stage .paragraph strong {
  color: #fff;
  font-weight: 700;
}

.deelr-case-page .case-guardrail-grid,
.deelr-case-page .case-feature-map-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.deelr-case-page .case-guardrail-grid article,
.deelr-case-page .case-feature-map-grid article {
  padding: 1.75rem;
  background: var(--surface-raised);
  border: 1px solid #303030;
  border-radius: 16px;
}

.deelr-case-page .case-guardrail-grid strong,
.deelr-case-page .case-feature-map-grid h3 {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.35;
}

.deelr-case-page .case-guardrail-grid p,
.deelr-case-page .case-feature-map-grid p {
  margin: .85rem 0 0;
  color: #aaa;
  font-size: 1rem;
  line-height: 1.65;
}

.deelr-case-page .case-feature-map-wrap {
  margin-top: 7rem;
  padding-top: 6rem;
  border-top: 1px solid var(--line);
}

.deelr-case-page .case-feature-map-grid article > span {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--case-accent);
  font-size: .95rem;
  font-weight: 700;
}

.deelr-case-page .case-feature-map-grid h3 {
  margin: 0;
}

.deelr-case-page .validation-stage .stage-thesis,
.deelr-case-page .reflection-stage .stage-thesis {
  margin-bottom: 4rem;
}

.deelr-case-page .case-status-grid,
.deelr-case-page .case-reflection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.deelr-case-page .case-status-grid article,
.deelr-case-page .case-reflection-grid article {
  padding: 2rem;
  background: var(--surface-raised);
  border: 1px solid #303030;
  border-radius: 18px;
}

.deelr-case-page .case-status-grid article > span,
.deelr-case-page .case-reflection-grid article > span {
  display: block;
  margin-bottom: 1.25rem;
  color: var(--case-accent);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.deelr-case-page .case-status-grid strong,
.deelr-case-page .case-reflection-grid h3 {
  display: block;
  margin: 0;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.35;
}

.deelr-case-page .case-status-grid p,
.deelr-case-page .case-reflection-grid p {
  margin: 1rem 0 0;
  color: #aaa;
  font-size: 1rem;
  line-height: 1.65;
}

.deelr-case-page .case-next-validation,
.deelr-case-page .case-next-steps {
  margin-top: 6rem;
  padding-top: 4rem;
  border-top: 1px solid var(--line);
}

.deelr-case-page .case-validation-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 3rem;
}

.deelr-case-page .case-validation-list p {
  margin: 0;
  padding: 1.5rem 0;
  color: #aaa;
  font-size: 1.05rem;
  line-height: 1.65;
  border-top: 1px solid var(--line);
}

.deelr-case-page .case-validation-list strong {
  color: #fff;
}

.deelr-case-page .reflection-stage {
  background: var(--surface);
}

.deelr-case-page .reflection-stage .case-reflection-grid article {
  background: #0a0a0a;
}

.deelr-case-page .case-next-steps > p:last-child {
  max-width: 60rem;
  margin: 0;
  color: #b8b8b8;
  font-size: 1.2rem;
  line-height: 1.7;
}

/* Blaz.ai case study — shares the case-study hierarchy with its own brand accent */
.blaz-case-page {
  --case-accent: #2aaa80;
}

.blaz-case-page .case-comparison-grid article.is-selected {
  background: rgba(42, 170, 128, .08);
}

.blaz-case-page .blaz-outcome-stage .stage-thesis {
  margin-bottom: 4rem;
}

.blaz-case-page .blaz-impact-summary {
  margin-top: 4.5rem;
  padding-top: 3.25rem;
}

.blaz-case-page .blaz-impact-summary > p:last-child {
  max-width: 68rem;
}

.blaz-case-page .discovery-stage .content-3-column {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 4rem;
}

.blaz-case-page .discovery-stage .content-3-column > div,
.blaz-case-page .discovery-stage .div-block-6 {
  height: 100%;
}

.blaz-case-page .discovery-stage .div-block-6 {
  padding: 1.75rem;
  background: var(--surface-raised);
  border: 1px solid #303030;
  border-radius: 16px;
}

.blaz-case-page .discovery-stage .div-block-6 .paragraph {
  margin: 0;
}

.blaz-case-page .discovery-stage .div-block-6 strong {
  display: inline-block;
  margin-bottom: .65rem;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.35;
}

.blaz-case-page .market-stage .case-comparison {
  margin-top: 4.5rem;
}

.blaz-case-page .architecture-stage .image-19 {
  margin-top: 4rem;
  border-radius: 18px;
}

.blaz-case-page .design-stage .container-large.padding-bottom-small {
  padding-bottom: 5rem;
}

.blaz-case-page .design-stage .margin-top.margin-xlarge {
  margin-top: 0;
}

.blaz-case-page .design-stage .div-block-5 {
  display: grid;
  grid-template-columns: minmax(22rem, 1.35fr) minmax(18rem, .65fr);
  gap: 3rem;
  align-items: center;
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid var(--line);
}

.blaz-case-page .design-stage .div-block-5 img {
  margin: 0;
}

.blaz-case-page .design-stage .div-block-5 .paragraph {
  margin: 0;
}

.blaz-case-page .design-stage .blaz-design-system-label,
.blaz-case-page .section-work-content h4.blaz-design-system-label {
  margin: 0 0 1.5rem;
  color: var(--case-accent);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.blaz-case-page .blaz-product-gallery {
  overflow: hidden;
  background: var(--surface);
}

.blaz-case-page .blaz-gallery-intro {
  padding-bottom: 6rem;
}

.blaz-case-page .blaz-gallery-intro .stage-thesis {
  margin-bottom: 4rem;
}

.blaz-case-page .blaz-product-gallery > img {
  display: block;
  width: 100%;
}

.blaz-case-page .blaz-validation-grid {
  margin-top: 4rem;
}

.blaz-case-page .validation-stage .content-2-column,
.blaz-case-page .reflection-stage .content-2-column {
  display: block;
}

.blaz-case-page .validation-stage .content-2-column > div:first-child,
.blaz-case-page .reflection-stage .content-2-column > div:first-child {
  max-width: 68rem;
}

.blaz-case-page .validation-stage .content-2-column > .paragraph {
  max-width: 58rem;
  margin: 0;
}

.blaz-case-page .reflection-stage .case-reflection-content {
  margin-top: 4rem;
}

.blaz-case-page .reflection-stage .case-next-steps {
  margin-top: 5rem;
}

/* Contact + footer */
.section-home-call-to-action {
  padding: 8rem 0;
  border-top: 1px solid var(--line);
}

.section-home-call-to-action .text-align-center {
  margin: 0;
  color: var(--ink);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.4;
}

.section-home-call-to-action .margin-top.margin-xlarge {
  margin-top: 3rem;
}

.contact-link {
  color: var(--ink);
  opacity: 1;
}

.contact-link:hover {
  color: #cfcfcf;
}

.contact-text,
.contact-arrow {
  color: inherit;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 500;
}

.contact-link .button-line {
  background: currentColor;
}

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

.padding-footer {
  padding: 3rem 0;
}

.footer-component-grid {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.footer-logo {
  height: 18px;
  filter: invert(1);
}

.footer-nav-link-wrapper {
  justify-content: flex-end;
}

/* Scroll reveal */
.js .reveal-on-scroll {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 700ms cubic-bezier(.2, .75, .25, 1), transform 700ms cubic-bezier(.2, .75, .25, 1);
}

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

@media (max-width: 991px) {
  :root {
    --page-gutter: 2rem;
  }

  .nav-menu {
    margin: 0;
  }

  .nav-menu[data-nav-menu-open] {
    position: fixed;
    z-index: 100;
    inset: 0;
    display: flex !important;
    background: #000;
  }

  .nav-menu[data-nav-menu-open] .bg-navbar,
  .nav-menu[data-nav-menu-open] .nav-menu-flex {
    width: 100%;
    height: 100%;
  }

  .nav-menu[data-nav-menu-open] .nav-menu-flex {
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
  }

  .nav-menu[data-nav-menu-open] .outline-button-text.nav-link {
    color: var(--ink);
    font-size: 3rem;
    line-height: 1.1;
  }

  .menu-button {
    z-index: 102;
    display: block;
    margin-left: auto;
    padding: .6rem 0 .6rem .8rem;
    background: transparent;
  }

  .menu-button.w--open {
    background: transparent;
  }

  .menu-button-flex {
    position: relative;
    width: 1.7rem;
    height: 1.1rem;
  }

  .menu-button-flex img {
    display: none;
  }

  .menu-button-flex::before,
  .menu-button-flex::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: #fff;
    transition: top 240ms ease, transform 240ms ease;
  }

  .menu-button-flex::before {
    top: 2px;
  }

  .menu-button-flex::after {
    top: 13px;
  }

  .menu-button.w--open .menu-button-flex::before {
    top: 7px;
    transform: rotate(45deg);
  }

  .menu-button.w--open .menu-button-flex::after {
    top: 7px;
    transform: rotate(-45deg);
  }

  .content-grid.about {
    grid-template-columns: 1fr;
  }

  .about-image {
    max-width: 36rem;
  }

  .case-page .project-details-component-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-page .div-block-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  :root {
    --page-gutter: 1.25rem;
  }

  .navbar {
    height: 5rem;
  }

  .section-home-header,
  .section-home-header .padding-section-header {
    min-height: 40rem;
  }

  .section-home-header .padding-section-header {
    padding: 7rem 0 3rem;
  }

  .paragraph-heading.text-large.text-color-gray-2.website-hero {
    font-size: 2rem;
    line-height: 1.3;
    letter-spacing: -.5px;
  }

  .heading-flex > .text-size-regular {
    font-size: 1rem;
  }

  .padding-section-large.homepagework {
    padding-bottom: 7rem;
  }

  .title-content-flex .subtitle {
    font-size: 1.1rem;
  }

  .work-component-grid {
    gap: 2rem;
  }

  .work-link-item {
    border-radius: 24px;
  }

  .work-details-flex-wrapper {
    min-height: 10rem;
    padding: 2rem 5rem 2.25rem 2.25rem;
  }

  .work-details-flex-wrapper > .text-size-medium {
    font-size: 1.35rem;
  }

  .work-link-item::after {
    right: 2rem;
    bottom: 2rem;
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1.1rem;
  }

  .section-about-header {
    padding: 9rem 0 5rem;
  }

  .section-about-header .heading-style-h1 {
    margin-bottom: 2.5rem;
    font-size: 3.5rem;
    letter-spacing: -1px;
  }

  .content-grid.about {
    gap: 2.5rem;
  }

  .content-grid.about .text-size-medium {
    font-size: 1.1rem;
  }

  .div-block-12 {
    flex-wrap: wrap;
    padding-top: 2rem;
  }

  .section-about-experience .padding-section-large {
    padding: 5rem 0;
  }

  .gallery-wrapper {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 5rem;
  }

  .gallery-grid {
    gap: 1.5rem;
  }

  .case-page .section-work-header {
    padding-top: 8.5rem;
  }

  .case-page .section-work-header .paragraph-heading,
  .case-page .section-work-header .paragraph-heading.top-padding-40 {
    font-size: 2rem;
    line-height: 1.3;
    letter-spacing: -.5px;
  }

  .case-page .section-work-header .margin-top.margin-large {
    margin-top: 3.5rem;
  }

  .case-page .section-work-header > img {
    width: calc(100% - 2.5rem);
    margin-top: 4.5rem;
    border-radius: 20px;
  }

  .case-page .section-work-header:not(.header-image-padding) .padding-top.padding-xxhuge > .margin-top.margin-large:last-child {
    margin-top: 3.5rem;
  }

  .case-page .section-work-header:not(.header-image-padding) .padding-top.padding-xxhuge > .margin-top.margin-large:first-child {
    margin-top: 4.5rem;
  }

  .case-page .section-work-header:not(.header-image-padding) .padding-top.padding-xxhuge > .margin-top.margin-large:first-child img {
    border-radius: 20px;
  }

  .case-page .project-details-component-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .case-page .section-work-content {
    padding: 4.5rem 0;
  }

  .case-page .section-work-content .paragraph-heading,
  .case-page .section-work-content .paragraph-heading.text-color-black,
  .case-page .section-work-content .paragraph-heading.text-color-white,
  .case-page .section-work-content .heading-style-h2 {
    font-size: 1.8rem;
    line-height: 1.32;
  }

  .case-page .paragraph,
  .case-page .text-paragraph {
    font-size: 1.05rem;
    line-height: 1.7;
  }

  .case-page .section-work-content img,
  .case-page .section > img,
  .case-page .div-block-14 img {
    margin: 2rem auto;
    border-radius: 14px;
  }

  .case-page .div-block-4,
  .case-page .div-block-10 {
    padding-right: 0;
    padding-left: 0;
  }

  .deelr-case-page .case-stage-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .deelr-case-page .case-stage-label,
  .deelr-case-page .section-work-content h4.case-stage-label,
  .deelr-case-page .section-work-content h4.case-stage-label.text-align-center {
    margin-bottom: 1.5rem;
    font-size: 1rem;
  }

  .deelr-case-page .case-stage-section .stage-thesis,
  .deelr-case-page .case-stage-section .paragraph-heading.stage-thesis {
    font-size: 2rem;
  }

  .deelr-case-page .case-stage-section .supporting-heading,
  .deelr-case-page .case-stage-section .paragraph-heading.supporting-heading,
  .deelr-case-page .case-stage-section .feature-heading,
  .deelr-case-page .case-stage-section .paragraph-heading.feature-heading {
    margin-top: 3.25rem;
    font-size: 1.8rem;
  }

  .deelr-case-page .case-stage-section .compact-heading,
  .deelr-case-page .case-stage-section .paragraph-heading.compact-heading {
    font-size: 1.45rem;
  }

  .deelr-case-page .impact-stage .content-3-column,
  .deelr-case-page .discovery-stage .div-block-13:not(:first-child) .content-2-column,
  .deelr-case-page .workflow-gaps-stage .div-block-13 .content-2-column,
  .deelr-case-page .final-design-stage .div-block-14,
  .deelr-case-page .case-comparison-grid,
  .deelr-case-page .case-guardrail-grid,
  .deelr-case-page .case-feature-map-grid,
  .deelr-case-page .case-status-grid,
  .deelr-case-page .case-reflection-grid,
  .deelr-case-page .case-validation-list {
    grid-template-columns: 1fr;
  }

  .deelr-case-page .impact-stage .div-block-6 {
    padding: 1.5rem;
  }

  .deelr-case-page .impact-stage .div-block-6 .paragraph {
    font-size: 1.2rem;
  }

  .deelr-case-page .discovery-stage .div-block-13,
  .deelr-case-page .workflow-gaps-stage .div-block-13 {
    padding: 2.5rem 0;
  }

  .deelr-case-page .final-design-stage .div-block-14 {
    gap: 2rem;
  }

  .deelr-case-page .final-design-stage > .padding-global:last-child {
    padding-top: 4rem;
  }

  .deelr-case-page .case-comparison,
  .deelr-case-page .case-guardrails,
  .deelr-case-page .case-feature-map-wrap,
  .deelr-case-page .case-next-validation,
  .deelr-case-page .case-next-steps {
    margin-top: 4.5rem;
    padding-top: 3rem;
  }

  .deelr-case-page .case-comparison-grid article,
  .deelr-case-page .case-status-grid article,
  .deelr-case-page .case-reflection-grid article {
    padding: 1.5rem;
  }

  .deelr-case-page .case-validation-list {
    gap: 0;
  }

  .blaz-case-page .discovery-stage .content-3-column,
  .blaz-case-page .design-stage .div-block-5 {
    grid-template-columns: 1fr;
  }

  .blaz-case-page .discovery-stage .content-3-column {
    margin-top: 3rem;
  }

  .blaz-case-page .design-stage .div-block-5 {
    gap: 1.5rem;
    margin-top: 3rem;
    padding-top: 3rem;
  }

  .blaz-case-page .blaz-gallery-intro {
    padding-bottom: 4rem;
  }

  .blaz-case-page .blaz-product-gallery > img {
    width: calc(100% - 2.5rem);
    margin: 1.25rem auto;
  }

  .case-page .section-other-works {
    padding: 5rem 0;
  }

  .case-page .section-other-works .work-component-grid {
    grid-template-columns: 1fr;
  }

  .section-home-call-to-action {
    padding: 6rem 0;
  }

  .section-home-call-to-action .text-align-center {
    font-size: 1.2rem;
  }

  .contact-text,
  .contact-arrow {
    font-size: 1.8rem;
  }

  .footer-component-grid {
    grid-template-columns: 1fr auto;
    gap: 1.5rem;
  }

  .footer-nav-link-wrapper {
    flex-direction: row;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .js .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}
