/* ==========================================================================
   Ravi Kumar - Senior UX/UI Designer Portfolio
   Exact Home Stage, Scroll Architecture & Footer matching attached design screens
   ========================================================================== */

/* Mabry Pro Font Family Declarations */
@font-face {
  font-family: 'Mabry Pro';
  src: url('../font/MabryPro-Bold.eot');
  src: local('Mabry Pro Bold'), local('MabryPro-Bold'),
    url('../font/MabryPro-Bold.eot?#iefix') format('embedded-opentype'),
    url('../font/MabryPro-Bold.woff2') format('woff2'),
    url('../font/MabryPro-Bold.woff') format('woff'),
    url('../font/MabryPro-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Mabry Pro';
  src: url('../font/MabryPro-Medium.eot');
  src: local('Mabry Pro Medium'), local('MabryPro-Medium'),
    url('../font/MabryPro-Medium.eot?#iefix') format('embedded-opentype'),
    url('../font/MabryPro-Medium.woff2') format('woff2'),
    url('../font/MabryPro-Medium.woff') format('woff'),
    url('../font/MabryPro-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Mabry Pro';
  src: url('../font/MabryPro-Black.eot');
  src: local('Mabry Pro Black'), local('MabryPro-Black'),
    url('../font/MabryPro-Black.eot?#iefix') format('embedded-opentype'),
    url('../font/MabryPro-Black.woff2') format('woff2'),
    url('../font/MabryPro-Black.woff') format('woff'),
    url('../font/MabryPro-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Mabry Pro';
  src: url('../font/MabryPro-Light.eot');
  src: local('Mabry Pro Light'), local('MabryPro-Light'),
    url('../font/MabryPro-Light.eot?#iefix') format('embedded-opentype'),
    url('../font/MabryPro-Light.woff2') format('woff2'),
    url('../font/MabryPro-Light.woff') format('woff'),
    url('../font/MabryPro-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Mabry Pro';
  src: url('../font/MabryPro-Regular.eot');
  src: local('Mabry Pro'), local('MabryPro-Regular'),
    url('../font/MabryPro-Regular.eot?#iefix') format('embedded-opentype'),
    url('../font/MabryPro-Regular.woff2') format('woff2'),
    url('../font/MabryPro-Regular.woff') format('woff'),
    url('../font/MabryPro-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Mabry Pro';
  src: url('../font/MabryPro-Italic.eot');
  src: local('Mabry Pro Italic'), local('MabryPro-Italic'),
    url('../font/MabryPro-Italic.eot?#iefix') format('embedded-opentype'),
    url('../font/MabryPro-Italic.woff2') format('woff2'),
    url('../font/MabryPro-Italic.woff') format('woff'),
    url('../font/MabryPro-Italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Mabry Pro';
  src: url('../font/MabryPro-MediumItalic.eot');
  src: local('Mabry Pro Medium Italic'), local('MabryPro-MediumItalic'),
    url('../font/MabryPro-MediumItalic.eot?#iefix') format('embedded-opentype'),
    url('../font/MabryPro-MediumItalic.woff2') format('woff2'),
    url('../font/MabryPro-MediumItalic.woff') format('woff'),
    url('../font/MabryPro-MediumItalic.ttf') format('truetype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Mabry Pro';
  src: url('../font/MabryPro-BoldItalic.eot');
  src: local('Mabry Pro Bold Italic'), local('MabryPro-BoldItalic'),
    url('../font/MabryPro-BoldItalic.eot?#iefix') format('embedded-opentype'),
    url('../font/MabryPro-BoldItalic.woff2') format('woff2'),
    url('../font/MabryPro-BoldItalic.woff') format('woff'),
    url('../font/MabryPro-BoldItalic.ttf') format('truetype');
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Mabry Pro';
  src: url('../font/MabryPro-LightItalic.eot');
  src: local('Mabry Pro Light Italic'), local('MabryPro-LightItalic'),
    url('../font/MabryPro-LightItalic.eot?#iefix') format('embedded-opentype'),
    url('../font/MabryPro-LightItalic.woff2') format('woff2'),
    url('../font/MabryPro-LightItalic.woff') format('woff'),
    url('../font/MabryPro-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Mabry Pro';
  src: url('../font/MabryPro-BlackItalic.eot');
  src: local('Mabry Pro Black Italic'), local('MabryPro-BlackItalic'),
    url('../font/MabryPro-BlackItalic.eot?#iefix') format('embedded-opentype'),
    url('../font/MabryPro-BlackItalic.woff2') format('woff2'),
    url('../font/MabryPro-BlackItalic.woff') format('woff'),
    url('../font/MabryPro-BlackItalic.ttf') format('truetype');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Color Tokens */
  --bg-primary: #0a0a0d;
  --bg-secondary: #121216;
  --bg-tertiary: #18181e;
  --bg-header: rgba(10, 10, 13, 0.85);
  --bg-card: #0e0e12;
  --bg-modal: #0d0d10;
  
  --text-primary: #FAFAFA;
  --text-secondary: rgba(250, 250, 250, 0.78);
  --text-muted: rgba(250, 250, 250, 0.45);
  --text-faint: rgba(250, 250, 250, 0.25);
  
  --border-alpha: rgba(255, 255, 255, 0.24);
  --border-hover: rgba(255, 255, 255, 0.4);
  --border-focus: #00d2ff;
  
  --nav-size: 120px;
  
  /* Primary Font Family: Mabry Pro */
  --font-family: 'Mabry Pro', sans-serif;
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-panel: 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- Resets --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-family);
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
}

body.modal-open {
  overflow: hidden !important;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input, textarea, select {
  font-family: inherit;
}

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

h1 {
  font-family: var(--font-family);
  letter-spacing: normal;
}

h2 {
  font-family: var(--font-family);
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  color: #FAFAFA;
}

/* --- Background Multi-Color Fluid Glowing Canvas --- */
.canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

#fluid-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.65;
}

/* ==========================================================================
   STICKY HEADER NAVIGATION (Exact 4-Column 25% Grid)
   ========================================================================== */
.nav-holder {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-size);
  display: grid;
  grid-template-columns: 25% 25% 25% 25%;
  background: transparent;
  border-bottom: 1px solid var(--border-alpha);
  z-index: 999;
}

.nav-mobile-toggle,
.nav-cell.nav-mobile-toggle {
  display: none !important;
}

.nav-links-wrapper {
  display: contents;
}

.nav-cell {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 24px;
  border-right: 1px solid var(--border-alpha);
  position: relative;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: rgba(250, 250, 250, 0.6);
  background: #1A1B1F;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.nav-cell:last-child {
  border-right: none;
}

.nav-brand-cell {
  padding: 0 40px;
  background: transparent !important;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.brand-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.nav-link-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  height: 100%;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: rgba(250, 250, 250, 0.6);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.nav-arrow-icon {
  width: 20px;
  height: 20px;
  display: none;
  object-fit: contain;
  vertical-align: middle;
  opacity: 0.6;
}

.nav-cell:not(.active):hover .nav-link-inner {
  color: #FAFAFA;
}

.nav-cell.active .nav-link-inner,
.nav-cell.active:hover .nav-link-inner {
  color: rgba(250, 250, 250, 0.6);
  font-weight: 400;
  cursor: pointer;
}

.nav-cell.active .nav-arrow-icon,
.nav-cell.active:hover .nav-arrow-icon {
  display: inline-block;
  opacity: 0.6;
  cursor: pointer;
}

/* ==========================================================================
   HOME STAGE & OVERFLOW SCROLL (Fixed Stage + Peeking Body Content)
   ========================================================================== */

/* Fixed Hero Stage (Pinned in background behind scrolling cards) */
.home-fixed-stage {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 2;
  pointer-events: none;
  display: flex;
  align-items: center;
}

.home-stage-content {
  pointer-events: auto;
  padding: 0 40px 0 40px;
  max-width: 1200px;
  width: 100%;
  margin-top: calc(var(--nav-size) * -0.5);
  transform-origin: left bottom;
  transform-style: preserve-3d;
  animation: stageSkewIn 1.1s cubic-bezier(0.25, 1, 0.5, 1) 0.1s both;
}

.stage-headline {
  font-family: var(--font-family);
  font-size: 72px;
  font-weight: 500;
  line-height: 88px;
  color: var(--text-primary);
}

.stage-headline span,
.about-quote-headline span,
.contact-quote-headline span {
  display: inline-block;
  white-space: nowrap;
}

.br-mobile {
  display: none;
}

.br-desktop {
  display: inline;
}

/* Page Load & Refresh Entrance Keyframes */
@keyframes stageSkewIn {
  0% {
    opacity: 0;
    transform: translate3d(0px, 100%, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 3deg);
    transform-style: preserve-3d;
  }
  100% {
    opacity: 1;
    transform: translate3d(0px, 0%, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
    transform-style: preserve-3d;
  }
}

@keyframes cardsSkewIn {
  0% {
    opacity: 0;
    transform: translate3d(0px, 10svh, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 3deg);
    transform-style: preserve-3d;
  }
  100% {
    opacity: 1;
    transform: translate3d(0px, 0svh, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
    transform-style: preserve-3d;
  }
}

/* Scrolling Layer (Overlaid on top of fixed stage) */
.home-scroll-layer {
  position: relative;
  z-index: 10;
  width: 100%;
  /* This ensures the initial screen reveals only the top ~200px of the first card */
  padding-top: calc(100vh - 200px);
}

.projects-wrapper {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.card-75 {
  width: 75%;
  display: grid;
  grid-template-columns: 50% 50%;
  position: relative;
  z-index: 12;
  transform-origin: left bottom;
  transform-style: preserve-3d;
  animation: cardsSkewIn 1.25s cubic-bezier(0.25, 1, 0.5, 1) 0.22s both;
}

/* Staggered 2-Column Masonry */
.card-column {
  display: flex;
  flex-direction: column;
}

.card-column.col-left {
  border-right: 1px solid #58585B;
  margin-top: 45%; /* Staggered offset: column 1 starts lower */
}

.card-column.col-right {
  margin-top: 0; /* Column 2 starts at top, peeking into the bottom-right corner */
}

/* Individual Project Card Item */
.card-item {
  background: #1A1B1F;
  border-bottom: 1px solid #58585B;
  transition: background var(--transition-fast);
}

.card-item:hover {
  background: #202125;
}

.card-item:last-child {
  border-bottom: none;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 24px 24px 48px;
  cursor: pointer;
  position: relative;
  gap: 16px;
}

.card-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  background: #111;
  border-radius: 0px;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.card-item:hover .card-image img,
.card:hover .card-image img {
  transform: scale(1.04);
}

.card-title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-heading {
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  color: #FAFAFA;
  letter-spacing: -0.01em;
}

.card-arrow-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
  transform: translateX(-4px);
}

.card:hover .card-arrow-icon,
.card:focus-visible .card-arrow-icon {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* ==========================================================================
   ABOUT PAGE (Fixed Quote Stage + Scrolling 75% Body)
   ========================================================================== */
.about-fixed-stage {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 2;
  pointer-events: none;
  display: flex;
  align-items: center;
}

.about-stage-content {
  pointer-events: auto;
  padding: 0 40px 0 40px;
  max-width: 1200px;
  width: 100%;
  margin-top: calc(var(--nav-size) * -0.5);
  transform-origin: left bottom;
  transform-style: preserve-3d;
  animation: stageSkewIn 1.1s cubic-bezier(0.25, 1, 0.5, 1) 0.1s both;
}

.about-quote-headline {
  font-family: var(--font-family);
  font-size: 72px;
  font-weight: 500;
  line-height: 88px;
  color: var(--text-primary);
}

.about-scroll-layer {
  position: relative;
  z-index: 10;
  width: 100%;
  padding-top: calc(100vh - 220px);
}

.about-wrapper {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.about-75 {
  width: 75%;
  background: #1A1B1F;
  padding: 64px 0;
  display: flex;
  flex-direction: column;
  transform-origin: left bottom;
  transform-style: preserve-3d;
  animation: cardsSkewIn 1.25s cubic-bezier(0.25, 1, 0.5, 1) 0.22s both;
}

.about-block {
  display: grid;
  grid-template-columns: 1fr 2fr;
  padding: 0 0 48px 0;
  border: none;
}

.about-block:last-child {
  padding-bottom: 0;
}

.about-label {
  padding: 0 24px;
  font-family: var(--font-family);
  font-size: 48px;
  font-weight: 500;
  line-height: 56px;
  color: rgba(250, 250, 250, 0.9);
  letter-spacing: normal;
}

.about-body {
  padding: 8px 40px 0 24px;
  font-family: var(--font-family);
  font-size: 20px;
  font-weight: 300;
  line-height: 32px;
  color: rgba(250, 250, 250, 0.9);
}

.about-body p {
  margin-bottom: 1.5rem;
}

.about-body p:last-child {
  margin-bottom: 0;
}

/* Timeline */
.timeline-item {
  margin-bottom: 2rem;
  border: none;
  padding-left: 0;
  position: relative;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-title {
  font-family: var(--font-family);
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  color: rgba(250, 250, 250, 0.6);
  margin: 0;
}

.timeline-role {
  font-family: var(--font-family);
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  color: rgba(250, 250, 250, 0.9);
  margin-top: 2px;
}

.timeline-meta {
  font-family: var(--font-family);
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  color: rgba(250, 250, 250, 0.6);
  margin-top: 2px;
}

/* Education Block Specific Typography */
.education-block .timeline-title {
  font-family: var(--font-family);
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  color: rgba(250, 250, 250, 0.9);
  margin: 0;
}

.education-block .timeline-meta {
  font-family: var(--font-family);
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  color: rgba(250, 250, 250, 0.6);
  margin-top: 2px;
}

/* ==========================================================================
   CONTACT PAGE ("LET'S COLLABORATE")
   ========================================================================== */
.contact-fixed-stage {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 2;
  pointer-events: none;
  display: flex;
  align-items: center;
}

.contact-stage-content {
  pointer-events: auto;
  padding: 0 40px 0 40px;
  max-width: 960px;
  margin-top: calc(var(--nav-size) * -0.5);
  transform-origin: left bottom;
  transform-style: preserve-3d;
  animation: stageSkewIn 1.1s cubic-bezier(0.25, 1, 0.5, 1) 0.1s both;
}

.contact-quote-headline {
  font-family: var(--font-family);
  font-size: 72px;
  font-weight: 500;
  line-height: 88px;
  color: var(--text-primary);
}

.contact-scroll-layer {
  position: relative;
  z-index: 10;
  width: 100%;
  padding-top: calc(100vh - 220px);
}

.contact-wrapper {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.contact-75 {
  width: 75%;
  background: #1A1B1F;
  padding: 64px 0;
  display: grid;
  grid-template-columns: 1fr 2fr;
  transform-origin: left bottom;
  transform-style: preserve-3d;
  animation: cardsSkewIn 1.25s cubic-bezier(0.25, 1, 0.5, 1) 0.22s both;
}

.contact-left-info {
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-desc {
  font-family: var(--font-family);
  font-size: 20px;
  font-weight: 300;
  line-height: 32px;
  color: rgba(250, 250, 250, 0.9);
}

.contact-form-block {
  padding: 0 40px 0 24px;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  color: rgba(250, 250, 250, 0.9);
}

.form-input,
.form-textarea {
  width: 100%;
  background: var(--bg-tertiary);
  border: 1px solid rgba(250, 250, 250, 0.24);
  color: rgba(250, 250, 250, 0.9);
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  padding: 16px 16px;
  border-radius: 0px;
  outline: none;
  transition: border-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(250, 250, 250, 0.4);
}

.form-input:focus,
.form-textarea:focus,
.form-input:active,
.form-textarea:active {
  border-color: rgba(250, 250, 250, 0.9);
  color: rgba(250, 250, 250, 0.9);
  box-shadow: 0 0 0 1px rgba(250, 250, 250, 0.1);
}

.form-input.invalid,
.form-textarea.invalid {
  border-color: rgba(239, 68, 68, 0.8) !important;
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.3) !important;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  width: 100%;
  margin-top: 24px;
  padding: 24px 16px;
  background: transparent;
  border: 1px solid rgba(250, 250, 250, 0.24);
  border-radius: 0px;
  color: rgba(250, 250, 250, 0.6);
  font-family: var(--font-family);
  font-size: 20px;
  font-weight: 400;
  line-height: 32px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.form-submit-btn:hover {
  color: rgba(250, 250, 250, 0.9);
  background: transparent;
}

.form-submit-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  opacity: 0.6;
  display: inline-block;
  vertical-align: middle;
  transition: opacity var(--transition-fast);
}

.form-submit-btn:hover .form-submit-icon {
  opacity: 0.9;
}

.form-feedback {
  margin-top: 8px;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 0.875rem;
  display: none;
}

.form-feedback.success {
  display: block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.form-feedback.error {
  display: block;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
}

/* ==========================================================================
   FULLSCREEN FOOTER EXACTLY AS ATTACHED SCREENSHOT (Home Scroll Bottom.jpg)
   ========================================================================== */
.site-footer {
  min-height: 100vh;
  background: #000000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  position: relative;
  z-index: 20;
  border: none;
  box-sizing: border-box;
}

.footer-top-area {
  padding: 176px 40px 72px 40px;
  max-width: 1200px;
  width: 100%;
}

.footer-headline {
  font-family: var(--font-family);
  font-size: 72px;
  font-weight: 500;
  line-height: 88px;
  color: var(--text-primary);
}

.footer-headline span {
  display: inline-block;
  white-space: nowrap;
}

.footer-bottom-container {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.footer-75 {
  width: 75%;
  background: #1A1B1F;
  display: flex;
  flex-direction: column;
}

.footer-bio-box {
  padding: 40px 24px 40px 24px;
  background: transparent;
}

.footer-bio-text {
  font-family: 'Mabry Pro', var(--font-family);
  font-size: 20px;
  font-weight: 300;
  line-height: 32px;
  color: rgba(250, 250, 250, 0.9);
  max-width: 680px;
  letter-spacing: -0.01em;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border-alpha);
  border-bottom: 1px solid var(--border-alpha);
  background: transparent;
}

.footer-link-cell {
  display: flex;
  align-items: center;
  padding: 40px 24px 40px 24px;
  gap: 16px;
  border-right: 1px solid var(--border-alpha);
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: rgba(250, 250, 250, 0.6);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.footer-link-cell:last-child {
  border-right: none;
}

.footer-link-cell:hover {
  background: transparent;
  color: #FAFAFA;
}

.footer-link-cell .footer-link-icon,
.footer-link-cell .arrow {
  width: 20px;
  height: 20px;
  object-fit: contain;
  opacity: 0.6;
  color: rgba(250, 250, 250, 0.6);
  display: inline-block;
  vertical-align: middle;
  transition: opacity var(--transition-fast);
}

.footer-link-cell:hover .footer-link-icon,
.footer-link-cell:hover .arrow {
  opacity: 1;
  color: #FAFAFA;
}

.footer-copyright-bar {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  padding: 40px 24px 40px 24px;
  font-family: 'Mabry Pro', var(--font-family);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: rgba(250, 250, 250, 0.6);
  letter-spacing: -0.01em;
}

/* ==========================================================================
   PROJECT MODAL & STANDALONE 75% CASE STUDY PAGE
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  visibility: hidden;
  opacity: 0;
  justify-content: flex-end;
  align-items: flex-start;
  overflow: hidden;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
}

.modal.open {
  visibility: visible;
  opacity: 1;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  cursor: pointer;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.open .modal-overlay {
  opacity: 1;
}

.modal-75 {
  position: relative;
  z-index: 3;
  width: 75%;
  height: 100vh;
  background: #1A1B1F;
  border-left: none;
  box-shadow: none;
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translate3d(0, 60px, 0) scale3d(0.88, 0.88, 1);
  opacity: 0;
  transform-origin: center bottom;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.modal.open .modal-75 {
  transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
  opacity: 1;
}

/* Modal Close Sticky Header (Single Column) */
.modal-close-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-size);
  background: rgba(26, 27, 31, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(250, 250, 250, 0.12);
  display: flex;
  align-items: center;
  padding: 0 24px;
  z-index: 20;
  transition: height 0.3s cubic-bezier(0.25, 1, 0.5, 1), padding 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.modal-close-header.scrolled {
  height: 48px;
  padding: 8px 24px;
}

.modal-close-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: rgba(250, 250, 250, 0.6);
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.modal-close-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  opacity: 0.6;
}

.modal-close-btn:hover {
  color: rgba(250, 250, 250, 0.9);
}

.modal-close-btn:hover .modal-close-icon {
  opacity: 0.9;
}

/* Modal Body */
.modal-content-body {
  padding: 64px 24px 64px 24px;
  width: 100%;
}

/* ==========================================================================
   STANDALONE PROJECT PAGE LAYOUT (projects.html)
   ========================================================================== */
.project-scroll-layer {
  position: relative;
  z-index: 10;
  width: 100%;
  padding-top: var(--nav-size);
}

.project-wrapper {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.project-75 {
  width: 75%;
  background: #1A1B1F;
  padding: 64px 48px;
  display: flex;
  flex-direction: column;
  transform-origin: left bottom;
  transform-style: preserve-3d;
  animation: cardsSkewIn 1.25s cubic-bezier(0.25, 1, 0.5, 1) 0.22s both;
}

.project-header {
  margin-bottom: 24px;
}

.project-title,
.modal-hero-title {
  font-family: var(--font-family);
  font-size: 48px;
  font-weight: 500;
  line-height: 56px;
  color: rgba(250, 250, 250, 0.9);
  letter-spacing: normal;
  margin-bottom: 8px;
}

.project-subtitle,
.modal-hero-subtitle {
  font-family: var(--font-family);
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  color: rgba(250, 250, 250, 0.6);
  margin: 0;
}

.modal-hero-desc {
  font-family: var(--font-family);
  font-size: 20px;
  font-weight: 300;
  line-height: 32px;
  color: rgba(250, 250, 250, 0.9);
  margin: 0;
  width: 66.666%;
  max-width: 66.666%;
}

.project-header:has(.modal-hero-desc:not([style*="display: none"])) {
  margin-bottom: 48px;
}

/* Metadata Grid */
.project-meta-row,
.modal-meta-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  background-color: #202125;
  padding: 24px;
  border: 0;
  margin: 24px 0 48px 0;
}

.meta-item {
  min-width: 0;
}

.meta-item h4 {
  font-family: var(--font-family);
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  color: rgba(250, 250, 250, 0.6);
  margin-bottom: 4px;
  text-transform: none;
  letter-spacing: normal;
}

.meta-item p {
  font-family: var(--font-family);
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  color: rgba(250, 250, 250, 0.9);
  margin: 0;
  word-wrap: break-word;
}

/* Case Study Narratives (Combined 2/3 Width Container, 1/3 Right Space) */
.case-narrative {
  width: 66.666%;
  max-width: 66.666%;
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.case-narrative-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.case-narrative-heading {
  font-family: var(--font-family);
  font-size: 24px;
  font-weight: 400;
  line-height: 28px;
  color: rgba(250, 250, 250, 0.9);
  margin: 0;
}

.case-narrative p {
  font-family: var(--font-family);
  font-size: 20px;
  font-weight: 300;
  line-height: 32px;
  color: rgba(250, 250, 250, 0.9);
  margin: 0;
}

.case-narrative-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.case-narrative-list li {
  font-family: var(--font-family);
  font-size: 20px;
  font-weight: 300;
  line-height: 32px;
  color: rgba(250, 250, 250, 0.9);
  position: relative;
  padding-left: 24px;
}

.case-narrative-list li::before {
  content: "•";
  position: absolute;
  left: 4px;
  top: 0;
  color: rgba(250, 250, 250, 0.9);
  font-size: 20px;
  line-height: 32px;
}

.case-narrative-list li strong,
.case-narrative strong {
  font-weight: 500;
  color: rgba(250, 250, 250, 0.9);
}

/* Stats Callouts */
.case-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
  margin-bottom: 48px;
}

.case-stat-box {
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

.case-stat-num {
  font-family: var(--font-family);
  font-size: 48px;
  font-weight: 500;
  line-height: 56px;
  color: #2898FF;
  letter-spacing: normal;
  margin-bottom: 16px;
}

.case-stat-label {
  font-family: var(--font-family);
  font-size: 20px;
  font-weight: 300;
  line-height: 32px;
  color: rgba(250, 250, 250, 0.9);
}

/* Artifacts Visual Stream */
.case-artifacts-stream {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.case-artifact-card {
  background: #1A1B1F;
  border-radius: 0px;
  overflow: hidden;
  border: 24px solid #202125;
  box-shadow: none;
}

.case-artifact-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   VISUAL DESIGN SLIDERS & LIGHTBOX
   ========================================================================== */

.visual-design-sliders-stream {
  display: flex;
  flex-direction: column;
  gap: 48px;
  width: 100%;
  margin-top: 8px;
  margin-bottom: 48px;
}

.vd-slider-section {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.vd-slider-heading {
  font-family: var(--font-family);
  font-size: 24px;
  font-weight: 400;
  line-height: 28px;
  color: rgba(250, 250, 250, 0.9);
  margin: 0 0 24px 0;
  letter-spacing: normal;
}

.vd-slider-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  padding: 0;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
  background: transparent;
}

.vd-slider-viewport:active {
  cursor: grabbing;
}

/* Left & Right dark gradient fadeout masks merging smoothly into background */
.vd-slider-viewport::before,
.vd-slider-viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 110px;
  z-index: 5;
  pointer-events: none;
}

.vd-slider-viewport::before {
  left: 0;
  background: linear-gradient(to right, #1A1B1F 0%, rgba(26, 27, 31, 0.92) 30%, rgba(26, 27, 31, 0.5) 65%, transparent 100%);
}

.vd-slider-viewport::after {
  right: 0;
  background: linear-gradient(to left, #1A1B1F 0%, rgba(26, 27, 31, 0.92) 30%, rgba(26, 27, 31, 0.5) 65%, transparent 100%);
}

.vd-slider-track {
  display: flex;
  gap: 16px;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.vd-slide-card {
  flex: 0 0 calc(100% - 192px);
  max-width: calc(100% - 192px);
  background: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.4);
  opacity: 0.6;
  transform: scale(0.98);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), 
              opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1), 
              box-shadow 0.3s ease;
}

.vd-slide-card.active {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.55);
}

.vd-slide-card:hover {
  opacity: 0.9;
}

.vd-slide-card.active:hover {
  opacity: 1;
  transform: scale(1.006);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.65);
}

.vd-slide-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  pointer-events: none;
  background: #FFFFFF;
}

.vd-slider-footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 20px;
  min-height: 28px;
  padding: 0 2px;
}

.vd-slider-counter {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: rgba(250, 250, 250, 0.6);
  margin: 0;
  letter-spacing: 0.02em;
  user-select: none;
}

.vd-slider-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.vd-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: none;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: rgba(250, 250, 250, 0.6);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: color 0.2s ease, opacity 0.2s ease;
  user-select: none;
}

.vd-nav-btn .vd-nav-icon {
  width: 24px;
  height: 24px;
  display: block;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.vd-nav-btn:hover:not(:disabled) {
  color: rgba(250, 250, 250, 0.95);
}

.vd-nav-btn:hover:not(:disabled) .vd-nav-icon {
  opacity: 1;
}

.vd-nav-btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

/* Lightbox Modal */
.vd-lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.vd-lightbox-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.vd-lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 14, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.vd-lightbox-panel {
  position: relative;
  z-index: 2;
  width: 94vw;
  max-width: 1400px;
  height: 90vh;
  display: flex;
  flex-direction: column;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.vd-lightbox-backdrop.open .vd-lightbox-panel {
  transform: scale(1);
}

.vd-lightbox-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  margin-bottom: 8px;
}

.vd-lightbox-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.vd-lightbox-section {
  font-family: var(--font-family);
  font-size: 18px;
  font-weight: 500;
  color: rgba(250, 250, 250, 0.9);
}

.vd-lightbox-counter {
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 400;
  color: rgba(250, 250, 250, 0.5);
}

.vd-lightbox-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.vd-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: scale(1.08);
}

.vd-lightbox-body {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0 16px;
}

.vd-lightbox-img-wrapper {
  position: relative;
  max-width: 90%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.7);
}

.vd-lightbox-img {
  max-width: 100%;
  max-height: calc(90vh - 120px);
  object-fit: contain;
  display: block;
  border-radius: 8px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.vd-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(28, 28, 34, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
  backdrop-filter: blur(8px);
}

.vd-lightbox-nav:hover:not(:disabled) {
  background: rgba(48, 48, 56, 0.95);
  transform: translateY(-50%) scale(1.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.vd-lightbox-nav.prev {
  left: 12px;
}

.vd-lightbox-nav.next {
  right: 12px;
}

.vd-lightbox-nav:disabled {
  opacity: 0.2;
  cursor: not-allowed;
}

.vd-lightbox-nav img {
  width: 22px;
  height: 22px;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 1024px) {
  .nav-holder {
    grid-template-columns: 30% 23.33% 23.33% 23.34%;
  }
  .card-75,
  .about-75,
  .contact-75,
  .project-75,
  .footer-75 {
    width: 70%;
  }
  .modal-75 {
    width: 70%;
  }
}

@media (max-width: 820px) {
  .nav-holder {
    grid-template-columns: 50% 50%;
    height: var(--nav-size);
  }

  .nav-brand-cell {
    grid-column: 1;
    padding: 0 24px;
    height: 100%;
    border-right: 1px solid var(--border-alpha);
    transition: background var(--transition-fast);
  }

  .nav-holder.scrolled .nav-brand-cell {
    background: rgba(26, 27, 31, 0.8) !important;
  }

  .brand-logo-img {
    height: 28px;
  }

  .nav-mobile-toggle,
  .nav-cell.nav-mobile-toggle {
    display: flex !important;
    grid-column: 2;
    align-items: center;
    justify-content: flex-start;
    padding: 0 24px;
    background: #1A1B1F;
    border-right: none;
    cursor: pointer;
    user-select: none;
    height: 100%;
    transition: color var(--transition-fast), background var(--transition-fast);
  }

  .nav-mobile-toggle:hover,
  .nav-holder.menu-open .nav-mobile-toggle {
    color: #FAFAFA;
  }

  .nav-links-wrapper {
    display: none;
  }

  .nav-holder.menu-open .nav-links-wrapper {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-size);
    right: 0;
    width: 50%;
    background: #1A1B1F;
    border-left: 1px solid var(--border-alpha);
    border-bottom: 1px solid var(--border-alpha);
    z-index: 998;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  }

  .nav-holder.menu-open .nav-links-wrapper .nav-cell {
    width: 100%;
    height: var(--nav-size);
    border-right: none;
    border-bottom: 1px solid var(--border-alpha);
    padding: 0 24px;
    background: #1A1B1F;
    display: flex;
    align-items: center;
  }

  .nav-holder.menu-open .nav-links-wrapper .nav-cell:last-child {
    border-bottom: none;
  }

  .nav-holder.menu-open .nav-links-wrapper .nav-link-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav-holder.menu-open .nav-links-wrapper .nav-cell.active .nav-link-inner,
  .nav-holder.menu-open .nav-links-wrapper .nav-cell:hover .nav-link-inner {
    color: #FAFAFA;
  }

  .nav-holder.menu-open .nav-links-wrapper .nav-arrow-icon,
  .nav-cell:not(.active) .nav-arrow-icon {
    display: none !important;
  }

  .nav-holder.menu-open .nav-links-wrapper .nav-cell.active .nav-arrow-icon,
  .nav-cell.active .nav-arrow-icon {
    display: inline-block !important;
    width: 20px;
    height: 20px;
    opacity: 0.6;
  }
  
  .home-fixed-stage,
  .about-fixed-stage,
  .contact-fixed-stage {
    position: relative;
    top: 0;
    height: auto;
    min-height: auto;
    padding: 200px 24px 96px 24px;
  }
  
  .home-stage-content,
  .about-stage-content,
  .contact-stage-content {
    padding: 0;
    margin-top: 0;
    max-width: 100%;
  }
  
  .stage-headline,
  .about-quote-headline,
  .contact-quote-headline {
    font-family: var(--font-family);
    font-size: 40px;
    font-weight: 500;
    line-height: 48px;
    color: #FAFAFA;
    letter-spacing: normal;
    margin: 0;
  }

  .stage-headline span,
  .about-quote-headline span,
  .contact-quote-headline span {
    white-space: normal;
    display: inline;
  }

  .br-desktop {
    display: none;
  }

  .br-mobile {
    display: inline;
  }
  
  .home-scroll-layer,
  .about-scroll-layer,
  .contact-scroll-layer,
  .project-scroll-layer {
    padding-top: 0;
  }
  
  .card-75 {
    width: 100%;
    border-left: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
  }

  .card-column {
    display: contents;
  }

  .card-column.col-right .card-item:nth-child(1) { order: 1; }
  .card-column.col-left .card-item:nth-child(1) { order: 2; }
  .card-column.col-right .card-item:nth-child(2) { order: 3; }
  .card-column.col-left .card-item:nth-child(2) { order: 4; }
  .card-column.col-right .card-item:nth-child(3) { order: 5; }
  .card-column.col-left .card-item:nth-child(3) { order: 6; }
  .card-column.col-right .card-item:nth-child(4) { order: 7; }
  .card-column.col-left .card-item:nth-child(4) { order: 8; }
  .card-column.col-right .card-item:nth-child(5) { order: 9; }

  .card-item {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #58585B;
  }

  .card {
    padding: 24px 24px 40px;
  }

  .card-title-bar {
    padding: 0;
  }
  
  .about-75,
  .contact-75,
  .project-75 {
    width: 100%;
    border-left: none;
    box-shadow: none;
    padding: 40px 24px 48px 24px;
    gap: 40px;
  }

  .about-block {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0;
    border-bottom: 0px;
  }

  .about-label {
    font-size: 40px;
    line-height: 48px;
    padding: 0;
  }

  .about-body {
    padding: 0;
  }

  h2,
  .card-heading,
  .about-body,
  .about-body p,
  .timeline-title,
  .timeline-role,
  .timeline-meta,
  .education-block .timeline-title,
  .education-block .timeline-meta,
  .contact-desc,
  .form-submit-btn,
  .footer-bio-text,
  .project-subtitle,
  .modal-hero-subtitle,
  .modal-hero-desc,
  .meta-item h4,
  .meta-item p,
  .case-narrative p,
  .case-narrative-list li,
  .case-narrative-list li::before,
  .case-stat-label,
  .modal-milestone-text {
    font-size: 18px;
    line-height: 28px;
  }

  .timeline-item {
    margin-bottom: 24px;
    border: none;
    padding-left: 0;
    position: relative;
  }

  .contact-75 {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-left-info,
  .contact-form-block {
    padding: 0;
  }

  .form-input,
  .form-textarea {
    padding: 16px 16px;
  }

  .form-submit-btn {
    margin-top: 16px;
    padding: 20px 16px;
  }
  
  .site-footer {
    min-height: auto;
    background: #000000;
  }

  .footer-top-area {
    padding: 40px 24px 48px 24px;
    max-width: 100%;
  }

  .footer-headline {
    font-family: var(--font-family);
    font-size: 40px;
    font-weight: 500;
    line-height: 48px;
    color: #FAFAFA;
    letter-spacing: normal;
    margin: 0;
  }

  .footer-headline span {
    white-space: normal;
    display: inline;
  }
  
  .footer-75 {
    width: 100%;
    border-left: none;
    box-shadow: none;
  }

  .footer-bio-box {
    padding: 40px 24px 48px 24px;
  }

  .footer-bio-text {
    max-width: 100%;
  }
  
  .footer-links-grid {
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--border-alpha);
    border-bottom: 1px solid var(--border-alpha);
  }
  
  .footer-link-cell {
    padding: 24px 12px;
    border-right: 1px solid var(--border-alpha);
    border-bottom: none;
    gap: 6px;
    justify-content: center;
  }
  
  .footer-link-cell:last-child {
    border-right: none;
  }

  .footer-link-icon {
    width: 16px;
    height: 16px;
  }
  
  .footer-copyright-bar {
    padding: 40px 24px 48px 24px;
  }
  
  .modal-close-header {
    padding: 0 24px;
    height: var(--nav-size);
  }

  .modal-close-header.scrolled {
    padding: 0 24px;
  }

  .modal-75 {
    width: 100%;
    border-left: none;
  }
  
  .modal-content-body {
    padding: 32px 24px 60px;
  }

  .modal-hero-title {
    font-size: 32px;
    font-weight: 500;
    line-height: 40px;
  }
  
  .modal-meta-row {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px 16px;
    margin-bottom: 32px;
  }

  .modal-meta-item {
    gap: 4px;
  }

  .case-narrative,
  .modal-hero-desc {
    width: 100%;
    max-width: 100%;
  }

  .case-narrative {
    gap: 40px;
  }

  .case-stats-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 32px 0;
  }

  .case-stat-num {
    margin-bottom: 8px;
  }

  .case-artifacts-stream {
    width: calc(100% + 48px);
    margin-left: -24px;
    margin-right: -24px;
    border: 24px solid #202125;
    gap: 16px;
    margin-top: 0px;
  }

  .case-artifact-card {
    border: none;
    border-radius: 0;
    width: 100%;
  }

  .case-artifact-card img {
    width: 100%;
    height: auto;
    display: block;
  }

  .vd-slider-track {
    display: flex;
    will-change: transform;
    gap: 8px;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .vd-slide-card {
    flex: 0 0 calc(100% - 64px);
    max-width: calc(100% - 64px);
    border-radius: 8px;
  }

  .vd-slider-viewport::before,
  .vd-slider-viewport::after {
    width: 32px;
  }

  .vd-slider-viewport {
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .footer-link-cell {
    padding: 24px 16px;
    gap: 8px;
  }

  .footer-link-icon {
    width: 14px;
    height: 14px;
  }
}
