/* =========================================================
   ROOT VARIABLES
========================================================= */
:root {
  /* Colors */
  --color-bg: #000;
  --color-bg-rgb: 0, 0, 0;
  --color-text-light: #f0f0f0;
  --color-text-dark: #b3b3b3;
  --color-muted: #ababab;
  --color-accent: #5c6f7b;
  --color-dark: #4c4c4c;
  --color-outline: #515151;
  --color-highlight: #f3b522;
  --color-highlight-rgb: 243, 181, 34;
  --color-cta: #eea33a;
  --color-nav: #ffffff;
  --color-nav-rgb: 255, 255, 255;
  --color-error: #e7144d;
  --color-footer: #0f181d;
  --color-footer-rgb: 15, 24, 29;

  /* Typography Scale */
  --text-3xs: 0.625rem;
  --text-2xs: 0.75rem;
  --text-xs: 0.875rem;
  --text-sm: 1rem;
  --text-base: 1.125rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-2xl: 1.75rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3rem;
  --text-6xl: 4rem;

  /* Line Heights */
  --lh-none: 1;
  --lh-tight: 1.2;
  --lh-snug: 1.35;
  --lh-normal: 1.5;
  --lh-relaxed: 1.65;

  /* Letter Spacing */
  --ls-tighter: -0.03em;
  --ls-tight: -0.015em;
  --ls-normal: 0;
  --ls-wide: 0.05em;
  --ls-wider: 0.1em;

  /* Font Weights */
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-bold: 700;

  /* Spacing */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --section-padding: clamp(2rem, 3vw, 3rem);
  --max-content-width: 1200px;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-pill: 9999px;

  /* Breakpoints */
  --breakpoint-mobile: 0px;
  --breakpoint-tablet: 600px;
  --breakpoint-desktop: 1024px;
  --breakpoint-large: 1440px;

  /* Icon Sizes */
  --icn-sm: clamp(2rem, 4vw, 3rem);
  --icn-md: clamp(2.5rem, 5vw, 3.75rem);
  --icn-lg: clamp(3rem, 6vw, 4.5rem);
  --icn-xl: clamp(4rem, 8vw, 6rem);

  /* Artwork Gaps */
  --artwork-gap: var(--sp-6);

  /* ========== Button Variables ========== */
  --color-button-border: #999999;
  --color-button-gradient: linear-gradient(90deg, #222, #555);

  /* Button Font Settings */
  --font-button-size: var(--text-sm);
  --font-button-text-transform: uppercase;
  --font-navigation-family: inherit;

  /* Button Padding Spacing */
  --sp-4d5: 1.125rem;
  --sp-5d5: 1.375rem;
  --sp-6d5: 1.5rem;
  --sp-7d5: 1.75rem;

  /* Button Radius & Sizing */
  --buttons-radius: var(--radius-pill);
  --button-padding-y: var(--sp-3);
  --button-padding-x: var(--sp-6);

  /* Button Colors */
  --color-button-background: var(--color-muted);
  --color-button-text: var(--color-text-light);
  --color-button-hover: var(--color-bg);
  --color-button-hover-bg: var(--color-highlight);

  --color-shadow: 0, 0, 0;
  --shadow-horizontal-offset: 0;
  --shadow-vertical-offset: 4px;
  --shadow-opacity: 0.15;

  /* Shadow Settings */
  --shadow-horizontal-offset: 0px;
  --shadow-vertical-offset: 4px;
  --color-shadow: 0, 0, 0;
  --shadow-opacity: 0.1;

  /* Transition Tokens */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --duration-fast: 0.2s;
  --duration-normal: 0.4s;
  --duration-slow: 0.6s;

  /* Surface Colors */
  --color-surface-subtle: rgba(255, 255, 255, 0.03);
  --color-surface-hover: rgba(255, 255, 255, 0.05);
  --color-border-subtle: rgba(255, 255, 255, 0.06);
  --color-border-hover: rgba(255, 255, 255, 0.15);
}



/* ===================================================
   BACKGROUND PATTERN BLOCK
=================================================== */
.bg-pattern-block {
  background-image: url('/img/background/block.svg');
  background-repeat: repeat;
  background-size: clamp(30px, 4vw, 60px);
  background-position: top left;
  width: 100%;
}
/* =========================================================
   RESET & GLOBAL STYLES
========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: 'Roboto', Helvetica, Arial, sans-serif;
  font-size: var(--text-base);
  line-height: var(--lh-relaxed);
  background-color: var(--color-bg);
  color: var(--color-text-light);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  font-weight: var(--font-bold);
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.75rem, 3vw, 2rem); }
h4 { font-size: clamp(1.375rem, 2vw, 1.5rem); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); font-weight: var(--font-medium); }

strong { font-weight: var(--font-medium); }

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



/* ================================
   BUTTON STYLES
================================ */

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-weight: var(--font-medium);
  font-family: var(--font-navigation-family);
  font-size: var(--font-button-size);
  text-transform: var(--font-button-text-transform);
  padding: 1.3rem 3rem;
  color: var(--color-button-text);
  background-color: var(--color-button-background);
  border: none;
  border-radius: var(--buttons-radius);
  box-shadow: var(--shadow-horizontal-offset) var(--shadow-vertical-offset) var(--color-shadow);
  max-height: 3.75rem;
  height: auto;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.button-big {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  padding: clamp(1rem, 2.5vw, 1.3rem) clamp(2.5rem, 6vw, 3rem);
}

.button-md {
  font-size: clamp(1.125rem, 1.5vw, 1.25rem);
  padding: clamp(0.9rem, 2vw, 1.1rem) clamp(2rem, 5vw, 2.5rem);
}

.button-sm {
  font-size: clamp(0.75rem, 0.9vw, 0.875rem);
  /* Smaller max */
  padding: clamp(0.5rem, 1vw, 0.75rem) clamp(1rem, 2vw, 1.5rem);
  border-radius: var(--btn-radius, 1.5rem);
  line-height: var(--lh-tight);
}

/* Pill Button Modifier */
.radius-pill {
  border-radius: var(--radius-pill);
}

/* Hover Effects */
.button:hover {
  background-color: var(--color-button-hover-bg);
  color: var(--color-button-hover);
}

/* Variants (if used) */
.button--primary .btn-fill {
  background-color: var(--color-button-text);
}

.button--secondary .btn-fill {
  background: var(--color-button-gradient);
  background-color: var(--color-button-background);
}

/* Outline Button Variant */
.button-outline {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-medium);
  font-family: var(--font-navigation-family);
  font-size: var(--font-button-size);
  text-transform: var(--font-button-text-transform);
  padding: 1.3rem 3rem;
  color: var(--color-text-light);
  background-color: transparent;
  border: 1px solid var(--color-border-hover);
  border-radius: var(--radius-pill);
  max-height: 3.75rem;
  height: auto;
  transition: background-color var(--duration-normal) ease, color var(--duration-normal) ease, border-color var(--duration-normal) ease, transform var(--duration-fast) ease;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: var(--ls-wide);
}

.button-outline:hover {
  background-color: var(--color-text-light);
  color: var(--color-bg);
  border-color: var(--color-text-light);
  transform: translateY(-1px);
}

.button-outline-sm {
  font-size: clamp(0.75rem, 0.9vw, 0.875rem);
  padding: clamp(0.5rem, 1vw, 0.75rem) clamp(1rem, 2vw, 1.5rem);
}

/* Enhanced button hover for all buttons */
.button {
  transition: background-color 0.3s ease, color 0.3s ease, transform var(--duration-fast) ease;
}

.button:hover {
  transform: translateY(-1px);
}



/* =========================================================
   FLEXBOX UTILITIES
========================================================= */
.flex-row {
  display: flex;
  flex-direction: row;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

.flex-center {
  justify-content: center;
  align-items: center;
}

.flex-between {
  justify-content: space-between;
  align-items: center;
}

.gap-sm {
  gap: var(--sp-2);
}

.gap-md {
  gap: var(--sp-4);
}

.gap-lg {
  gap: var(--sp-8);
}

/* =========================================================
   ANIMATION UTILITIES
========================================================= */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.animate-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered scroll reveals for grid children */
.animate-on-scroll:nth-child(2) { transition-delay: 0.08s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.16s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.24s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.32s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.40s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .home-hero-headline,
  .home-hero-sub,
  .home-hero-qualifier,
  .home-hero-cta {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* =========================================================
   FADE IN UTILITY (no scroll trigger)
========================================================= */

.fade-in {
  opacity: 0;
  animation: fadeInOpacity 1s ease-out forwards;
}

@keyframes fadeInOpacity {
  to {
    opacity: 1;
  }
}

/* =========================================================
   MEDIA QUERIES
========================================================= */
@media (min-width: 600px) {
  body {
    font-size: clamp(1.125rem, 1.5vw, 1.25rem);
  }
}

@media (min-width: 1024px) {
  body {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
  }
}

@media (orientation: landscape) {
  .landscape-adjust {
    padding: var(--sp-6);
  }
}

/* =========================================================
   Display = desktop / Mobile
========================================================= */

/* Base visibility settings – scoped to all elements */
.desktop-only,
.mobile-only {
  display: block;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
  }
}

/* Force visibility utility classes to apply across any element type */
*:where(.desktop-only),
*:where(.mobile-only) {
  display: block;
}

/* ======================================
   PADDING SETTINGS
====================================== */

.padding-top {
  padding-top: var(--sp-20);
}

.padding-bottom {
  padding-bottom: var(--sp-20);
}

.padding-both {
  padding-top: var(--sp-20);
  padding-bottom: var(--sp-20);
}

.padding-both-small {
  padding-top: var(--sp-10);
  padding-bottom: var(--sp-10);
}


/* ======================================
   ALIGNMENT + LAYOUT UTILITIES
====================================== */

/* Block alignment */
.align-block-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.align-inline-center {
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
}

/* Text alignment */
.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

/* Flexbox helpers */
.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-justify-between {
  display: flex;
  justify-content: space-between;
}

.flex-align-start {
  display: flex;
  align-items: flex-start;
}

.flex-align-end {
  display: flex;
  align-items: flex-end;
}

/* Max width constraints */
.max-width-xs {
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.max-width-sm {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.max-width-md {
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
}

.max-width-lg {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.max-width-xl {
  max-width: var(--max-content-width);
  margin-left: auto;
  margin-right: auto;
}

/* Padding helpers */
.padded {
  padding: var(--section-padding);
}

.pad-top {
  padding-top: var(--section-padding);
}

.pad-bottom {
  padding-bottom: var(--section-padding);
}

/* Margin auto */
.margin-center {
  margin-left: auto;
  margin-right: auto;
}

/* Responsive-specific alignment */
@media (max-width: 768px) {
  .mobile-text-center {
    text-align: center;
  }

  .mobile-align-center {
    display: block;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ======================================
   SECTION CONTAINERS
====================================== */

/* Full-width (no max-width constraint) */
.section-full {
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

/* Standard content width — good for text-heavy sections */
.section-standard {
  max-width: var(--max-content-width);
  margin: 0 auto;
  padding: var(--sp-20) var(--sp-20);
}

@media (max-width: 768px) {
  .section-standard {
    padding: var(--sp-20) var(--sp-8);
  }
}

@media (max-width: 400px) {
  .section-standard {
    max-width: 90%;
    padding: var(--sp-20) var(--sp-1);
  }
}

/* Standard content width — good for text-heavy sections */
.section-no-top-pad {
  max-width: var(--max-content-width);
  margin: 0 auto;
  padding: var(--sp-1) var(--sp-20);
}

@media (max-width: 768px) {
  .section-no-top-pad {
    padding: var(--sp-1) var(--sp-8);
  }
}

/* Wide content — for artwork/image layouts */
.section-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding-left: var(--sp-16);
  padding-right: var(--sp-16);
}

@media (max-width: 768px) {
  .section-wide {
    padding-left: var(--sp-6);
    padding-right: var(--sp-6);
  }
}

/* Optional: for narrower blocks like testimonials or quotes */
.section-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding-left: var(--sp-12);
  padding-right: var(--sp-12);
}

@media (max-width: 768px) {
  .section-narrow {
    padding-left: var(--sp-6);
    padding-right: var(--sp-6);
  }
}

/* ======================================
   NAVIGATION
====================================== */

/* Header container */
header[role="banner"] {
  position: relative;
  z-index: 10000;
}

/* Main Navigation Bar */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(to bottom,
      rgba(var(--color-bg-rgb), 0.5) 0%,
      rgba(var(--color-bg-rgb), 0.3) 15%,
      rgba(var(--color-bg-rgb), 0) 75%,
      rgba(var(--color-bg-rgb), 0) 100%);
  backdrop-filter: blur(0px);
  padding: var(--sp-4) var(--sp-10);
  /* consistent horizontal padding */
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding 0.3s ease, height 0.3s ease;
}


/* Sticky State – shrink height + logo */
.nav-bar.sticky {
  background: rgba(var(--color-bg-rgb), 0.6);
  backdrop-filter: blur(4px);
  padding: var(--sp-1) var(--sp-10);
}

/* Adjust mobile nav padding only on vertical */
@media (max-width: 799px) {
  .nav-bar {
    padding: var(--sp-8);
  }

  .nav-bar.sticky {
    padding: var(--sp-3) var(--sp-8);
  }
}

/* Logo container */
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  z-index: 10001;
}

.nav-logo-wrapper {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10001;
}

/* Only apply centring for mobile view */
@media (min-width: 800px) {
  .nav-logo-wrapper {
    position: static;
    transform: none;
  }
}

/* Logo images */
.nav-logo-h,
.nav-logo-sq {
  transition: transform 0.3s ease, height 0.3s ease;
}


.nav-logo-h {
  width: clamp(80px, 25vw, 250px);
  height: auto;
  display: none;
}

.nav-logo-sq {
  width: clamp(80px, 18vw, 110px);
  height: auto;
}

.nav-bar.sticky .nav-logo-h {
  transform: scale(0.7);
  /* slightly reduced */
}

.nav-bar.sticky .nav-logo-sq {
  transform: scale(0.55);
  /* slightly reduced */
}

@media (min-width: 800px) {
  .nav-logo-h {
    display: block;
  }

  .nav-logo-sq {
    display: none;
  }
}

/* ======================================
 DESKTOP NAVIGATION
====================================== */
.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: clamp(var(--sp-2), 3vw, var(--sp-8));
  align-items: center;
}

@media (min-width: 800px) {
  .nav-links {
    display: flex;
  }
}

.nav-links li {
  position: relative;
}

.nav-links a,
.nav-links .dropdown-toggle {
  color: var(--color-text-light);
  text-decoration: none;
  font-size: var(--text-base);
  font-weight: var(--font-regular);
  padding: var(--sp-2) 0;
  background: none;
  border: none;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  cursor: pointer;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links .dropdown-toggle:hover {
  color: var(--color-highlight);
}

.nav-links .dropdown-menu,
.mobile-links .dropdown-menu {
  list-style: none;
  padding-left: 0;
}

/* Dropdown arrow */
.dropdown-arrow::before {
  content: "❯";
  font-size: var(--text-lg);
  padding-left: var(--sp-2);
  display: inline-block;
  vertical-align: middle;
  transform: rotate(0deg) translateY(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown.open .dropdown-toggle .dropdown-arrow::before {
  transform: rotate(90deg) translateX(-4px) translateY(-2px);
}

/* Desktop Dropdown Menu */
.nav-links .dropdown-menu {
  position: absolute;
  top: calc(100% + var(--sp-2));
  left: 0;
  min-width: 200px;
  background: linear-gradient(to bottom,
      rgba(var(--color-bg-rgb), 0.2) 0%,
      rgba(var(--color-bg-rgb), 0.5) 20%,
      rgba(var(--color-bg-rgb), 1) 100%);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-sm);
  padding: var(--sp-3);
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10002;
  pointer-events: none;
}

.nav-links .dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Dropdown Items */
.nav-links .dropdown-menu li {
  margin: 0;
  padding: 0;
}

/* Base style for all links */
.nav-links .dropdown-menu a {
  display: block;
  width: 100%;
  padding: var(--sp-2) var(--sp-3);
  font-weight: var(--font-light);
  font-size: var(--text-base);
  color: var(--color-text-light);
  text-align: left;
  text-decoration: none;
  white-space: nowrap;
  border-radius: var(--radius-sm);
  opacity: 0;
  transform: translateY(-20px);
  background: rgba(var(--color-nav-rgb), 0);
  transition: opacity 1s, transform 0.6s, background 0.3s ease-in, color 0.2s ease-in;
}

/* Staggered fade-in on open */
.nav-links .dropdown.open .dropdown-menu a {
  opacity: 1;
  transform: translateY(0);
}

.nav-links .dropdown.open .dropdown-menu a:nth-child(1) {
  transition-delay: 0.2s;
}

.nav-links .dropdown.open .dropdown-menu a:nth-child(2) {
  transition-delay: 0.4s;
}

.nav-links .dropdown.open .dropdown-menu a:nth-child(3) {
  transition-delay: 0.6s;
}

.nav-links .dropdown.open .dropdown-menu a:nth-child(4) {
  transition-delay: 0.8s;
}

.nav-links .dropdown.open .dropdown-menu a:nth-child(5) {
  transition-delay: 1s;
}

.nav-links .dropdown.open .dropdown-menu a:nth-child(6) {
  transition-delay: 1.2s;
}

/* Desktop Dropdown Hover effect */
.nav-links .dropdown-menu a:hover {
  background: rgba(var(--color-nav-rgb), 0.1);
  color: var(--color-highlight);
}

/* ======================================
 MOBILE NAVIGATION
====================================== */
.nav-toggle {
  display: flex;
  margin-left: auto;
  margin-right: var(--sp-3);
  /* consistent for both states */
  flex-direction: column;
  justify-content: center;
  width: 30px;
  height: 35px;
  background: none;
  border: none;
  cursor: pointer;
  gap: var(--sp-2);
  z-index: 10001;
  transition: margin 0.3s ease;
}

@media (min-width: 800px) {
  .nav-toggle {
    display: none;
  }
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background: var(--color-text-light);
  transition: all 0.3s ease;
  border-radius: 1px;
}

/* Mobile Overlay Menu */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(var(--color-bg-rgb), 0.8);
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  overflow-y: auto;
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
}

/* Close Button */
.close-nav {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-8);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  border-radius: 50%;
  padding: 0;
}

/* "Close" text style */
.close-nav .close-label {
  padding-top: var(--sp-2);
  color: var(--color-text-light);
  font-size: var(--text-sm);
  font-weight: var(--font-light);
  transition: color 0.3s ease;
}

/* "×" icon style */
.close-nav .close-icon {
  color: var(--color-highlight);
  font-weight: var(--font-bold);
  font-size: var(--text-6xl);
  line-height: var(--lh-none);
  transition: color 0.3s ease;
}

/* Close Button Hover State */
.close-nav:hover .close-label {
  color: var(--color-text-light);
  opacity: 0.5;
}

.close-nav:hover .close-icon {
  color: var(--color-text-light);
}


/* Link List */
.mobile-links {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  width: 90%;
  max-width: 300px;
  text-align: left;
}

/* Link Items */
.mobile-links a,
.mobile-links .dropdown-toggle {
  color: var(--color-text-light);
  font-size: clamp(1.75rem, 3vw, 2rem);
  font-weight: var(--font-bold);
  background: none;
  border: none;
  padding: var(--sp-1) 0;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.2s ease;
  text-decoration: none;
}

/* Mobile Links Hover States */
.mobile-links a:hover,
.mobile-links .dropdown-toggle:hover {
  color: var(--color-highlight);
}

/* Arrow Indicator */
.mobile-links .dropdown-arrow::before {
  content: "❯";
  font-size: var(--text-lg);
  transition: transform 0.3s ease;
}

.mobile-links .dropdown.open .dropdown-arrow::before {
  transform: rotate(90deg) translateX(-7px) translateY(-2px);
}

/* Dropdown Menu Container */
.mobile-links .dropdown-menu {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease;
}

.mobile-links .dropdown.open .dropdown-menu {
  max-height: 500px;
  /* enough for all items */
  margin-bottom: var(--sp-3);
  margin-top: var(--sp-3);
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Dropdown Links - with smooth staggered fade in */
.mobile-links .dropdown-menu a {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: var(--font-light);
  color: var(--color-text-light);
  opacity: 0;
  transform: translateY(-20px);
  background: rgba(var(--color-nav-rgb), 0);
  transition: opacity 1s, transform 0.6s, background 0.6s ease, color 0.6s ease;
  text-decoration: none;
}

.mobile-links .dropdown.open .dropdown-menu a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-links .dropdown.open .dropdown-menu a:nth-child(1) {
  transition-delay: 0.2s;
}

.mobile-links .dropdown.open .dropdown-menu a:nth-child(2) {
  transition-delay: 0.4s;
}

.mobile-links .dropdown.open .dropdown-menu a:nth-child(3) {
  transition-delay: 0.6s;
}

.mobile-links .dropdown.open .dropdown-menu a:nth-child(4) {
  transition-delay: 0.8s;
}

.mobile-links .dropdown.open .dropdown-menu a:nth-child(5) {
  transition-delay: 1s;
}

.mobile-links .dropdown.open .dropdown-menu a:nth-child(6) {
  transition-delay: 1.2s;
}

/* Mobile Dropdown Links Hover State */
.mobile-links .dropdown-menu a:hover {
  color: var(--color-highlight);
}


/* ======================================
   ACCESSIBILITY & PREFS
====================================== */

@media (prefers-reduced-motion: reduce) {

  .nav-bar,
  .nav-logo-h,
  .nav-logo-sq,
  .dropdown-arrow::before,
  .dropdown-menu,
  .mobile-nav,
  .hamburger-line {
    transition: none;
  }
}

@media (prefers-contrast: high) {
  .nav-bar {
    border-bottom-color: var(--color-text-light);
  }

  .dropdown-menu {
    border-color: var(--color-text-light);
    background: var(--color-bg);
  }
}

/* ======================================
   FOOTER STYLES
====================================== */

.footer-logo {
  width: clamp(200px, 25vw, 250px);
  height: auto;
  display: block;
}

.site-footer {
  background-color: var(--color-footer);
  color: var(--color-text-light);
  padding: var(--sp-12) 5% var(--sp-8);
  font-size: var(--text-sm);
}

.footer-container {
  max-width: var(--max-content-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);

}

@media (max-width: 768px) {
  .footer-grid {
    display: block;
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-logo {
    margin-left: auto;
    margin-right: auto;
  }
}

.footer-block {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.footer-heading {
  font-weight: var(--font-bold);
  font-size: var(--text-base);
}

.footer-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.footer-block a {
  color: var(--color-text-light);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-block a:hover {
  opacity: 0.7;
}

.footer-bottom {
  border-top: 1px solid var(--color-outline);
  padding-top: var(--sp-4);
  text-align: center;
  font-size: var(--text-xs);
}

/* Responsive: Two-column grid for tablets and up */
@media (min-width: 600px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================
   SERVICES NAVIGATION - PROTECTED FIXED ELEMENTS
============================ */

/* FORCE ALL NAVIGATION ELEMENTS TO BE COMPLETELY FIXED */
header[role="banner"],
.nav-bar,
#site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 10000 !important;
  transform: none !important;
  animation: none !important;
  transition: background-color 0.3s ease, padding 0.3s ease, backdrop-filter 0.3s ease !important;
}

main {
  position: relative;
  margin-top: 0px;
  /* Adjust based on your header height */
  overflow-x: hidden;
}

/* FORCE SCROLL DOTS TO BE COMPLETELY FIXED */
.scroll-nav-vertical {
  position: fixed;
  right: var(--sp-4);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  z-index: 10000;
}

.scroll-nav-vertical .dot {
  width: var(--sp-2);
  height: var(--sp-2);
  border-radius: 50%;
  background-color: var(--color-nav);
  opacity: 0.4;
  transition: opacity 0.2s ease;
}

.scroll-nav-vertical .dot.active {
  opacity: 1;
}

.scroll-nav-horizontal {
  position: fixed;
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(to bottom,
      rgba(var(--color-bg-rgb), 0) 0%,
      rgba(var(--color-bg-rgb), 0.6) 100%);
  padding: var(--sp-3) clamp(1rem, 4vw, var(--sp-8));
  border-radius: var(--radius-pill);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 90%;
}

.scroll-arrows {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.arrow-icon {
  width: auto;
  height: clamp(1.15rem, 1vw, 1rem);
  opacity: 1;
}

.scroll-text {
  font-size: clamp(1.125rem, 1.5vw, 1.25rem);
  font-weight: var(--font-light);
  color: var(--color-text-light);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .scroll-text {
    font-size: var(--text-sm);
  }
}

/* Toggle mobile and desktop labels */
.mobile-only {
  display: none;
}

.desktop-only {
  display: inline;
}

@media (max-width: 768px) {
  .mobile-only {
    display: inline;
  }

  .desktop-only {
    display: none;
  }
}

/* Disable all animations for fixed elements */
header[role="banner"] *,
.nav-bar *,
#site-header *,
.scroll-nav-vertical *,
.scroll-nav-horizontal * {
  animation: none !important;
}

/* ONLY ANIMATE CONTENT SECTIONS */
main section {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease;
}

/* Mobile optimizations */
@media (max-width: 768px) {
  main {
    margin-top: 12vh;
    /* Smaller margin for mobile */
  }

  .scroll-nav-horizontal {
    top: 65% !important;
    padding: var(--sp-2) var(--sp-3);
  }

  .scroll-text {
    font-size: var(--text-xs);
  }

  .scroll-nav-vertical {
    right: var(--sp-3) !important;
  }

  .scroll-nav-vertical .dot {
    width: var(--sp-3);
    height: var(--sp-3);
  }
}

/* Ensure smooth content transitions without affecting fixed elements */
#site-footer {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease;
}

/* Remove any potential body animations that could affect navigation */
body {
  animation: none !important;
}

html {
  animation: none !important;
}

/* ===================================================
   SERVICES PAGE LAYOUT
=================================================== */

/* Section Title */
.service-section-title {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: var(--color-highlight);
  font-weight: var(--font-medium);
  padding-top: 10vh;
  margin-bottom: var(--sp-2);
}

/* Primary Title */
.service-title {
  font-size: var(--text-6xl);
  line-height: var(--lh-tight);
  max-width: clamp(12ch, 10vw + 20ch, 35ch);
  font-weight: var(--font-bold);
  margin-bottom: clamp(var(--sp-2), 2vw, var(--sp-6));
}

/* Sub Title */
.service-sub-title {
  font-size: clamp(1.75rem, 3vw, 2rem);
  font-weight: var(--font-light);
  color: var(--color-accent);
  line-height: var(--lh-tight);
  margin-bottom: -2rem;
  max-width: clamp(15ch, 10vw + 40ch, 40ch);
}

@media (max-width: 768px) {
  .service-sub-title {
    margin-top: 2rem;
  }
}

/* Cross & Line Divider */
.service-divider {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  height: 6rem;
  margin-top: clamp(-2rem, -3rem, -5rem);
  margin-bottom: clamp(-2rem, -3rem, -5rem);
  gap: var(--sp-2);
  left: clamp(-0rem, -5rem, -10rem);
}

.cross {
  color: var(--color-highlight);
  font-size: clamp(5rem, 10rem, 25rem);
  font-weight: var(--font-bold);
  line-height: var(--lh-none);
  margin: 0;
  position: absolute;
  top: 50%;
  left: clamp(-6rem, -10rem, -15rem);
  transform: translateY(-50%) rotate(0deg);
  transition: transform 0.6s ease;
  z-index: 2;
  pointer-events: none;
}

.cross.in-view {
  transform: translateY(-50%) rotate(180deg);
}

.divider-line {
  height: 4px;
  width: clamp(20vw, 20vw, 25vw);
  margin-top: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
  background-color: var(--color-button-border);
  opacity: 1;
  z-index: 1;
}

/* Intro Text */
.introduction {
  font-size: clamp(1.5rem, 2.5vw, 1.75rem);
  font-weight: var(--font-light);
  line-height: var(--lh-snug);
  color: var(--color-muted);
  margin-top: clamp(-5px, -1.25vw, 5px);
  margin-bottom: clamp(var(--sp-1), 3vw, var(--sp-6));
  max-width: 55ch;
  text-wrap: pretty;
}

/* Section Headings */
.service-heading {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: var(--font-bold);
  color: var(--color-text-light);
  margin-top: var(--sp-10);
  margin-bottom: var(--sp-4);
}

@media (max-width: 768px) {
    .service-heading {

      font-size: var(--text-2xl);
      display: block;
      margin-left: auto;
      margin-right: auto;
      text-align: center;
      margin-bottom: var(--sp-6);
    }
}

.service-heading-md {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: var(--font-light);
  color: var(--color-text-dark);
  text-align: center;
  margin-top: var(--sp-10);
  margin-bottom: var(--sp-4);
}

.service-heading-sm {
  font-size: clamp(1.125rem, 1.5vw, 1.25rem);
  font-weight: var(--font-light);
  color: var(--color-text-dark);
  text-align: left;
  margin-bottom: -1.75rem;
}

/* Section Body Text */
.service-text {
  font-size: clamp(1.5rem, 2.5vw, 1.75rem);
  font-weight: var(--font-light);
  color: var(--color-text-dark);
  line-height: var(--lh-relaxed);
  max-width: 65ch;
  margin-bottom: var(--sp-6);
}

/* List Styling */
.service-list {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: var(--font-light);
  color: var(--color-text-dark);
  line-height: var(--lh-relaxed);
  padding-left: var(--sp-4);
  margin: 0 0 var(--sp-6) 0;
}

.service-list strong {
  color: var(--color-text-light);
}

.service-list li {
  margin-bottom: var(--sp-2);
}

@media (max-width: 768px) {
  .service-list li {
  margin-bottom: var(--sp-4);
}
}

/* Numbered Variation */
.service-list.numbered {
  list-style-type: decimal;
  padding-left: var(--sp-5);
}

/* Section Divider */
.service-divider {
  height: 2px;
  width: 100%;
  background-color: var(--color-divider);
  opacity: 0.8;
  margin: var(--sp-8) 0;
}

/* ===================================================
   SERVICES ARTWORK LAYOUT
=================================================== */

.services-section-artwork-grid {
  padding-top: var(--sp-6);
  padding-bottom: var(--sp-6);
}

.services-artwork-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: center;
  max-width: var(--max-content-width);
  margin-left: auto;
  margin-right: auto;
}

.services-artwork-grid picture {
  display: block;
  position: relative;
  overflow: hidden;
}

.services-artwork-grid img {
  width: 100%;
  height: auto;
  display: block;
  border: none;
  object-fit: cover;
}

/* Responsive Grid Items */
/* Desktop: 4 items per row */
.services-flex-4 {
  flex: 0 0 calc(25% - var(--sp-3) * 0.75);
  max-width: calc(25% - var(--sp-3) * 0.75);
}

/* Tablet: 2 items per row */
@media (max-width: 1024px) {
  .services-flex-4 {
    flex: 0 0 calc(50% - var(--sp-3) / 2);
    max-width: calc(50% - var(--sp-3) / 2);
  }
}

/* Mobile: 1 item per row */
@media (max-width: 600px) {
  .services-flex-4 {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

.case-studies-heading {
  font-size: var(--text-2xl);
  text-transform: uppercase;
  color: var(--color-text);
  font-weight: var(--font-bold);
  margin-bottom: var(--sp-2);
}

.case-study-link {
  display: block;
  font-size: var(--text-lg);
  text-transform: uppercase;
  color: var(--color-text);
  text-decoration: none;
  padding-top: var(--sp-1);
  padding-bottom: var(--sp-1);
  transition: color 0.3s ease;
}

.case-study-link:hover {
  color: var(--color-highlight);
}

.case-studies-links hr.service-divider {
  margin-top: var(--sp-1);
  margin-bottom: var(--sp-1);
  transition: border-color 0.3s ease;
  border-color: var(--color-border);
}

.case-study-link:hover + hr.service-divider {
  border-color: var(--color-highlight);
}

/* ===================================
   LOGO SHOWCASE SECTION (Brand Identity)
=================================== */

.logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3);
  max-width: var(--max-content-width);
  margin: 0 auto var(--sp-6);
}

.logo-grid img {
  flex: 0 0 calc(25% - var(--sp-3) * 0.75);
  max-width: calc(25% - var(--sp-3) * 0.75);
  height: auto;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
  cursor: default;
}

.logo-grid img.in-view {
  opacity: 0.5;
  transform: translateY(0);
}

.logo-grid img:hover {
  opacity: 1;
}

/* Tablet */
@media (max-width: 1024px) {
  .logo-grid img {
    flex: 0 0 calc(50% - var(--sp-3) / 2);
    max-width: calc(50% - var(--sp-3) / 2);
  }
}

/* Mobile */
@media (max-width: 600px) {
  .logo-grid {
    gap: var(--sp-1);
  }
  .logo-grid img {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* ===================================================
   ICON SHOWCASE GRID (Iconography Service)
=================================================== */

.icon-showcase-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-8);
  max-width: var(--max-content-width);
  margin: var(--sp-8) auto var(--sp-6);
}

.icon-showcase-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
}

.icon-showcase-item img {
  width: 72px;
  height: 72px;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.icon-showcase-item:hover img {
  opacity: 1;
}

.icon-showcase-item span {
  font-size: var(--text-xs);
  color: var(--color-muted);
  text-align: center;

}

/* Mobile: 2 per row */
@media (max-width: 767px) {
  .icon-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-6) var(--sp-4);
  }

  .icon-showcase-item img {
    width: 80px;
    height: 80px;
  }

  .icon-showcase-item:last-child {
    display: none;
  }
}

/* ===================================================
   GALLERY OVERLAY STYLES
=================================================== */

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


/* Gallery Grid Items - Add hover effect */
.gallery-item {
  cursor: pointer;
  border: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover {
  opacity: 0.8;
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .gallery-item {
    cursor: default;
  }
  
  .gallery-item:hover {
    opacity: 1;
    transform: scale(1);
  }
}

.gallery-close, .gallery-item:focus {
  outline: none;
  border: none;
}

.gallery-item img:focus {
  outline: none;
  border: none;
}

/* Remove any browser default focus styles */
.gallery-item:focus-visible {
  outline: none;
}

/* Gallery Overlay - Full Screen */
.gallery-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(var(--color-bg-rgb), 0.4);
  backdrop-filter: blur(10px);
  z-index: 11000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.gallery-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Gallery Container */
.gallery-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 95vw;
  max-height: 95vh;
}

/* Close Button - Using your existing style */
.gallery-close {
  position: absolute;
  top: var(--sp-1);
  right: var(--sp-1);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  z-index: 11001;
}

.gallery-close .close-label {
  color: var(--color-text-light);
  font-size: var(--text-sm);
  font-weight: var(--font-light);
  transition: color 0.3s ease;
}

.gallery-close .close-icon {
  color: var(--color-highlight);
  font-weight: var(--font-bold);
  font-size: var(--text-6xl);
  margin-top: -7px;
  line-height: var(--lh-none);
  transition: color 0.3s ease;
}

.gallery-close:hover .close-label {
  color: var(--color-text-light);
  opacity: 0.5;
}

.gallery-close:hover .close-icon {
  color: var(--color-text-light);
}

/* Navigation Arrows */
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: none;
  width: clamp(60px, 8vw, 80px);
  height: clamp(60px, 8vw, 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 11001;
  transition: all 0.3s ease;
}

.gallery-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: translateY(-50%) scale(1);
}

.gallery-nav-prev {
  left: var(--sp-6);
}

.gallery-nav-next {
  right: var(--sp-6);
}

.nav-arrow {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  color: var(--color-text-light);
  font-weight: var(--font-bold);
  line-height: var(--lh-none);
  transition: color 0.3s ease;
}

.gallery-nav:hover .nav-arrow {
  color: var(--color-highlight);
}

/* Image Container */
.gallery-image-container {
  position: relative;
  width: 95%;
  height: 95%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-4);
}

/* Main Gallery Image */
.gallery-image {
  max-width: 95%;
  max-height: 95%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-image.loaded {
  opacity: 1;
  transform: scale(1);
}

/* Loading State */
.gallery-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--color-text-light);
  font-size: var(--text-lg);
  font-weight: var(--font-light);
  opacity: 1;
  transition: opacity 0.3s ease;
}

.gallery-loading.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Counter */
.gallery-counter {
  position: absolute;
  bottom: var(--sp-6);
  left: 50%;
  transform: translateX(-50%);
  padding: var(--sp-1) var(--sp-4);
  z-index: 11001;
}

.gallery-counter span {
  color: var(--color-text-light);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .gallery-container {
    max-width: 100vw;
    max-height: 100vh;
  }
  
  .gallery-image-container {
    padding: var(--sp-8);
  }
  
  .gallery-close {
    top: var(--sp-4);
    right: var(--sp-4);
  }
  
  .gallery-nav {
    width: 50px;
    height: 50px;
  }
  
  .gallery-nav-prev {
    left: var(--sp-4);
  }
  
  .gallery-nav-next {
    right: var(--sp-4);
  }
  
  .nav-arrow {
    font-size: var(--text-xl);
  }
  
  .gallery-counter {
    bottom: var(--sp-4);
  }
}

/* Touch-friendly mobile improvements */
@media (max-width: 480px) {
  .gallery-nav {
    width: 45px;
    height: 45px;
  }
  
  .gallery-nav-prev {
    left: var(--sp-2);
  }
  
  .gallery-nav-next {
    right: var(--sp-2);
  }
  
  .gallery-close {
    top: var(--sp-2);
    right: var(--sp-2);
  }
  
  .gallery-image-container {
    padding: var(--sp-6);
  }
}

/* Accessibility - Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  .gallery-overlay,
  .gallery-image,
  .gallery-nav,
  .gallery-item {
    transition: none;
  }
  
  .gallery-item:hover {
    transform: none;
  }
  
  .gallery-nav:hover {
    transform: translateY(-50%);
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .gallery-overlay {
    background: rgba(var(--color-bg-rgb), 0.6);
  }
}

/* ===================================================
   WORK PROJECT HERO IMAGE BLOCK
=================================================== */

.hero-block {
  width: 100vw;
  max-width: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;
  position: relative;
}

.hero-block img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 80vh;
  /* Limits height to viewport height */
}

@media (min-width: 1024px) {
  .hero-block img {
    max-height: 70vh;
  }
}

@media (max-width: 768px) {
  .hero-block img {
    height: 100vh;
  }
}



/* ===================================================
WORK PROJECT PAGE LAYOUT
=================================================== */

/* Title */
.page-title {
  font-size: clamp(3.5rem, 7vw, 4.5rem);
  letter-spacing: var(--ls-tight);
  font-weight: var(--font-bold);
  margin-bottom: var(--sp-1);
}

/* Sub Title */
.page-sub-title {
  font-size: clamp(1.5rem, 2.5vw, 1.75rem);
  font-weight: var(--font-light);
  color: var(--color-accent);
  margin-top: clamp(-5px, -1.25vw, 5px);
  margin-bottom: var(--sp-8);
  max-width: 60ch;
}

br.mobile-br { display: none; }

@media (max-width: 500px) {
  .page-sub-title {
    max-width: 20ch;
  }
  br.mobile-br { display: inline; }
}

/* Divider */
.divider {
  height: 1px;
  background-color: var(--color-muted);
  margin-bottom: var(--sp-20);
}

.app-divider {
  height: 1px;
  background-color: var(--color-muted);
  margin-top: var(--sp-6);
}

/* Flex Columns Layout */
.columns {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(var(--sp-2), 4vw, var(--sp-6));
}

.meta {
  padding-right: clamp(var(--sp-2), 5vw, var(--sp-16));
}

@media (min-width: 768px) {
  .columns {
    flex-direction: row;
    gap: clamp(var(--sp-2), 2.5vw, var(--sp-6));
  }

  .meta {
    flex: 1;
    order: 1;
  }

  .narrative {
    flex: 2;
    order: 2;
  }
}


@media (max-width: 767px) {
  .columns {
    flex-direction: column;
  }

  .meta {
    order: 2;
  }

  .narrative {
    order: 1;
    margin-bottom: var(--sp-2);
  }
}

/* Meta */
.meta-label {
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  color: var(--color-muted);
  margin-top: var(--sp-4);
  margin-bottom: var(--sp-1);
}

.meta-value {
  font-size: var(--text-base);
  color: var(--color-text-light);
  font-weight: var(--font-light);
}

/* App Icons */
.app-icons {
  display: flex;
  gap: var(--sp-1);
  flex-wrap: wrap;
  min-width: clamp(200px, 40%, 300px);
  margin-top: var(--sp-3);
}

.app-icon {
  width: clamp(var(--icn-sm), 3vw, var(--icn-md));
  height: auto;
}

@media (max-width: 767px) {
  .app-icons {
    justify-content: flex-start;
    gap: clamp(var(--sp-1), 4vw, var(--sp-2));
    min-width: 100%;
  }

  .app-icon {
    width: clamp(var(--icn-md), 14vw, var(--icn-xl));
  }
}

/* Narrative Content */
.narrative-block {
  margin-bottom: var(--sp-1);
}

@media (max-width: 768px) {

  .meta-label {
    margin-top: var(--sp-4);
    margin-bottom: var(--sp-2);
  }

  .narrative-block {
    margin-bottom: var(--sp-2);
  }
}

.narrative-label {
  font-size: var(--text-base);
  font-weight: var(--font-bold);
  margin-bottom: var(--sp-2);
  color: var(--color-text-light);
}

.narrative-text {
  font-size: var(--text-lg);
  font-weight: var(--font-light);
  color: var(--color-text-dark);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-8);
}

/* ================================
 ARTWORK GRID LAYOUT
================================ */

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

.artwork-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  /* Ensure --sp-3 is defined globally */
  max-width: var(--max-content-width);
  margin-left: auto;
  margin-right: auto;
}

.artwork-grid picture {
  display: block;
  width: 100%;
  position: relative;
}

.artwork-grid img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Flex Modifiers */
.flex-1 {
  flex: 0 0 calc(25% - var(--sp-3) * 0.75);
  max-width: calc(25% - var(--sp-3) * 0.75);
}

.flex-2 {
  flex: 0 0 calc(50% - var(--sp-3) / 2);
  max-width: calc(50% - var(--sp-3) / 2);
}

.flex-3 {
  flex: 0 0 calc(75% - var(--sp-3) * 0.25);
  max-width: calc(75% - var(--sp-3) * 0.25);
}

.flex-4 {
  flex: 0 0 100%;
  max-width: 100%;
}

.flex-bg {
  flex: 0 0 calc(65% - var(--sp-3) * 0.5);
  max-width: calc(65% - var(--sp-3) * 0.5);
}

.flex-sm {
  flex: 0 0 calc(35% - var(--sp-3) * 0.5);
  max-width: calc(35% - var(--sp-3) * 0.5);
}

/* Fill container height when needed */
.fill-height {
  display: flex;
  align-items: stretch;
}

.fill-height img {
  height: 100%;
  object-fit: cover;
}

/* Responsive Stack on Mobile */
@media (max-width: 767px) {
  .artwork-grid {
    flex-wrap: wrap;
  }

  .artwork-grid>* {
    flex: 1 1 100% !important;
    max-width: 100% !important;
  }

  .fill-height {
    display: block;
  }

  .fill-height img {
    height: auto;
    object-fit: contain;
  }

  /* Creative square crops on mobile — matches Titanium Coffee approach */
  .artwork-grid-crop img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }
}

/* ================================
   Stylo Icon Grid
================================ */

.stylo-icon-heading {
  font-size: var(--text-lg);
  text-transform: uppercase;
  color: var(--color-text);
  font-weight: var(--font-bold);
  margin-bottom: 0;
}

.stylo-icon-divider {
  height: 1px;
  background-color: var(--color-muted);
  margin-top: var(--sp-2);
}

.stylo-icon-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-8);
  max-width: var(--max-content-width);
  margin: var(--sp-12) auto 0;
}

.stylo-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
}

.stylo-icon-item img {
  width: 72px;
  height: 72px;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.stylo-icon-item:hover img {
  opacity: 1;
}

.stylo-icon-item span {
  font-size: var(--text-xs);
  color: var(--color-muted);
  text-align: center;

}

@media (max-width: 767px) {
  .stylo-icon-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-6) var(--sp-4);
  }

  .stylo-icon-item img {
    width: 80px;
    height: 80px;
  }

  .stylo-icon-item:last-child {
    display: none;
  }
}

/* ================================
   CTA Section Styling
================================ */

.cta-section {
  margin: 0 auto;
  text-align: center;
}

.cta-icon {
  margin: 0 auto;
  text-align: center;
  width: clamp(var(--icn-lg), 12vw, var(--icn-xl));
  padding-block: clamp(var(--sp-2), 4vw, var(--sp-6));
}

.cta-content {
  width: clamp(70%, 40vw, 80%);
  margin: 0 auto;
  padding: var(--sp-8) var(--sp-4);
  background: linear-gradient(
  to bottom,
  rgba(var(--color-footer-rgb), 0) 0%,
  rgba(var(--color-footer-rgb), 0.2) 25%,
  rgba(var(--color-footer-rgb), 0.5) 50%,
  rgba(var(--color-footer-rgb), 0.75) 75%,
  rgba(var(--color-footer-rgb), 1) 100%
);
  border-radius: var(--radius-lg);
}

.cta-heading {
  font-size: var(--text-2xl);
  font-weight: var(--font-medium);
  line-height: var(--lh-snug);
  color: var(--color-text-light);
  max-width: 25ch;
  margin: 0 auto var(--sp-1);
  text-align: center;
  text-wrap: balance;
}

.cta-paragraph {
  font-size: var(--text-lg);
  font-weight: var(--font-light);
  color: var(--color-text-dark);
  margin-top: var(--sp-5);
  margin-bottom: var(--sp-6);
  position: relative;
  top: 1px;
}

.cta-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
  text-align: center;
  padding-block: var(--sp-4);
}

.cta-footer-inner {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  text-align: left;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .cta-heading {
    font-size: var(--text-xl);
    max-width: 18ch;
  }

  .cta-footer {
    flex-direction: column;
  }

  .cta-paragraph {
    font-size: var(--text-base);
  }
}

@media (max-width: 500px) {
  .cta-content {
    width:95%;
  }
  .cta-heading{
    max-width: 18ch;
  }
  .cta-paragraph {
    text-align: center;
    max-width: 25ch;
  }
}

/* ===================================================
   CONTACT FORM PAGE LAYOUT
=================================================== */

/* Contact Form Specific Styles */
.contact-section {
  padding: var(--sp-20) var(--sp-8);
  min-height: 80vh;
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
}

.contact-header {
  text-align: center;
  margin-bottom: var(--sp-16);
}

.contact-title {
  font-size: clamp(3.5rem, 7vw, 4.5rem);
  font-weight: var(--font-bold);
  margin-bottom: var(--sp-4);
  color: var(--color-text-light);
}

.contact-subtitle {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: var(--font-light);
  color: var(--color-text-dark);
  max-width: 42ch;
  margin: 0 auto;
  text-wrap: balance;
}

.form-container {
  background: linear-gradient(135deg,
      rgba(var(--color-nav-rgb), 0.1) 30%,
      rgba(var(--color-nav-rgb), 0) 100%);
  border: 1px solid var(--color-outline);
  border-radius: var(--radius-lg);
  padding: var(--sp-12);
  backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: var(--sp-6);
}

.form-label {
  display: block;
  font-size: var(--text-base);
  font-weight: var(--font-medium);
  color: var(--color-text-light);
  margin-bottom: var(--sp-2);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--sp-4);
  font-size: var(--text-base);
  font-family: inherit;
  background-color: rgba(var(--color-bg-rgb), 0.5);
  border: 1px solid var(--color-outline);
  border-radius: var(--radius-md);
  color: var(--color-text-light);
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-highlight);
  background-color: rgba(var(--color-bg-rgb), 0.8);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-section {
    padding: var(--sp-16) var(--sp-4);
  }

  .form-container {
    padding: var(--sp-8);
  }
}

.submit-button {
  background: var(--color-button-background);
  color: var(--color-button-text);
  border: none;
  padding: var(--sp-4) var(--sp-8);
  font-size: var(--text-base);
  font-weight: var(--font-medium);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 150px;
}

.submit-button:hover {
  background-color: var(--color-highlight);
  transform: translateY(-2px);
}

.submit-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Honeypot - completely hidden */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  tab-index: -1 !important;
}

.form-status {
  margin-top: var(--sp-4);
  padding: var(--sp-3);
  border-radius: var(--radius-md);
  display: none;
}

.form-status.success {
  background-color: rgba(34, 197, 94, 0.1);
  border: 1px solid var(--color-highlight);
  color: #22c55e;
}

.form-status.error {
  background-color: var(--color-bg);
  border: 1px solid var(--color-highlight);
  color: var(--color-error);
}

/* Required field indicator */
.required::after {
  content: " *";
  color: var(--color-highlight);
}

/* Loading animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-text-light);
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s ease-in-out infinite;
  margin-left: var(--sp-2);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ===================================================
   HOME PAGE
=================================================== */

/* Hero */
.home-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 var(--sp-8);
  position: relative;
}

.home-hero-headline {
  font-family: 'Inter', sans-serif;
  font-size: clamp(3.2rem, 9vw, 8rem);
  font-weight: var(--font-bold);
  line-height: var(--lh-none);
  letter-spacing: var(--ls-tighter);
  color: var(--color-text-light);
  max-width: 12ch;
  margin: 0 auto var(--sp-8);
  opacity: 0;
  transform: translateY(40px);
  animation: heroFadeUp 1s var(--ease-out-expo) 0.2s forwards;
}

.home-hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  font-weight: var(--font-light);
  color: var(--color-muted);
  max-width: 36ch;
  line-height: var(--lh-relaxed);
  margin: 0 auto var(--sp-6);
  text-wrap: balance;
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 1s var(--ease-out-expo) 0.45s forwards;
}

.home-hero-qualifier {
  font-size: clamp(0.85rem, 1.2vw, 1.05rem);
  font-weight: var(--font-medium);
  color: var(--color-highlight);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  margin: 0 auto var(--sp-12);
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 1s var(--ease-out-expo) 0.65s forwards;
}

.home-hero-cta {
  display: flex;
  gap: var(--sp-4);
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 1s var(--ease-out-expo) 0.85s forwards;
}

.home-hero-cta .button {
  --color-button-background: var(--color-highlight);
  --color-button-text: var(--color-bg);
  background-color: var(--color-highlight);
  color: var(--color-bg);
  font-weight: var(--font-bold);
  letter-spacing: var(--ls-wide);
}

.home-hero-cta .button:hover {
  --color-button-hover-bg: var(--color-text-light);
  background-color: var(--color-text-light);
  color: var(--color-bg);
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- Homepage Content Sections ---- */

.home-content-section {
  padding: clamp(5rem, 10vh, 8rem) var(--sp-8);
  max-width: var(--max-content-width);
  margin: 0 auto;
}

.home-content-section--narrow {
  max-width: 780px;
}

.home-content-section--wide {
  max-width: 1400px;
}

/* Section Label */
.home-label {
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  color: var(--color-highlight);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  margin-bottom: var(--sp-4);
}

/* Section Headline */
.home-headline {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: var(--font-bold);
  color: var(--color-text-light);
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-tight);
  margin-bottom: var(--sp-8);
  text-wrap: balance;
  max-width: 20ch;
}

/* Section Body Text */
.home-body {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: var(--font-light);
  color: var(--color-text-dark);
  line-height: var(--lh-relaxed);
  max-width: 55ch;
}

.home-body strong {
  color: var(--color-text-light);
}

/* Pillar List (brand, web, optimisation) */
.home-pillars {
  list-style: none;
  padding: 0;
  margin: var(--sp-8) 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.home-pillars li {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: var(--font-light);
  color: var(--color-text-light);
  padding-left: var(--sp-6);
  position: relative;
}

.home-pillars li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 1px;
  background: var(--color-highlight);
}

/* Statement (large italic-style text) */
.home-statement {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: var(--font-medium);
  color: var(--color-text-light);
  margin-top: var(--sp-6);

}

/* ---- Process Strip ---- */
.home-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-1);
  margin-top: var(--sp-10);
}

@media (max-width: 768px) {
  .home-process {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-3);
  }
}

@media (max-width: 480px) {
  .home-process {
    grid-template-columns: 1fr;
  }
}

.home-process-step {
  padding: var(--sp-6) var(--sp-5);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  transition: border-color var(--duration-normal) ease, background-color var(--duration-normal) ease;
}

.home-process-step:hover {
  border-color: var(--color-highlight);
  background-color: var(--color-surface-subtle);
}

.home-process-number {
  font-family: 'Inter', sans-serif;
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  color: var(--color-highlight);
  letter-spacing: var(--ls-wider);
  margin-bottom: var(--sp-3);
}

.home-process-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.125rem, 1.5vw, 1.25rem);
  font-weight: var(--font-bold);
  color: var(--color-text-light);
}

.home-process-desc {
  font-size: var(--text-xs);
  font-weight: var(--font-light);
  color: var(--color-text-dark);
  line-height: var(--lh-normal);
  margin-top: var(--sp-2);
}

/* ---- Proof / Case Study Snippets ---- */
.home-proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-1);
}

.home-proof-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-10);
  padding: var(--sp-10) 0;
  border-bottom: 1px solid var(--color-border-subtle);
  align-items: start;
}

.home-proof-item:first-child {
  padding-top: 0;
}

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

@media (max-width: 768px) {
  .home-proof-item {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }
}

.home-proof-name {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 1.75rem);
  font-weight: var(--font-bold);
  color: var(--color-text-light);
  margin-bottom: var(--sp-2);
}

.home-proof-type {
  font-size: var(--text-sm);
  font-weight: var(--font-light);
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  margin-bottom: var(--sp-6);
}

.home-proof-detail {
  margin-bottom: var(--sp-4);
}

.home-proof-detail-label {
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  color: var(--color-highlight);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  margin-bottom: var(--sp-1);
}

.home-proof-detail-text {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  font-weight: var(--font-light);
  color: var(--color-text-dark);
  line-height: var(--lh-relaxed);
}

.home-proof-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  margin-top: var(--sp-4);
  transition: color var(--duration-fast) ease, gap var(--duration-normal) ease;
}

.home-proof-link:hover {
  color: var(--color-highlight);
  gap: var(--sp-3);
}

.home-proof-link::after {
  content: '\2192';
}

/* Stats inline in proof section */
.home-stats-inline {
  display: flex;
  justify-content: center;
  gap: clamp(var(--sp-8), 6vw, var(--sp-16));
  padding: var(--sp-10) 0;
  border-top: 1px solid var(--color-border-subtle);
  margin-top: var(--sp-4);
  flex-wrap: wrap;
}

/* ---- Who This Is For ---- */
.home-fit-list {
  list-style: none;
  padding: 0;
  margin: var(--sp-6) 0 var(--sp-10);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.home-fit-list li {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: var(--font-light);
  color: var(--color-text-light);
  padding-left: var(--sp-6);
  position: relative;
  line-height: var(--lh-normal);
}

.home-fit-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 1px;
  background: var(--color-highlight);
}

.home-friction {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: var(--font-light);
  color: var(--color-muted);
  font-style: italic;
}

.home-friction strong {
  color: var(--color-text-light);
  font-style: normal;
}

/* ---- Strong Statements Section ---- */
.home-statements {
  padding: clamp(6rem, 14vh, 10rem) var(--sp-8);
  max-width: var(--max-content-width);
  margin: 0 auto;
  text-align: center;
}

.home-statements-text {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.4rem, 3.5vw, 2.6rem);
  font-weight: var(--font-light);
  line-height: var(--lh-snug);
  color: var(--color-text-light);
  max-width: 26ch;
  margin: 0 auto var(--sp-4);
  text-wrap: balance;
}

.home-statements-text strong {
  font-weight: var(--font-bold);
  color: var(--color-highlight);
}

.home-statements-sub {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: var(--font-light);
  color: var(--color-muted);
  max-width: 40ch;
  margin: var(--sp-6) auto 0;
  line-height: var(--lh-relaxed);
}

/* ---- Work Gallery Grid ---- */
.work-gallery {
  padding: clamp(5rem, 10vh, 8rem) var(--sp-8);
  max-width: 1400px;
  margin: 0 auto;
}

.work-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
}

@media (max-width: 768px) {
  .work-gallery-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }
}

.work-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  display: block;
  border: 1px solid transparent;
  transition: border-color var(--duration-normal) ease;
}

.work-gallery-item:hover {
  border-color: var(--color-border-hover);
}

.work-gallery-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform var(--duration-slow) var(--ease-out-expo), filter var(--duration-slow) ease;
}

.work-gallery-item:hover img {
  transform: scale(1.04);
  filter: brightness(0.7);
}

.work-gallery-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--sp-8) var(--sp-6);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
  transform: translateY(8px);
  opacity: 0;
  transition: opacity var(--duration-normal) ease, transform var(--duration-normal) ease;
}

.work-gallery-item:hover .work-gallery-info {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .work-gallery-info {
    opacity: 1;
    transform: translateY(0);
  }
}

.work-gallery-name {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 1.75rem);
  font-weight: var(--font-bold);
  color: var(--color-text-light);
  margin-bottom: var(--sp-1);
}

.work-gallery-category {
  font-size: var(--text-sm);
  font-weight: var(--font-light);
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
}

/* ---- Services Landing Grid ---- */
.services-landing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-1);
}

@media (max-width: 768px) {
  .services-landing-grid {
    grid-template-columns: 1fr;
  }
}

.services-landing-card {
  display: block;
  padding: var(--sp-10) var(--sp-6);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: border-color var(--duration-normal) ease, background-color var(--duration-normal) ease, transform var(--duration-fast) ease;
}

.services-landing-card:hover {
  border-color: var(--color-highlight);
  background-color: var(--color-surface-subtle);
  transform: translateY(-2px);
}

.services-landing-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: var(--font-bold);
  color: var(--color-text-light);
  margin-bottom: var(--sp-3);
}

.services-landing-card p {
  font-size: var(--text-sm);
  font-weight: var(--font-light);
  color: var(--color-text-dark);
  line-height: var(--lh-relaxed);
}

/* ---- Breadcrumb Navigation ---- */
.breadcrumb-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-10) var(--sp-8);
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: var(--font-medium);
}

.breadcrumb-nav a {
  color: var(--color-text-light);
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}

.breadcrumb-nav a:hover {
  color: var(--color-highlight);
}

.breadcrumb-separator {
  color: var(--color-muted);
  user-select: none;
}

/* Featured Work */
.home-work {
  padding: var(--sp-20) var(--sp-8);
  max-width: 1400px;
  margin: 0 auto;
}

.home-section-label {
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  color: var(--color-highlight);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  margin-bottom: var(--sp-3);
}

.home-section-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: var(--font-bold);
  color: var(--color-text-light);
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-none);
  margin-bottom: var(--sp-16);
  text-wrap: balance;
}

.home-work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
}

@media (max-width: 768px) {
  .home-work-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }
}

.home-work-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.home-work-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

.home-work-item:hover img {
  transform: scale(1.05);
  filter: brightness(0.7);
}

.home-work-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--sp-8) var(--sp-6);
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
  transform: translateY(10px);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.home-work-item:hover .home-work-info {
  opacity: 1;
  transform: translateY(0);
}

.home-work-name {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 1.75rem);
  font-weight: var(--font-bold);
  color: var(--color-text-light);
  margin-bottom: var(--sp-1);
}

.home-work-category {
  font-size: var(--text-sm);
  font-weight: var(--font-light);
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
}

/* Mobile: always show info */
@media (max-width: 768px) {
  .home-work-info {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-work-footer {
  text-align: center;
  margin-top: var(--sp-12);
}

/* Services Strip */
.home-services {
  padding: var(--sp-20) var(--sp-8);
  max-width: var(--max-content-width);
  margin: 0 auto;
}

.home-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-1);
}

@media (max-width: 768px) {
  .home-services-grid {
    grid-template-columns: 1fr;
  }
}

.home-service-card {
  display: block;
  padding: var(--sp-8) var(--sp-6);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: border-color 0.4s ease, background-color 0.4s ease, transform var(--duration-fast) ease;
}

.home-service-card:hover {
  border-color: var(--color-highlight);
  background-color: rgba(255,255,255,0.02);
  transform: translateY(-2px);
}

.home-service-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: var(--font-bold);
  color: var(--color-text-light);
  margin-bottom: var(--sp-3);
}

.home-service-card p {
  font-size: var(--text-sm);
  font-weight: var(--font-light);
  color: var(--color-text-dark);
  line-height: var(--lh-relaxed);
}

/* Philosophy / Statement */
.home-philosophy {
  padding: clamp(6rem, 15vh, 12rem) var(--sp-8);
  max-width: var(--max-content-width);
  margin: 0 auto;
  text-align: center;
}

.home-philosophy-text {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: var(--font-light);
  line-height: var(--lh-snug);
  color: var(--color-text-light);
  max-width: 24ch;
  margin: 0 auto var(--sp-6);
  text-wrap: balance;
}

.home-philosophy-text strong {
  font-weight: var(--font-bold);
  color: var(--color-highlight);
}

.home-philosophy-sub {
  font-size: clamp(1.125rem, 1.5vw, 1.25rem);
  font-weight: var(--font-light);
  color: var(--color-text-dark);
  max-width: 45ch;
  margin: 0 auto;
  line-height: var(--lh-relaxed);
}

/* Clients / Trust Strip */
.home-trust {
  padding: var(--sp-16) var(--sp-8);
  text-align: center;
  max-width: var(--max-content-width);
  margin: 0 auto;
}

.home-trust-label {
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  color: var(--color-text-dark);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  margin-bottom: var(--sp-8);
}

.home-trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(var(--sp-8), 5vw, var(--sp-16));
  flex-wrap: wrap;
  opacity: 0.4;
}

.home-trust-logos img {
  height: clamp(24px, 3vw, 40px);
  width: auto;
  filter: grayscale(1) brightness(2);
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.home-trust-logos img:hover {
  filter: grayscale(0) brightness(1);
  opacity: 1;
}

/* Stats Row */
.home-stats {
  display: flex;
  justify-content: center;
  gap: clamp(var(--sp-8), 8vw, var(--sp-20));
  padding: var(--sp-16) var(--sp-8);
  max-width: var(--max-content-width);
  margin: 0 auto;
  flex-wrap: wrap;
}

.home-stat {
  text-align: center;
}

.home-stat-number {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: var(--font-bold);
  color: var(--color-text-light);
  line-height: var(--lh-none);
  margin-bottom: var(--sp-2);
}

.home-stat-label {
  font-size: var(--text-sm);
  font-weight: var(--font-light);
  color: var(--color-text-dark);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
}

/* ======================================
   PAGE HERO & ABOUT OVERRIDES
====================================== */

.page-hero-section {
  padding-top: 15vh;
}

.about-philosophy {
  padding: 0;
  text-align: left;
}

.about-philosophy-text {
  text-align: left;
  margin: 0 0 var(--sp-6) 0;
}

/* ======================================
   SECTION NAV (sticky page section links)
====================================== */

.section-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: rgba(var(--color-bg-rgb), 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transform: translateY(0);
  transition: transform 0.3s var(--ease-out-quart), opacity 0.3s var(--ease-out-quart);
  opacity: 1;
}

.section-nav--hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.section-nav-inner {
  max-width: var(--max-content-width);
  margin: 0 auto;
  padding: var(--sp-2) var(--sp-10);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-1);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.section-nav-inner::-webkit-scrollbar {
  display: none;
}

.section-nav-link {
  font-family: 'Inter', sans-serif;
  font-size: var(--text-2xs);
  font-weight: var(--font-medium);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: var(--color-text-dark);
  text-decoration: none;
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: color var(--duration-fast) ease, background var(--duration-fast) ease;
}

.section-nav-link:hover {
  color: var(--color-text-light);
}

.section-nav-link.active {
  color: var(--color-bg);
  background: var(--color-highlight);
  font-weight: var(--font-bold);
}

/* Mobile adjustments */
@media (max-width: 799px) {
  .section-nav-inner {
    padding: var(--sp-2) var(--sp-4);
    justify-content: flex-start;
  }

  .section-nav-link {
    font-size: var(--text-3xs);
  }
}