/* =========================================================
   Milane
   ========================================================= */

/* ---------------------------------------------------------
   1. Reset
   --------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  scroll-behavior: smooth;
}

hr {
  height: 0;
  color: inherit;
  border-top-width: 1px;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}

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

b, strong {
  font-weight: bolder;
}

img, svg, video, canvas, audio, iframe, embed, object {
  display: block;
  vertical-align: middle;
}

img, video {
  max-width: 100%;
  height: auto;
}

button, input, select, optgroup, textarea {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
  border-radius: 0;
  background-color: transparent;
}

button {
  cursor: pointer;
}

ol, ul, menu {
  list-style: none;
}

/* Functional utility kept for JS/Flowbite toggling (mobile menu) */
.hidden {
  display: none !important;
}

/* ---------------------------------------------------------
   2. Design tokens & base styles
   --------------------------------------------------------- */
:root {
  --color-primary: #f2f4f7;
  --color-secondary: #010101;
  --color-white: #ffffff;
  --color-black: #262626;
  --text-black: #262626;
  --text-white: #ffffff;
  --text-gray: #6f7984;
  --text-gray-500: oklch(55.1% 0.027 264.364); /* ~ #6a7282 */
  --brand: #0e69bf;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
}

body {
  font-family: var(--font-sans);
  color: var(--text-black);
  background-color: #fff;
}

::selection {
  background-color: #262626;
  color: #f2f2f2;
}

/* ---------------------------------------------------------
   3. Layout helpers
   --------------------------------------------------------- */
.page-container {
  max-width: 80rem; /* 1280px */
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* Shared "hero" top spacing used on interior page intros */
.section-intro {
  margin-top: 9rem;
}

/* =========================================================
   4. Header — light theme (site pages)
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 50;
  background-color: var(--color-white);
  padding-top: 18px;
  padding-bottom: 18px;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.header-hidden {
  transform: translateY(-100%);
}

.site-header-inner {
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-weight: 500;
  font-size: 2.25rem;
  line-height: calc(2.5 / 2.25);
  text-decoration: none;
  color: inherit;
}

.main-nav {
  display: none;
  align-items: center;
  column-gap: 3rem;
}
@media (min-width: 48rem) {
  .main-nav {
    display: flex;
  }
}
.main-nav--center {
  justify-content: center;
}
.main-nav--end {
  margin-left: auto;
}

.main-nav .nav-link {
  font-size: 1rem;
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-menu-toggle {
  display: inline-flex;
}
@media (min-width: 48rem) {
  .mobile-menu-toggle {
    display: none;
  }
}

.icon-menu {
  width: 1.5rem;
  height: 1.5rem;
}

.mobile-menu-panel {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--color-white);
  border-top: 1px solid rgba(0, 0, 0, 0.1); /* also swap this — white-on-white border was invisible */
  box-shadow:
    0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
}
@media (min-width: 48rem) {
  .mobile-menu-panel {
    display: none !important;
  }
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

.mobile-nav-link {
  display: block;
  padding-block: 1rem;
  font-size: 1.125rem;
  line-height: calc(1.75 / 1.125);
  border-bottom: 1px solid color-mix(in srgb, #fff 10%, transparent);
  text-decoration: none;
  color: inherit;
}

.mobile-nav-cta {
  margin-top: 1.5rem;
}

/* ---------------------------------------------------------
   Header — dark theme (case study pages)
   --------------------------------------------------------- */
.site-header--dark {
  color: var(--text-white);
}

.site-logo-link {
  font-weight: 400;
  font-size: 1.875rem;
  line-height: calc(2.25 / 1.875);
}

.nav-cta-inline {
  font-size: 1rem;
}

.case-mobile-menu {
  color: var(--text-white);
}

.case-mobile-menu-inner {
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* =========================================================
   5. Buttons & animated links
   ========================================================= */
.nav-link {
  position: relative;
  text-decoration: none;
  color: inherit;
  transition: color 0.15s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: #262626;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}
.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  background-color: var(--color-black);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  margin-left: 10px;
  position: relative;
  overflow: hidden;
  border: 1px solid #000;
  transition:
    color 0.4s ease,
    border-color 0.4s ease;
  z-index: 1;
}
.nav-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: -1;
}
.nav-button:hover::before {
  transform: scaleX(1);
}
.nav-button:hover {
  color: #000;
  border: 1px solid #000;
}

.nav-arrow {
  display: inline-block;
  margin-left: 8px;
  line-height: 1;
  font-size: 18px;
  transform: translateY(1px);
  transition: transform 0.3s ease;
}
.nav-button:hover .nav-arrow {
  transform: translateY(1px) translateX(2px) scaleX(1.15);
}

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-black);
  text-decoration: none;
  font-weight: 500;
}
.arrow {
  width: 48px;
  height: 16px;
  overflow: visible;
}
.arrow-line,
.arrow-head {
  stroke: #262626;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.arrow-line {
  transform-origin: left center;
  transition: transform 0.3s ease;
}
.arrow-head {
  transition: transform 0.3s ease;
}
.learn-more:hover .arrow-line {
  transform: scaleX(1.4);
}
.learn-more:hover .arrow-head {
  transform: translateX(12px);
}

.cta-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 28px;
  background: none;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 999px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition:
    color 0.4s ease,
    border-color 0.4s ease;
}
.cta-contact-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: -1;
}
.cta-contact-button:hover::before {
  transform: scaleX(1);
}
.cta-contact-button:hover {
  color: #262626;
  border-color: #fff;
}
.cta-contact-arrow {
  display: inline-flex;
  align-items: center;
  width: 20px;
  height: 18px;
  margin-left: 8px;
  flex-shrink: 0;
}
.cta-contact-arrow-line {
  width: 10px;
  height: 2px;
  background: currentColor;
  transition: width 0.3s ease;
}
.cta-contact-arrow-head {
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: -4px;
}
.cta-contact-button:hover .cta-contact-arrow-line {
  width: 13px;
}

.footer-link {
  text-decoration: none;
  color: var(--text-black);
  position: relative;
  display: inline-block;
}

.social-link {
  position: relative;
  display: inline-block;
  color: var(--text-black);
  text-decoration: none;
}
.social-link::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: #b2b8c2;
}
.social-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: #262626;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}
.social-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.legal-link-spaced {
  margin-left: 3rem;
}

.contact-link {
  position: relative;
  text-decoration: none;
  display: inline-block;
  color: var(--text-black);
}
.contact-link::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: #b2b8c2;
}
.contact-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: #262626;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}
.contact-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.animated-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: #000;
  text-decoration: none;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.1;
}
.animated-link-text {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}
.animated-link-text::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #b7bec8;
}
.animated-link-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #000;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s ease;
}
.animated-link:hover .animated-link-text::after {
  transform: scaleX(1);
}
.animated-link-arrow {
  width: 28px;
  height: 24px;
  flex-shrink: 0;
  stroke: #b7bec8;
  stroke-width: 2.5;
  fill: none;
  transition:
    stroke 0.3s ease,
    transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.animated-link:hover .animated-link-arrow {
  stroke: #000;
  transform: translateX(8px);
}

/* =========================================================
   6. CTA band ("Ready to get started?") — reused on several pages
   ========================================================= */
.cta-band {
  margin-top: 7.5rem;
  background-color: var(--color-secondary);
}
.cta-band-inner {
  padding-block: 5rem;
  color: var(--text-white);
}
.cta-band-content {
  display: grid;
  padding: 1.5rem;
  align-items: center;
  text-align: center;
}
.cta-band-title {
  font-size: 3.75rem;
  line-height: 1;
  font-weight: 600;
  max-width: 56rem;
  margin-inline: auto;
  margin-bottom: 3rem;
}
.cta-band-subtitle {
  font-size: 1.25rem;
  line-height: 1.4;
  font-weight: 400;
  margin-top: 1rem;
  max-width: 56rem;
  margin-inline: auto;
  margin-bottom: 1rem;
}
.cta-band-action {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

/* =========================================================
   7. Footer — light theme (site pages)
   ========================================================= */
.site-footer {
  padding-top: 5rem;
  padding-bottom: 2.5rem;
}
.footer-top {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
@media (min-width: 64rem) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
  }
}
.footer-about {
  max-width: 36rem;
}
.footer-about-title {
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.25;
}
.footer-about-text {
  margin-top: 1rem;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.625;
  color: var(--text-gray);
}
.footer-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
}
@media (min-width: 40rem) {
  .footer-columns {
    gap: 10rem;
  }
}
.footer-col-title {
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.4;
  margin-bottom: 1.5rem;
}
.footer-col-list {
  font-size: 1rem;
  line-height: 1.5;
}
.footer-col-list li + li {
  margin-top: 1rem;
}
.footer-bottom {
  margin-top: 7.5rem;
  font-size: 1rem;
  line-height: 1.5;
  padding-top: 2.5rem;
}
.footer-bottom-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.footer-copyright {
  text-align: left;
}
.footer-legal {
  text-align: right;
}

/* ---------------------------------------------------------
   Footer — dark theme (case study pages)
   --------------------------------------------------------- */
.case-footer {
  padding: 1.5rem 0;
}
.case-footer-inner {
  padding-top: 5rem;
  margin-bottom: 3rem;
}
.case-footer-quote-wrap {
  font-size: 0.75rem;
  line-height: calc(1 / 0.75);
  font-weight: 700;
  text-align: center;
  color: var(--text-white);
  letter-spacing: 0.1em;
  margin-bottom: 7.5rem;
}
.case-footer-quote {
  font-size: 2.25rem;
  line-height: calc(2.5 / 2.25);
  margin-bottom: 3rem;
}
.case-footer-row {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  font-size: 0.875rem;
  line-height: calc(1.25 / 0.875);
  color: var(--text-white);
}
@media (min-width: 64rem) {
  .case-footer-row {
    flex-direction: row;
  }
}
.case-footer-col {
  width: 100%;
}
@media (min-width: 64rem) {
  .case-footer-col {
    width: 50%;
  }
  .case-footer-col--right {
    text-align: right;
  }
}
.case-footer-copyright {
  margin-bottom: 0.5rem;
}
.case-footer-links {
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
@media (min-width: 64rem) {
  .case-footer-links {
    justify-content: flex-end;
  }
}

/* =========================================================
   8. Home page
   ========================================================= */
.home-hero {
  padding-block: 6rem;
}
@media (min-width: 48rem) {
  .home-hero {
    padding-block: 4.5rem;
  }
}
.home-hero-inner {
  margin-top: 9rem;
  padding-top: 0.5rem;
  padding-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (min-width: 64rem) {
  .home-hero-inner {
    flex-direction: row;
  }
}
.home-hero-content {
  width: 100%;
}
.home-hero-title {
  font-weight: 600;
  font-size: 2.25rem;
  line-height: calc(2.5 / 2.25);
  padding-bottom: 3rem;
}
@media (min-width: 64rem) {
  .home-hero-title {
    font-size: 6rem;
    line-height: 1;
  }
}
.home-hero-subtitle {
  max-width: 56rem;
  font-size: 1.25rem;
  line-height: 1.4;
  font-weight: 400;
  margin-bottom: 3.5rem;
}

.home-feature {
  padding-top: 0;
  padding-bottom: 0;
}
.home-feature-body {
  padding-block: 1.5rem;
}
.home-feature-title {
  font-size: 2.25rem;
  line-height: calc(2.5 / 2.25);
  font-weight: 500;
  margin-bottom: 1.5rem;
  margin-top: 1rem;
}
.home-feature-desc {
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--text-black);
}
.home-feature-meta {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 400;
  color: var(--text-gray-500);
}

.home-projects {
  padding-top: 5rem;
  margin-bottom: 5rem;
}
.project-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 48rem) {
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.project-card {
  overflow: hidden;
}
.project-card-img {
  width: 100%;
  height: 25rem;
  object-fit: cover;
}
.project-card-body {
  padding-block: 1.5rem;
  margin-top: 1.5rem;
}
.project-card-title {
  font-size: 1.5rem;
  line-height: calc(2 / 1.5);
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.project-card-desc {
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 400;
  margin-bottom: 1rem;
}
.project-card-meta {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 400;
  color: var(--text-gray);
}

.home-statement {
  margin-bottom: 10rem;
}
.home-statement-inner {
  max-width: 56rem;
}
.home-statement-title {
  font-weight: 600;
  font-size: 3.75rem;
  line-height: 1;
  margin-bottom: 2.5rem;
}
.home-statement-text {
  margin-top: 1.5rem;
  font-size: 1.5rem;
  line-height: calc(2 / 1.5);
}
.home-statement-cta {
  margin-top: 8rem;
}

/* =========================================================
   9. About page
   ========================================================= */
.hero-title-lg {
  font-weight: 600;
  font-size: 3.75rem;
  line-height: 1.25;
  margin-bottom: 2.5rem;
}
.hero-subtitle-lg {
  margin-top: 1.5rem;
  font-size: 1.25rem;
  line-height: 1.4;
  max-width: 42rem;
}

.about-hero {
  padding-block: 6rem;
}
.about-hero-content {
  max-width: 72rem;
}

.about-philosophy {
  padding-top: 0.5rem;
  padding-bottom: 2.5rem;
}
.about-philosophy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: center;
}
.about-philosophy-text,
.about-philosophy-media {
  padding: 1rem;
}
.about-philosophy-heading {
  font-size: 2.25rem;
  font-weight: 600;
  margin-bottom: 2.5rem;
}
.about-philosophy-list {
  font-size: 1.125rem;
  line-height: calc(1.75 / 1.125);
}
.about-philosophy-list li + li {
  margin-top: 2.5rem;
}

.about-statement {
  padding-block: 6rem;
}
@media (min-width: 48rem) {
  .about-statement {
    padding-block: 4.5rem;
  }
}
.about-statement-inner {
  padding-top: 0.5rem;
  padding-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (min-width: 64rem) {
  .about-statement-inner {
    flex-direction: row;
  }
}
.about-statement-content {
  max-width: 56rem;
}
.about-statement-lead {
  font-size: 1.25rem;
  line-height: 1.4;
  margin-bottom: 5rem;
}
.about-statement-body {
  font-size: 1.25rem;
  line-height: 1.4;
  margin-bottom: 3rem;
}

/* =========================================================
   10. Services page
   ========================================================= */
.services-hero {
  padding-block: 6rem;
}
.services-hero-content {
  max-width: 72rem;
}

.services-block {
  /* uses .page-container + .section-intro for spacing */
}
.services-block .split-panel-heading {
  padding-top: 50px;
}
.split-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 300px;
}
@media (max-width: 768px) {
  .split-panel {
    grid-template-columns: 1fr;
  }
}
.split-panel-heading {
  font-size: 2.25rem;
  font-weight: 600;
  margin-bottom: 2.5rem;
}
.split-panel-desc {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 2.5rem;
}
.split-panel-list {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 2.5rem;
}
.split-panel-list-item {
  margin-bottom: 1rem;
}
.split-panel-img {
  border-radius: 1rem;
}

.services-highlight {
  max-width: 80rem;
  margin-inline: auto;
  padding-block: 6rem;
  padding-inline: 6rem;
  margin-bottom: 7.5rem;
  background-color: #f2f4f7;
  border-radius: 1rem;
}
.services-highlight-inner {
  max-width: 56rem;
}
.services-highlight-title {
  font-size: 2.25rem;
  font-weight: 600;
  margin-bottom: 2.5rem;
}
.services-highlight-text {
  font-size: 1.25rem;
  line-height: 1.4;
}

.services-grid {
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 4rem;
  row-gap: 4rem;
  margin-bottom: 5rem;
}
@media (min-width: 48rem) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.services-grid-title {
  margin-top: 1.5rem;
  font-size: 1.875rem;
  line-height: 1.2;
  font-weight: 400;
}
.services-grid-desc {
  margin-top: 0.75rem;
  font-size: 1.125rem;
  line-height: calc(1.75 / 1.125);
}

/* =========================================================
   11. Contact page
   ========================================================= */
.contact-hero {
  padding-block: 6rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 48rem) {
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.contact-form-col > * + * {
  margin-top: 1.5rem;
}
.contact-title {
  font-size: 3.75rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 5rem;
}
.contact-subtitle {
  font-weight: 400;
  font-size: 2.25rem;
  line-height: calc(2.5 / 2.25);
  margin-bottom: 5rem;
}
.contact-text {
  font-size: 1.25rem;
  line-height: 1.4;
  margin-bottom: 3rem;
}
.contact-label {
  font-weight: 400;
  font-size: 1.5rem;
  line-height: calc(2 / 1.5);
  margin-bottom: 1rem;
  color: var(--text-gray-500);
}
.contact-email {
  color: var(--text-black);
  font-size: 1.5rem;
  line-height: calc(2 / 1.5);
  font-weight: 500;
}

/* =========================================================
   12. Work listing page
   ========================================================= */
.work-hero {
  padding-block: 6rem;
}
.work-hero-content {
  max-width: 72rem;
}
.work-hero-title {
  font-weight: 600;
  font-size: 3.75rem;
  line-height: 1.25;
  margin-bottom: 0;
}

.work-projects {
  margin-top: 2.5rem;
}
.work-projects-grid {
  display: grid;
  gap: 5rem;
}
@media (min-width: 48rem) {
  .work-projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.work-project-card {
  margin-bottom: 2.5rem;
}
.project-card-meta-wrap {
  margin-top: 1.5rem;
  padding-top: 1rem;
}
.work-project-title {
  font-size: 1.5rem;
  line-height: calc(2 / 1.5);
  font-weight: 500;
  margin-bottom: 1rem;
}
.work-project-desc {
  margin-bottom: 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 400;
}
.work-project-desc--muted {
  color: var(--text-gray);
}

/* =========================================================
   13. Case study pages (work/cac, work/hirten)
   ========================================================= */
.case-hero {
  padding-block: 6rem;
  color: var(--text-white);
}
@media (min-width: 48rem) {
  .case-hero {
    padding-block: 5rem;
  }
}
.case-hero-inner {
  margin-top: 7.5rem;
  padding-top: 0.5rem;
  padding-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (min-width: 64rem) {
  .case-hero-inner {
    flex-direction: row;
  }
}
.case-hero-content {
  width: 100%;
}
.case-hero-title {
  font-size: 3rem;
  line-height: 1;
  font-weight: 500;
  color: var(--text-white);
  margin-bottom: 3rem;
}
.case-hero-subtitle {
  color: var(--text-white);
  font-size: 1.875rem;
  line-height: 1.2;
  font-weight: 500;
  padding-bottom: 2.5rem;
}

.case-overview {
  width: 100%;
  margin-inline: auto;
  padding-inline: 1.5rem;
  padding-block: 10rem;
}
.case-overview-title {
  font-weight: 600;
  font-size: 2.25rem;
  line-height: calc(2.5 / 2.25);
  margin-bottom: 3.5rem;
}
.case-overview-text {
  margin-bottom: 1.5rem;
}
.case-overview-subhead {
  font-size: 1.25rem;
  line-height: 1.4;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.case-overview-tags {
  font-size: 1.25rem;
  line-height: 1.4;
  font-weight: 600;
  margin-bottom: 3rem;
}
.case-overview-link {
  color: var(--brand);
  font-size: 0.875rem;
  line-height: calc(1.25 / 0.875);
  font-weight: 600;
  text-decoration: none;
}
.case-overview-link:hover {
  text-decoration: underline;
}

.case-gallery {
  margin-bottom: 5rem;
}
.case-gallery-img {
  width: 100%;
  height: 100%;
  border-radius: 1rem;
}
