html {
  scroll-behavior: smooth;
  color-scheme: light;
}

[data-theme="dark"] {
  color-scheme: dark;
}

/* Accessibility: Skip Link */
.skip-link {
  position: absolute;
  top: -999px;
  left: 16px;
  z-index: 10000;
  padding: 12px 20px;
  background: var(--ink, #131313);
  color: var(--paper, #FAF9F5);
  border-radius: 8px;
  font-family: "Sk-Modernist Bold", sans-serif;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: top 0.2s ease;
}

.skip-link:focus-visible {
  top: 16px;
}

/* Focus States: Visible outline for keyboard navigation */
:focus-visible {
  outline: 2px solid var(--accent-dark, #094020);
  outline-offset: 3px;
}

[data-theme="dark"] :focus-visible {
  outline-color: var(--accent-light, #DFFCA1);
}

/* Touch responsiveness: eliminate 300ms double-tap delay */
a, button, input, textarea, select, .navbar-button, .tilted-card-figure, .works-main-card, [role="button"], [role="link"], [tabindex="0"] {
  touch-action: manipulation;
}

/* Typography wrapping */
h1, h2, h3, .display-hero, .case-title {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

/* Tabular numbers for clean stats and metrics alignment */
.hero-meta, .case-meta-list, .case-stat-number, .time-slot, .stat-value {
  font-variant-numeric: tabular-nums;
}

/* Base HTML */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Gilroy Light', sans-serif;
  opacity: 0;
}

/* Hide default cursor */
body {
  cursor: none;
}

/* Custom cursor container */
#custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 26px;
  height: 26px;
  pointer-events: none;
  z-index: 9999;
  transform: translate3d(var(--cx, -999px), var(--cy, -999px), 0) translate(-50%, -50%) scale(var(--c-scale, 1));
  transition: transform 0.08s ease-out;
}

#custom-cursor img {
  width: 100%;
  height: 100%;
}

.cursor-hidden {
  opacity: 0;
}

.pointer-active {
  --c-scale: 1.15;
}

@media (hover: none) {
  body {
    cursor: auto;
  }
  #custom-cursor {
    display: none;
  }
}

.screen-fade-out {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.fade-in {
    opacity: 1;
    transition: opacity 0.5s ease;
}

@font-face {
    font-family: 'Sk-Modernist Regular';
    src: url(/fonts/Sk-Modernist-Regular.woff2) format('woff2'),
         url(/fonts/Sk-Modernist-Regular.otf) format('opentype');
    font-display: swap;
}

@font-face {
    font-family: 'Sk-Modernist Bold';
    src: url(/fonts/Sk-Modernist-Bold.woff2) format('woff2'),
         url(/fonts/Sk-Modernist-Bold.otf) format('opentype');
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy Light';
    src: url(/fonts/Gilroy-Light.woff2) format('woff2'),
         url(/fonts/Gilroy-Light.otf) format('opentype');
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy ExtraBold';
    src: url(/fonts/Gilroy-ExtraBold.woff2) format('woff2'),
         url(/fonts/Gilroy-ExtraBold.otf) format('opentype');
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy SemiBold';
    src: url(/fonts/Gilroy-Bold.woff2) format('woff2'),
         url(/fonts/Gilroy-Bold.ttf) format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Awesome Serif Bold Regular';
    src: url(/fonts/AwesomeSerif-BoldRegular.woff2) format('woff2'),
         url(/fonts/AwesomeSerif-BoldRegular.otf) format('opentype');
    font-display: swap;
}

@font-face {
    font-family: 'Awesome Serif SemiBd Extra Tall';
    src: url(/fonts/AwesomeSerif-SemBdExtraTall.woff2) format('woff2'),
         url(/fonts/AwesomeSerif-SemBdExtraTall.otf) format('opentype');
    font-display: swap;
}

@font-face {
    font-family: 'Awesome Serif SemiBd Extra Tall Italic';
    src: url(/fonts/AwesomeSerifItalic-SmExraTall.woff2) format('woff2'),
         url(/fonts/AwesomeSerifItalic-SmExraTall.otf) format('opentype');
    font-display: swap;
}

:root {
  --paper: #FBF9F3;
  --ink: #1C1C1C;
  --muted: #696969;
  --accent-dark: #094020;
  --accent-light: #DFFCA1;
  --bg: var(--paper);
  --text: var(--ink);
  --text-muted: var(--muted);
  --dot-color: rgba(9, 64, 32, 0.14);
  --divider-color: rgba(28, 28, 28, 0.15);
  --navbar-scrolled-bg: rgba(251, 249, 243, 0.72);
}

[data-theme="dark"] {
  --bg: #131417;
  --text: #EDEBE4;
  --text-muted: #9A9A96;
  --dot-color: rgba(237, 235, 228, 0.08);
  --divider-color: rgba(255, 255, 255, 0.15);
  --navbar-scrolled-bg: rgba(19, 20, 23, 0.72);
  --ink: #EDEBE4;
  --paper: #131417;
}

body.paper-grid {
  background-color: var(--bg);
  color: var(--text);
  background-image: radial-gradient(var(--dot-color) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  background-position: var(--dot-shift-x, 0px) var(--dot-shift-y, 0px);
  background-attachment: fixed;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: transparent;
  height: 80px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  box-sizing: border-box;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background-color: var(--navbar-scrolled-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(28, 28, 28, 0.06);
}

.navbar-left,
.navbar-right {
  display: flex;
  align-items: center;
}

.navbar-left {
  gap: 40px;
}

.navbar-left img {
  height: 40px;
  width: auto;
  cursor: pointer;
}

.navbar-left img:hover {
  transform: scale(1.2);
  transition: ease-in-out 0.175s;
}

[data-theme="dark"] .navbar-left img {
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}

/* THEME TOGGLE */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background-color: var(--ink);
  cursor: pointer;
  transition: transform 0.175s ease-in-out, background-color 0.3s ease;
}

.theme-toggle:hover {
  transform: scale(1.2);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  stroke: var(--paper);
}

.theme-toggle .icon-sun {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-nav-links {
  display: contents;
}

.hamburger {
  display: none;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  z-index: 10;
}

.hamburger-label {
  color: #fff;
  font-family: "Sk-Modernist Bold";
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  line-height: 1;
}

.hamburger-icon {
  position: relative;
  width: 18px;
  height: 12px;
  flex-shrink: 0;
}

.hamburger-icon span {
  background: #fff;
  height: 2px;
  width: 100%;
  position: absolute;
  left: 0;
  transition: transform 0.3s ease, top 0.3s ease, opacity 0.3s ease;
}

.hamburger-icon span:nth-child(1) { top: 0; }
.hamburger-icon span:nth-child(2) { top: 10px; }

.hamburger.active .hamburger-icon span:nth-child(1) {
  transform: rotate(45deg);
  top: 5px;
}
.hamburger.active .hamburger-icon span:nth-child(2) {
  transform: rotate(-45deg);
  top: 5px;
}

@media (max-width: 768px) {
  .navbar {
    z-index: 1000;
  }
  .navbar.scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .navbar-right {
    display: block;
    flex-direction: column;
    position: fixed;
    top: auto;
    bottom: 24px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: auto;
    min-width: 0;
    max-width: calc(100% - 32px);
    background: #131313;
    border-radius: 28px;
    padding: 0;
    transition: min-width 0.3s ease;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    opacity: 1;
    pointer-events: auto;
    z-index: 1000;
  }
  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.25s ease, padding 0.3s ease;
  }
  .navbar-right.show {
    min-width: 240px;
  }
  .navbar-right.show .mobile-nav-links {
    max-height: 320px;
    opacity: 1;
    padding: 12px 8px 0;
  }
  .mobile-nav-links a {
    text-decoration: none;
  }
  .mobile-nav-links .navbar-button,
  .mobile-nav-links .navbar-button-contact {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    color: #fff;
    text-align: center;
    justify-content: center;
    text-transform: uppercase;
    font-size: 15px;
    letter-spacing: 0.5px;
    padding: 14px 16px;
    border-radius: 16px;
  }
  .mobile-nav-links .navbar-button:active,
  .mobile-nav-links .navbar-button:hover,
  .mobile-nav-links .navbar-button-contact:active,
  .mobile-nav-links .navbar-button-contact:hover {
    background: #fff !important;
    color: #000 !important;
  }
  .hamburger {
    display: flex;
    width: auto;
    height: auto;
    padding: 16px 20px;
  }
}

.navbar-button {
  padding: 10.5px 24px;
  border: none;
  border-radius: 30px;
  color: rgba(28, 28, 28, 0.9);
  cursor: pointer;
  font-size: 16px;
  font-family: "Sk-Modernist Bold";
  line-height: 1.75;
  transition: transform 0.175s ease;
}

.navbar-button:hover {
  transform: translateY(-2px);
}

.navbar-button-contact {
  padding: 10.5px 24px;
  border: none;
  border-radius: 30px;
  color: #DFFCA1;
  cursor: pointer;
  font-size: 16px;
  font-family: "Sk-Modernist Bold";
  line-height: 1.75;
  transition: transform 0.175s ease, background-color 0.175s ease;
}

.navbar-button-contact:hover {
  background: #DFFCA1 !important;
  color: #094020;
  transform: translateY(-2px);
}

.navbar-right a {
  text-decoration: none !important;
}

/* CASE STUDY CONTAINER */
.case-study {
  max-width: 1300px;
  margin: 0 auto;
  padding: 120px 24px 0;
  box-sizing: border-box;
}

.case-header {
  margin-bottom: 60px;
}

.case-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: var(--muted);
  text-decoration: none;
  font-family: "Sk-Modernist Regular";
  margin-bottom: 24px;
  transition: color 0.2s ease;
}

.case-breadcrumb:hover {
  color: var(--ink);
}

.case-breadcrumb-arrow {
  width: 14px;
  height: 14px;
  transform: rotate(180deg);
}

.case-breadcrumb span {
  color: var(--ink);
  font-family: 'Gilroy SemiBold', sans-serif;
}

.case-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 16px;
}

.case-title-logo-container {
  display: flex;
  align-items: center;
  gap: 14px;
}

.case-title-logo-img {
  height: clamp(40px, 5.5vw, 60px);
  width: auto;
  display: block;
  filter: brightness(0);
  transition: filter 0.3s ease;
}

[data-theme="dark"] .case-title-logo-img {
  filter: brightness(1) invert(0);
}

.case-title-logo-suffix {
  font-family: 'Gilroy ExtraBold', sans-serif;
  font-size: clamp(34px, 5vw, 52px);
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
}

.case-logo {
  font-family: 'Gilroy ExtraBold', sans-serif;
  font-size: clamp(36px, 6vw, 64px);
  color: var(--ink);
  letter-spacing: -0.03em;
}

.case-meta {
  display: flex;
  gap: 12px;
  align-items: center;
}

.case-meta-tag {
  background: var(--ink);
  color: var(--accent-light);
  padding: 6px 14px;
  border-radius: 20px;
  font-family: 'Gilroy SemiBold', sans-serif;
  font-size: 13px;
}

.case-meta-year {
  font-family: 'Gilroy Light', sans-serif;
  font-size: 14px;
  color: var(--muted);
}

.case-intro {
  font-family: 'Gilroy Light', sans-serif;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 40px;
  max-width: 960px;
}

.case-services {
  margin-bottom: 48px;
}

.case-services h4 {
  font-family: 'Gilroy SemiBold', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 12px;
}

.case-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.case-pill {
  background: rgba(28, 28, 28, 0.06);
  color: var(--ink);
  padding: 8px 18px;
  border-radius: 25px;
  font-family: 'Gilroy Light', sans-serif;
  font-size: 14px;
}

[data-theme="dark"] .case-pill {
  background: rgba(255, 255, 255, 0.08);
}

.case-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.case-cols h4 {
  font-family: 'Gilroy SemiBold', sans-serif;
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 12px;
}

.case-cols p {
  font-family: 'Gilroy Light', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

/* HERO SHOT */
.case-hero--shot {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 60px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
  background: #0d0d0f;
  position: relative;
}

.case-hero-shot-img {
  width: 100%;
  height: auto;
  display: block;
}

.case-hero-shot-caption {
  position: absolute;
  bottom: 20px;
  left: 24px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(12px);
  color: #fff;
  padding: 8px 18px;
  border-radius: 20px;
  font-family: 'Gilroy Light', sans-serif;
  font-size: 14px;
}

/* PROBLEM & SOLUTION */
.case-problem {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 60px;
}

.case-problem-block {
  padding: 36px;
  border-radius: 20px;
  box-sizing: border-box;
}

.case-problem-before {
  background-color: #F2F4F6;
}

.case-problem-before .case-problem-label {
  background-color: rgba(28, 28, 28, 0.08);
  color: var(--muted);
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-family: 'Gilroy ExtraBold', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.case-problem-before p {
  color: var(--ink);
  margin: 0;
  line-height: 1.6;
}

.case-problem-after {
  background-color: var(--accent-dark);
}

.case-problem-after .case-problem-label {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--accent-light);
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-family: 'Gilroy ExtraBold', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.case-problem-after p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .case-problem {
    grid-template-columns: 1fr;
  }
}

/* STATS */
.case-stats {
  margin-top: 64px;
}

.case-stats-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.case-stats-header h4 {
  margin: 0;
  font-size: 16px;
  font-family: "Sk-Modernist Bold";
  color: var(--ink);
}

.case-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.case-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 24px;
  border-radius: 20px;
  background-color: #F2F4F6;
}

.case-stat-value {
  font-family: "Gilroy ExtraBold";
  font-size: clamp(24px, 2.5vw, 36px);
  color: var(--accent-dark);
}

.case-stat-label {
  font-family: "Sk-Modernist Regular";
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
}

@media (max-width: 900px) {
  .case-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .case-stats-row {
    grid-template-columns: 1fr;
  }
}

/* OUTCOME CARDS */
.case-cards-row-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .case-cards-row-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .case-cards-row-3 {
    grid-template-columns: 1fr;
  }
}

.case-stat--accent {
  background-color: var(--accent-dark);
}

.case-stat--accent .case-stat-value {
  color: var(--accent-light);
  font-family: "Gilroy SemiBold";
  font-size: 19px;
}

.case-stat--accent .case-stat-label {
  color: rgba(255, 255, 255, 0.65);
}

.case-outcome {
  margin-top: 64px;
}

.case-outcome-copy {
  margin: 0 0 32px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  font-family: "Gilroy Light";
  letter-spacing: 0px;
}

/* KEY TAKEAWAYS */
.case-takeaways {
  margin-top: 64px;
  margin-bottom: 64px;
  padding-top: 64px;
  border-top: 1px solid rgba(28, 28, 28, 0.1);
}

.case-takeaways-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 780px;
}

.case-takeaways-list li {
  position: relative;
  padding-left: 28px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  font-family: "Gilroy Light";
  letter-spacing: 0px;
}

.case-takeaways-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--accent-dark);
}

/* STATEMENT */
.case-statement {
  margin: 64px 0;
  padding: 140px 10%;
  border-radius: 24px;
  background-color: #131313;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 24px 24px;
}

.case-statement h2 {
  margin: 0;
  text-align: center;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.2;
  font-family: "Gilroy SemiBold";
  letter-spacing: -1px;
  color: rgba(255, 255, 255, 0.35);
}

.case-statement h2 span {
  color: #fff;
  font-family: "Awesome Serif Bold Regular", "Awesome Serif SemiBd Extra Tall", serif;
  font-style: normal;
  font-weight: normal;
}

/* GRID */
.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 64px;
}

.case-grid-block {
  border-radius: 24px;
  min-height: 320px;
  padding: 40px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-grid-brand {
  background-color: var(--accent-dark);
  align-items: center;
  gap: 8px;
}

.case-grid-brand-logo {
  height: 48px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.case-grid-brand-text {
  font-family: "Gilroy ExtraBold";
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.15;
  color: var(--accent-light);
  text-align: center;
}

.case-grid-status {
  background-color: #131313;
  color: #fff;
}

.case-grid-status h3 {
  margin: 0 0 12px;
  font-size: 22px;
  font-family: "Sk-Modernist Regular";
  color: rgba(255, 255, 255, 0.7);
}

.case-grid-status h3 strong {
  font-family: "Sk-Modernist Bold";
  color: var(--accent-light);
}

.case-grid-status p {
  margin: 0;
  font-family: "Gilroy Light";
  letter-spacing: 0px;
  color: rgba(255, 255, 255, 0.5);
}

.case-grid-features {
  background-color: #fff;
  border: 1px solid rgba(28, 28, 28, 0.08);
}

[data-theme="dark"] .case-grid-features {
  background-color: #1a1c20;
  border-color: #2b2e34;
}

.case-grid-features ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.case-grid-features li {
  font-family: "Sk-Modernist Bold";
  font-size: 17px;
  color: var(--ink);
  padding-left: 28px;
  position: relative;
}

.case-grid-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--accent-dark);
}

@media (max-width: 768px) {
  .case-grid {
    grid-template-columns: 1fr;
  }
}

/* PRODUCT SCREENS - PROMINENT FULL SIZE 10-FOOT TV PREVIEWS */
.case-screens {
  margin-bottom: 64px;
}

.case-screens-heading {
  margin: 0 0 24px;
  font-size: 16px;
  font-family: "Sk-Modernist Bold";
  color: var(--ink);
}

.case-live-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 56px !important;
  width: 100% !important;
}

.case-live-item {
  margin: 0 !important;
  width: 100% !important;
}

.case-live-item .case-browser-frame {
  width: 100% !important;
  border-radius: 24px !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25) !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background-color: #0d0d0f !important;
}

.case-live-item .case-browser-frame img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  object-fit: cover !important;
  transition: transform 0.4s ease !important;
}

.case-live-item .case-browser-frame img:hover {
  transform: scale(1.015) !important;
}

.case-live-item figcaption {
  margin-top: 18px !important;
  font-family: "Sk-Modernist Bold" !important;
  font-size: 17px !important;
  color: var(--ink) !important;
  text-align: center !important;
}

/* FOOTER NAV */
.case-footer-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 100px;
}

.case-nav-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid rgba(28, 28, 28, 0.15);
  background: none;
  color: var(--ink);
  text-decoration: none;
  font-family: "Sk-Modernist Bold";
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.175s ease;
}

.case-nav-button:hover {
  background-color: rgba(129, 140, 161, 0.1);
}

.case-nav-back-arrow {
  width: 22px;
  height: auto;
  transform: rotate(180deg);
}

.case-nav-top-arrow {
  width: 22px;
  height: auto;
  transform: rotate(-90deg);
}

/* SITE FOOTER - IDENTICAL TO HOMEPAGE */
footer {
  display: block;
  position: relative;
  background-color: #000;
  padding: 115px 80px;
}

footer h1 {
  margin: 0 0 32px 0;
  font-size: 60px;
  color: #fff;
  font-family: "Awesome Serif SemiBd Extra Tall Italic";
}

footer h3 {
  margin: 0 0 4px 0;
  font-size: 32px;
  color: #696969;
  font-family: "Sk-Modernist Bold";
}

footer a {
  margin: 0;
  font-size: 24px;
  color: #696969;
  font-family: "Sk-Modernist Regular";
  text-decoration: none;
  display: inline-block;
  max-width: 100%;
  word-break: break-word;
  transition: color 0.2s ease;
}

footer a:hover {
  color: #DFFCA1;
}

footer img {
  filter: invert(1);
  margin-right: 40px;
  width: 60px;
  height: auto;
  margin-bottom: 40px;
  transition: ease-in-out 0.175s;
  cursor: pointer;
}

footer img:hover {
  transform: scale(1.2);
  transition: ease-in-out 0.175s;
}

.footer-back-to-top {
  position: absolute;
  top: 115px;
  right: 80px;
  width: 64px;
  height: 64px;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}

.footer-back-to-top img {
  width: 100%;
  height: 100%;
  filter: none;
  margin: 0;
  transform: rotate(180deg);
  transition: transform 0.2s ease;
}

.footer-back-to-top:hover img {
  transform: rotate(180deg) translateY(-4px);
}

@media (max-width: 700px) {
  .footer-back-to-top {
    display: none;
  }
}

@media (max-width: 768px) {
  .navbar { padding: 20px; }
  .navbar-left img { height: 30px; }
  .case-study { padding-top: 100px; }
  .case-title-row { align-items: flex-start; }
  .case-meta { align-items: flex-start; }
  .case-statement { padding: 90px 8%; }
  footer { padding: 60px 32px; }
  footer h1 { font-size: 36px; }
  footer p { font-size: 18px; }
}

@media (max-width: 390px) {
  .navbar { padding-left: 16px; padding-right: 16px; }
  .case-study { padding-left: 16px; padding-right: 16px; }
  footer { padding-left: 16px; padding-right: 16px; }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .tilted-card-figure .tilted-card-inner,
  .tilted-card-figure .tilted-card-caption {
    transform: none !important;
    transition: none !important;
  }

  #custom-cursor,
  #cursor-greeting {
    display: none !important;
  }

  body {
    cursor: auto !important;
  }
}
