@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500&family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap');

:root {
  /* Colorful Home Interior Theme */
  --bg-primary: #faf8f5; /* Warm white / Sand */
  --bg-secondary: #f0ebe1; /* Soft Oat */
  --text-main: #2b2824; /* Espresso / Deep Brown */
  --text-muted: #736d65; /* Warm Taupe */
  
  --accent-forest: #16425b; /* Deep Cerulean / Teal Blue (replaces green) */
  --accent-terracotta: #d87040; /* Vibrant Rust / Terracotta */
  --accent-gold: #e2a843; /* Mustard Gold */
  
  --font-sans: 'DM Sans', sans-serif;
  --font-serif: 'Playfair Display', serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, .serif {
  font-family: var(--font-serif);
  font-weight: 400;
}

.text-huge {
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.text-h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--accent-forest);
}

.text-h3 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.2;
}

.text-lead {
  font-family: var(--font-sans);
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  color: var(--text-muted);
  font-weight: 400;
  max-width: 600px;
}

/* Navigation - Proper Header */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 200;
  background-color: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.navbar.hidden { transform: translateY(-100%); }

.nav-brand {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--accent-forest);
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  gap: 3rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background-color: var(--accent-terracotta);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover::after { width: 100%; }

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}

.section { padding: 10rem 0; }

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--bg-primary);
}

/* The perfectly square centered image */
.hero-img-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 45vw;
  max-width: 600px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  z-index: 1;
  border-radius: 4px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

.hero-img {
  width: 100%;
  height: 120%; /* Extra height for parallax */
  object-fit: cover;
  object-position: center;
  transform: translateY(-10%); /* Starting position for parallax */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(250, 248, 245, 0.2); /* Very subtle warm overlay */
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none; /* Let clicks pass through to image */
}

.hero-title {
  color: var(--text-main);
  overflow: hidden;
  padding-bottom: 0.2em; /* Prevent descender clipping */
  text-shadow: 0 4px 40px rgba(250, 248, 245, 0.8), 0 0 10px rgba(250, 248, 245, 0.5);
  position: relative;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 2vw;
  row-gap: 0rem;
}

.char-wrapper {
  white-space: nowrap; /* Prevent mid-word breaking */
}

.hero-title .line {
  overflow: hidden;
  display: block;
}

.hero-title .char {
  transform: translateY(110%);
  display: inline-block;
}

.hero-subtitle {
  opacity: 0;
  transform: translateY(20px);
  margin-top: 1.8rem;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  max-width: 90%;
  text-align: center;
  pointer-events: auto;
  z-index: 10;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  font-family: var(--font-sans);
  font-size: clamp(0.78rem, 1.1vw, 0.92rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-forest);
  text-shadow: 
    0 1px 2px rgba(250, 248, 245, 1),
    0 0 14px rgba(250, 248, 245, 0.98),
    0 0 28px rgba(250, 248, 245, 0.95);
}

.hero-subtitle span {
  display: inline-block;
}

.hero-subtitle .hero-sep {
  color: var(--accent-terracotta);
  font-size: 0.85em;
  opacity: 0.9;
  margin: 0 0.15rem;
}


/* Image Reveal Section */
.intro-section {
  background-color: var(--bg-primary);
  padding-top: 5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.intro-text {
  padding-right: 2rem;
}

.reveal-img-container {
  overflow: hidden;
  position: relative;
  height: 80vh;
  width: 100%;
  border-radius: 4px;
}

.reveal-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--accent-terracotta);
  z-index: 2;
  transform-origin: top;
}

.reveal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.15);
}

/* Services / Philosophy */
.philosophy-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid rgba(0,0,0,0.05);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  margin-top: 5rem;
}

.phil-item {
  position: relative;
  padding-top: 1.5rem;
}
.phil-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-terracotta);
}

.phil-num {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  margin-bottom: 2rem;
  display: block;
  color: var(--accent-terracotta);
  font-weight: 500;
}

.phil-item h3 {
  margin-bottom: 1.5rem;
  color: var(--accent-forest);
}

/* Button - Architectural & Refined */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.95rem 2.2rem;
  background-color: var(--accent-terracotta);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 500;
  position: relative;
  margin-top: 2rem;
  border-radius: 0;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn:hover {
  background-color: var(--accent-forest);
  color: #fff;
}

/* ========================================================
   STUDIO DISCIPLINES ROSTER (Homepage Editorial Presentation)
   ======================================================== */
.studio-disciplines-section {
  background-color: var(--bg-secondary);
  position: relative;
  border-top: 1px solid rgba(43, 40, 36, 0.08);
  border-bottom: 1px solid rgba(43, 40, 36, 0.08);
}

.disciplines-header-layout {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 4rem;
}

.disciplines-lead-wrap {
  max-width: 500px;
}

.editorial-view-all-link {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-terracotta);
  text-decoration: none;
  font-weight: 500;
  margin-top: 1rem;
  transition: color 0.3s ease;
}

.editorial-view-all-link:hover {
  color: var(--accent-forest);
}

.disciplines-roster {
  border-top: 1px solid rgba(43, 40, 36, 0.12);
}

.discipline-row {
  display: grid;
  grid-template-columns: 80px 1.4fr 2.2fr auto;
  align-items: baseline;
  gap: 2.5rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(43, 40, 36, 0.12);
  transition: background-color 0.3s ease;
}

.disc-col-num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--accent-terracotta);
}

.disc-col-title h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--accent-forest);
  margin-bottom: 0.3rem;
  font-weight: 400;
}

.disc-label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.disc-col-desc p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

.disc-link {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-forest);
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.disc-link:hover {
  color: var(--accent-terracotta);
}

/* ========================================================
   DEDICATED SERVICES PAGE (Architectural Disciplines)
   ======================================================== */
.page-services {
  background-color: var(--bg-primary);
}

.services-hero-header {
  padding: 12rem 0 5rem 0;
  border-bottom: 1px solid rgba(43, 40, 36, 0.08);
}

.discipline-section {
  padding: 7rem 0;
  border-bottom: 1px solid rgba(43, 40, 36, 0.08);
}

.discipline-section.alt-bg {
  background-color: var(--bg-secondary);
}

.discipline-grid {
  display: grid;
  grid-template-columns: 90px 1.8fr 1.3fr;
  gap: 4rem;
  align-items: start;
}

.discipline-num-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.discipline-num {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--accent-terracotta);
  line-height: 1;
}

.discipline-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.discipline-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--accent-forest);
  margin-bottom: 1.25rem;
  font-weight: 400;
  line-height: 1.15;
}

.discipline-lead {
  font-size: 1.15rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 1.8rem;
  font-weight: 400;
}

.discipline-body-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.discipline-body-text p {
  margin-bottom: 1rem;
}

.discipline-spec-table {
  border-top: 1px solid rgba(43, 40, 36, 0.12);
  margin-bottom: 2.5rem;
}

.spec-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(43, 40, 36, 0.08);
  font-size: 0.88rem;
  line-height: 1.5;
}

.spec-label {
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.spec-value {
  color: var(--text-main);
}

.discipline-btn {
  display: inline-block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-forest);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--accent-forest);
  padding-bottom: 4px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.discipline-btn:hover {
  color: var(--accent-terracotta);
  border-color: var(--accent-terracotta);
}

.discipline-visual {
  background-color: var(--bg-secondary);
  padding: 0.75rem;
  border: 1px solid rgba(43, 40, 36, 0.08);
}

.discipline-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.discipline-visual-caption {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* ========================================================
   EDITORIAL ARCHIVE GALLERY (gallery.html)
   ======================================================== */
.page-gallery {
  background-color: var(--bg-primary);
}

.gallery-hero-header {
  padding: 12rem 0 4rem 0;
  border-bottom: 1px solid rgba(43, 40, 36, 0.08);
}

.gallery-header-layout {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 2rem;
}

.gallery-archive-section {
  padding: 5rem 0 8rem 0;
}

.editorial-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 3rem;
  row-gap: 4.5rem;
}

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

.archive-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.archive-media {
  background-color: var(--bg-secondary);
  border: 1px solid rgba(43, 40, 36, 0.08);
  overflow: hidden;
  position: relative;
}

.archive-media img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.4s ease;
}

.archive-card-link:hover .archive-media img {
  opacity: 0.92;
}

.archive-meta {
  margin-top: 1.25rem;
}

.archive-top-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.4rem;
}

.archive-num {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--accent-terracotta);
}

.archive-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.archive-heading {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--accent-forest);
  margin-bottom: 0.4rem;
  font-weight: 400;
  line-height: 1.25;
}

.archive-features-line {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.8rem;
}

.archive-action-text {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-forest);
  font-weight: 500;
  display: inline-block;
  transition: color 0.3s ease;
}

.archive-card-link:hover .archive-action-text {
  color: var(--accent-terracotta);
}

/* ========================================================
   DEDICATED PROJECT MONOGRAPH (project.html)
   ======================================================== */
.page-project {
  background-color: var(--bg-primary);
}

.project-monograph {
  padding: 10rem 0 6rem 0;
}

.project-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.5rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid rgba(43, 40, 36, 0.1);
}

.back-link {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: var(--accent-terracotta);
}

.project-counter {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--accent-forest);
  font-weight: 400;
  letter-spacing: 0.05em;
}

.project-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4.5rem;
  align-items: start;
}

.project-visual-col {
  position: sticky;
  top: 7rem;
}

.project-frame {
  background-color: var(--bg-secondary);
  border: 1px solid rgba(43, 40, 36, 0.1);
  padding: 0.5rem;
}

.project-main-img {
  width: 100%;
  height: auto;
  display: block;
}

.project-caption {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-top: 0.8rem;
}

.project-editorial-col {
  padding-left: 0.5rem;
}

.monograph-header {
  margin-bottom: 2.2rem;
}

.monograph-folio {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-terracotta);
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.monograph-folio-sep {
  opacity: 0.5;
}

.monograph-title {
  font-family: var(--font-serif);
  font-size: clamp(2.3rem, 3.8vw, 3.2rem);
  color: var(--accent-forest);
  line-height: 1.15;
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.01em;
}

/* Specification Ledger (Clean, tabular specification - no chip badges) */
.monograph-ledger {
  border-top: 1px solid rgba(43, 40, 36, 0.12);
  border-bottom: 1px solid rgba(43, 40, 36, 0.12);
  padding: 1.2rem 0;
  margin-bottom: 3rem;
}

.ledger-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: baseline;
  gap: 1.5rem;
  padding: 0.55rem 0;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  line-height: 1.5;
}

.ledger-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

.ledger-value {
  color: var(--text-main);
  font-weight: 400;
}

/* Monograph Content Sections */
.monograph-section {
  margin-bottom: 3rem;
}

.monograph-section-heading {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--accent-forest);
  font-weight: 400;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(43, 40, 36, 0.08);
  letter-spacing: 0.01em;
}

/* Observed Design Elements (Clean numbered notes - NO alert callout box) */
.monograph-features-list {
  display: flex;
  flex-direction: column;
}

.monograph-feature-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(43, 40, 36, 0.06);
  align-items: baseline;
}

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

.feature-num {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-terracotta);
  letter-spacing: 0.1em;
}

.feature-text {
  font-family: var(--font-sans);
  font-size: 0.94rem;
  color: var(--text-main);
  line-height: 1.6;
  margin: 0;
}

/* Narrative */
.monograph-narrative-text {
  font-family: var(--font-sans);
  font-size: 0.96rem;
  line-height: 1.85;
  color: var(--text-main);
  margin: 0;
}

/* Inquiries Block (No neon button!) */
.monograph-inquiry {
  border-top: 1px solid rgba(43, 40, 36, 0.12);
  padding-top: 2.2rem;
  margin-top: 3rem;
  margin-bottom: 2rem;
}

.inquiry-header {
  margin-bottom: 1.4rem;
}

.inquiry-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--accent-forest);
  font-weight: 400;
  margin-bottom: 0.35rem;
}

.inquiry-subtitle {
  font-family: var(--font-sans);
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

.inquiry-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-studio-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: var(--accent-forest);
  color: #ffffff;
  padding: 0.9rem 1.8rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--accent-forest);
  border-radius: 0;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-studio-wa:hover {
  background-color: var(--accent-terracotta);
  border-color: var(--accent-terracotta);
  color: #ffffff;
}

.btn-studio-outline {
  display: inline-flex;
  align-items: center;
  background-color: transparent;
  color: var(--text-main);
  padding: 0.9rem 1.8rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid rgba(43, 40, 36, 0.25);
  border-radius: 0;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.btn-studio-outline:hover {
  border-color: var(--accent-terracotta);
  color: var(--accent-terracotta);
}

/* Pagination Bar */
.project-pagination-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3rem 0;
  margin-top: 4rem;
  border-top: 1px solid rgba(43, 40, 36, 0.1);
  border-bottom: 1px solid rgba(43, 40, 36, 0.1);
}

.pagination-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--text-main);
  transition: color 0.3s ease;
}

.pagination-link:hover {
  color: var(--accent-terracotta);
}

.pagination-arrow {
  font-size: 1.5rem;
  line-height: 1;
}

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

.meta-dir {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.nav-label {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--accent-forest);
}

.pagination-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.pagination-hint kbd {
  background: rgba(43, 40, 36, 0.08);
  padding: 2px 5px;
  border-radius: 2px;
  font-family: inherit;
}

/* Bottom Archive Strip */
.archive-strip-section {
  padding: 4rem 0 2rem 0;
}

.archive-strip-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.archive-strip-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--accent-forest);
  font-weight: 400;
}

.archive-strip-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.archive-strip-tray {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
}

.archive-thumb {
  flex: 0 0 95px;
  height: 65px;
  display: block;
  position: relative;
  border: 1px solid rgba(43, 40, 36, 0.12);
  background-color: var(--bg-secondary);
  opacity: 0.6;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.archive-thumb:hover {
  opacity: 1;
}

.archive-thumb.is-current {
  opacity: 1;
  border-color: var(--accent-terracotta);
  box-shadow: 0 0 0 1px var(--accent-terracotta);
}

.archive-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.archive-thumb-num {
  position: absolute;
  bottom: 2px;
  right: 2px;
  background: rgba(43, 40, 36, 0.85);
  color: #fff;
  font-size: 0.6rem;
  padding: 1px 4px;
  font-weight: 600;
}

/* Proper Footer */
.footer {
  background-color: var(--accent-forest);
  color: #fff;
  padding: 8rem 0 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 4fr 2fr 2fr;
  gap: 4rem;
  margin-bottom: 6rem;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--accent-gold);
}

.footer h4 {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 2rem;
  color: rgba(255,255,255,0.6);
}

.footer ul {
  list-style: none;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 2;
}

.footer a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--accent-terracotta);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

/* Forms */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.form-group {
  position: relative;
}

.form-group input, .form-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--text-muted);
  padding: 1rem 0;
  font-family: var(--font-sans);
  font-size: 1.1rem;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
  border-bottom-color: var(--accent-terracotta);
}

.form-group label {
  position: absolute;
  top: 1rem;
  left: 0;
  color: var(--text-muted);
  pointer-events: none;
  transition: all 0.3s ease;
  font-family: var(--font-sans);
}

.form-group input:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:valid ~ label {
  top: -1rem;
  font-size: 0.8rem;
  color: var(--accent-terracotta);
}

/* Mobile Menu Styles */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 250;
  width: 44px;
  height: 44px;
  position: relative;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  padding: 0;
}

.mobile-menu-btn span {
  position: absolute;
  width: 26px;
  height: 2px;
  background-color: var(--text-main);
  transition: transform 0.3s ease, top 0.3s ease, bottom 0.3s ease, opacity 0.3s ease;
  left: 9px;
}

.mobile-menu-btn span:first-child { top: 16px; }
.mobile-menu-btn span:last-child { bottom: 16px; }

.mobile-menu-btn.active span:first-child {
  transform: rotate(45deg);
  top: 21px;
}
.mobile-menu-btn.active span:last-child {
  transform: rotate(-45deg);
  bottom: 21px;
}

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

body.menu-open .navbar {
  transform: translateY(0) !important;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background-color: var(--bg-primary);
  z-index: 150;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 2rem 1.5rem;
  overflow-y: auto;
  transform: translateY(-100%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.45s;
  pointer-events: none;
  visibility: hidden;
}

.mobile-menu.active {
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}

.mobile-menu a {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.3s ease;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--accent-terracotta);
}

/* Floating WhatsApp Contact - Subtle & Restrained */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background-color: var(--accent-forest);
  color: #ffffff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(22, 66, 91, 0.25);
  z-index: 1000;
  text-decoration: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.whatsapp-float:hover {
  background-color: var(--accent-terracotta);
  color: #ffffff;
  border-color: var(--accent-terracotta);
}

/* Header Social Icons */
.header-social {
  display: flex;
  gap: 1.5rem;
  margin-left: 2rem;
  align-items: center;
}

.header-social a {
  color: var(--text-main);
  font-size: 1.2rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.header-social a:hover {
  color: var(--accent-terracotta);
  transform: translateY(-2px);
}

/* Footer Social Icons */
.footer-social-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

.footer-social-links a {
  font-size: 1.5rem;
  color: rgba(255,255,255,0.8);
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social-links a:hover {
  color: var(--accent-terracotta);
  transform: translateY(-2px);
}

/* ============================
   Video Walkthroughs Section
   ============================ */
.video-section {
  background-color: var(--bg-secondary);
  color: var(--text-main);
}

.video-section .section-label, .video-section .section-eyebrow {
  color: var(--text-muted);
}

.video-section .text-huge {
  color: var(--accent-forest);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 4rem;
}

.video-card {
  position: relative;
  background-color: #1a1a1a;
  overflow: hidden;
  aspect-ratio: 16/9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid rgba(43, 40, 36, 0.15);
}

.video-card img.v-thumb {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: opacity 0.5s ease;
}

.video-card:hover img.v-thumb {
  opacity: 0.85;
}

.video-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(22, 66, 91, 0.85), rgba(0,0,0,0.25));
  z-index: 2;
  transition: opacity 0.4s ease;
}

.video-card .play-btn, .video-card .video-label {
  position: relative;
  z-index: 3;
}

.video-card .play-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: background-color 0.3s ease;
}

.video-card:hover .play-btn {
  background-color: var(--accent-gold);
}

.video-card .play-btn i {
  color: #fff;
  font-size: 1.1rem;
  margin-left: 2px;
}

.video-card .video-label {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color 0.3s ease;
}

.video-card:hover .video-label {
  color: #ffffff;
}

/* ========================================================
   HOMEPAGE CURATED WORKS SHOWCASE
   ======================================================== */
.curated-works-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.curated-works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.5rem;
}

.curated-work-card {
  display: flex;
  flex-direction: column;
}

.curated-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.curated-media {
  background-color: var(--bg-secondary);
  border: 1px solid rgba(43, 40, 36, 0.08);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 11;
}

.curated-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.4s ease;
}

.curated-card-link:hover .curated-media img {
  opacity: 0.92;
}

.curated-meta {
  margin-top: 1.5rem;
}

.curated-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.4rem;
}

.curated-num {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--accent-terracotta);
}

.curated-category {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.curated-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--accent-forest);
  margin-bottom: 0.4rem;
  font-weight: 400;
  line-height: 1.25;
}

.curated-features {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.curated-action {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-forest);
  font-weight: 500;
  display: inline-block;
  transition: color 0.3s ease;
}

.curated-card-link:hover .curated-action {
  color: var(--accent-terracotta);
}

/* Glightbox iframe override */
.gslide-video iframe {
  border: none !important;
}

/* Page Header Sections & Form Cards (Desktop Base) */
.about-hero-section {
  padding-top: 11rem;
  padding-bottom: 4rem;
}

.contact-hero-section {
  padding-top: 12rem;
  padding-bottom: 6rem;
}

.contact-card {
  background: var(--bg-secondary);
  padding: 3.5rem;
  border: 1px solid rgba(43, 40, 36, 0.12);
}

.services-cta-section {
  padding: 7rem 0;
  text-align: center;
}

.services-cta-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.philosophy-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.error-hero-section {
  padding-top: 15rem;
  padding-bottom: 10rem;
  text-align: center;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================================
   RESPONSIVE DESIGN SYSTEM
   ======================================================== */

@media (max-width: 1024px) {

  .hero {
    height: auto;
    min-height: 100vh;
    padding-top: 130px;
    padding-bottom: 40px;
    flex-direction: column;
    justify-content: flex-start;
    gap: 2rem;
  }
  .hero-content {
    order: -1; /* Move text above the image */
  }
  .hero-img-wrapper {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 90vw;
    max-width: 100%;
    aspect-ratio: 1 / 1;
  }
  .hero-title {
    white-space: normal !important;
    font-size: clamp(3rem, 12vw, 5rem) !important;
    line-height: 1.2 !important;
    overflow: visible !important;
    text-shadow: none;
  }
  .hero-subtitle {
    max-width: 90%;
    padding: 0;
    margin-top: 1rem;
    background: transparent;
    border: none;
    box-shadow: none;
    gap: 0.4rem;
  }
  .grid-2 { grid-template-columns: 1fr; gap: 4rem; }
  .reveal-img-container { height: 60vh; }
  .philosophy-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .navbar { padding: 1.5rem 2rem; }
  .nav-links { display: none; }
  .header-social { display: none; }
  .mobile-menu-btn { display: block; }
  .container { padding: 0 1.5rem; }
  .gallery-grid { columns: 2 250px; column-gap: 1.5rem; }
  .g-item { margin-bottom: 1.5rem; }
  .section { padding: 6rem 0; }
  .footer { padding: 4rem 0 2rem 0; }
  .whatsapp-float {
    bottom: 24px;
    right: 24px;
    width: 50px;
    height: 50px;
    font-size: 28px;
  }

  /* Disciplines Roster (Homepage) */
  .discipline-row {
    grid-template-columns: 50px 1fr;
    gap: 1.25rem;
    padding: 2rem 0;
  }
  .disc-col-desc {
    grid-column: 2 / -1;
  }
  .disc-col-action {
    grid-column: 2 / -1;
  }

  /* Curated Works (Homepage) */
  .curated-works-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  /* Dedicated Services Page */
  .discipline-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .discipline-num-col {
    flex-direction: row;
    align-items: baseline;
    gap: 1rem;
  }
  .spec-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  /* Dedicated Monograph Page */
  .project-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .project-visual-col {
    position: static;
  }
  .project-editorial-col {
    padding-left: 0;
  }

  /* Selected Works Archive */
  .editorial-archive-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2rem;
    row-gap: 3.5rem;
  }
}

/* Tablet / Smaller Laptops */
@media (max-width: 768px) {
  .section {
    padding: 4.5rem 0;
  }

  .services-hero-header,
  .gallery-hero-header,
  .about-hero-section,
  .contact-hero-section {
    padding-top: 8rem !important;
    padding-bottom: 2.5rem !important;
  }

  .project-monograph {
    padding: 7rem 0 3.5rem 0;
  }

  .error-hero-section {
    padding-top: 8.5rem !important;
    padding-bottom: 4rem !important;
  }

  .discipline-section {
    padding: 3.75rem 0;
  }
}

/* Mobile Phones (Smartphones) */
@media (max-width: 600px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
  }

  .container {
    padding: 0 1.25rem !important;
  }

  /* Compact Sleek Navbar */
  .navbar {
    padding: 0.9rem 1.25rem !important;
  }

  .nav-brand {
    font-size: 1.15rem !important;
    letter-spacing: 0.04em !important;
  }

  .mobile-menu {
    gap: 1.75rem;
    padding: 2rem 1.5rem;
    overflow-y: auto;
  }

  .mobile-menu a {
    font-size: clamp(1.8rem, 6.5vw, 2.3rem);
  }

  /* Typography Optimization: zero awkward line wraps, zero overflow */
  .text-huge {
    font-size: clamp(2.1rem, 8.5vw, 3rem) !important;
    line-height: 1.14 !important;
    letter-spacing: -0.01em !important;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .text-h2 {
    font-size: clamp(1.75rem, 6.8vw, 2.25rem) !important;
    line-height: 1.18 !important;
    letter-spacing: -0.01em !important;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .text-h3 {
    font-size: clamp(1.25rem, 4.8vw, 1.55rem) !important;
    line-height: 1.25 !important;
  }

  .text-lead {
    font-size: 1.02rem !important;
    line-height: 1.6 !important;
  }

  .section {
    padding: 3.5rem 0 !important;
  }

  /* Buttons */
  .btn {
    padding: 0.85rem 1.6rem !important;
    font-size: 0.76rem !important;
    letter-spacing: 0.12em !important;
    max-width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }

  /* Homepage Hero */
  .hero {
    padding-top: 85px !important;
    padding-bottom: 2rem !important;
    min-height: auto !important;
    gap: 1.5rem !important;
  }

  .hero-img-wrapper {
    width: 88vw !important;
    max-width: 320px !important;
    aspect-ratio: 1 / 1 !important;
    margin: 0 auto;
  }

  .hero-title {
    font-size: clamp(2.3rem, 10vw, 3.4rem) !important;
    line-height: 1.15 !important;
    row-gap: 0.2rem !important;
  }

  .hero-subtitle {
    font-size: 0.7rem !important;
    letter-spacing: 0.12em !important;
    gap: 0.4rem !important;
    max-width: 100% !important;
  }

  /* Grid 2 & Images */
  .grid-2 {
    gap: 2.25rem !important;
  }

  .reveal-img-container {
    height: clamp(240px, 45vh, 320px) !important;
  }

  /* Philosophy */
  .philosophy-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
    margin-bottom: 2rem !important;
  }

  .philosophy-header p.text-lead {
    text-align: left !important;
  }

  .philosophy-grid {
    gap: 1.75rem !important;
  }

  .phil-item {
    padding: 1rem 0;
  }

  /* Disciplines Roster (Homepage) */
  .disciplines-header-layout {
    gap: 1.25rem !important;
    margin-bottom: 2.25rem !important;
  }

  .discipline-row {
    grid-template-columns: 32px 1fr !important;
    gap: 0.6rem 0.85rem !important;
    padding: 1.5rem 0 !important;
  }

  .disc-col-num {
    font-size: 1.35rem !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  .disc-col-title {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  .disc-col-title h3 {
    font-size: 1.35rem !important;
  }

  .disc-col-desc {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
  }

  .disc-col-desc p {
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
  }

  .disc-col-action {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    margin-top: 0.25rem !important;
  }

  /* Curated Works (Homepage) */
  .curated-works-header {
    margin-bottom: 2rem !important;
    gap: 1rem !important;
  }

  .curated-works-grid {
    gap: 2rem !important;
  }

  .curated-title {
    font-size: 1.25rem !important;
  }

  /* Video Grid */
  .video-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
    margin-top: 2.25rem !important;
  }

  /* Services Page Specific */
  .services-hero-header {
    padding-top: 7.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  .discipline-section {
    padding: 3.25rem 0 !important;
  }

  .discipline-grid {
    gap: 1.75rem !important;
  }

  .discipline-num-col {
    flex-direction: row !important;
    align-items: baseline !important;
    gap: 0.75rem !important;
  }

  .discipline-num {
    font-size: 2.2rem !important;
  }

  .discipline-category {
    font-size: 0.75rem !important;
  }

  .discipline-title {
    font-size: 1.75rem !important;
    margin-bottom: 0.85rem !important;
  }

  .discipline-lead {
    font-size: 1.05rem !important;
    margin-bottom: 1.25rem !important;
  }

  .discipline-body-text {
    font-size: 0.92rem !important;
    margin-bottom: 1.75rem !important;
  }

  .discipline-spec-table {
    margin-bottom: 1.75rem !important;
  }

  .spec-row {
    grid-template-columns: 1fr !important;
    gap: 0.2rem !important;
    padding: 0.75rem 0 !important;
  }

  .spec-label {
    font-size: 0.7rem !important;
    color: var(--accent-terracotta) !important;
  }

  .spec-value {
    font-size: 0.88rem !important;
  }

  .services-cta-section {
    padding: 3.5rem 0 !important;
  }

  .services-cta-actions {
    flex-direction: column !important;
    gap: 0.85rem !important;
    width: 100% !important;
  }

  .services-cta-actions .btn {
    width: 100% !important;
    margin-top: 0 !important;
  }

  /* Contact Page */
  .contact-hero-section {
    padding-top: 7.5rem !important;
    padding-bottom: 3.5rem !important;
  }

  .contact-card {
    padding: 1.75rem 1.25rem !important;
  }

  .contact-form {
    gap: 1.75rem !important;
  }

  .form-group input, 
  .form-group textarea, 
  #service-select {
    font-size: 16px !important; /* Prevents auto zoom in iOS Safari */
  }

  /* Gallery Page */
  .gallery-hero-header {
    padding-top: 7.5rem !important;
    padding-bottom: 2rem !important;
  }

  .gallery-archive-section {
    padding: 2.25rem 0 3.5rem 0 !important;
  }

  .editorial-archive-grid {
    grid-template-columns: 1fr !important;
    row-gap: 2.5rem !important;
  }

  .archive-heading {
    font-size: 1.25rem !important;
  }

  /* Project Monograph Page */
  .project-monograph {
    padding: 6.8rem 0 3.5rem 0 !important;
  }

  .project-topbar {
    padding-bottom: 1rem !important;
    margin-bottom: 1.75rem !important;
  }

  .back-link {
    font-size: 0.75rem !important;
    letter-spacing: 0.08em !important;
  }

  .project-counter {
    font-size: 1rem !important;
  }

  .project-layout {
    gap: 2rem !important;
  }

  .project-caption {
    flex-direction: column !important;
    gap: 0.35rem !important;
    font-size: 0.68rem !important;
  }

  .monograph-title {
    font-size: clamp(1.75rem, 6.5vw, 2.2rem) !important;
    line-height: 1.2 !important;
  }

  .ledger-row {
    grid-template-columns: 85px 1fr !important;
    gap: 0.75rem !important;
    font-size: 0.85rem !important;
    padding: 0.45rem 0 !important;
  }

  .monograph-feature-item {
    grid-template-columns: 28px 1fr !important;
    gap: 0.75rem !important;
    padding: 0.75rem 0 !important;
  }

  .feature-text {
    font-size: 0.9rem !important;
  }

  .inquiry-actions {
    flex-direction: column !important;
    gap: 0.75rem !important;
    width: 100% !important;
  }

  .btn-studio-wa, 
  .btn-studio-outline {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 0.85rem 1.2rem !important;
  }

  .project-pagination-bar {
    flex-direction: column !important;
    gap: 1.25rem !important;
    padding: 2rem 0 !important;
    margin-top: 2.25rem !important;
    align-items: stretch !important;
    text-align: center !important;
  }

  .pagination-link {
    justify-content: center !important;
  }

  .pagination-hint {
    display: none !important;
  }

  /* 404 Error Page */
  .error-hero-section {
    padding-top: 8rem !important;
    padding-bottom: 4rem !important;
    min-height: 55vh !important;
  }

  .error-actions {
    flex-direction: column !important;
    width: 100% !important;
  }

  .error-actions .btn {
    width: 100% !important;
    margin-top: 0 !important;
  }

  /* Footer */
  .footer {
    padding: 3.5rem 0 2rem 0 !important;
  }

  .footer-grid {
    gap: 2.25rem !important;
    margin-bottom: 2.25rem !important;
  }

  .footer-brand {
    font-size: 2rem !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    gap: 0.6rem !important;
    text-align: left !important;
    padding-top: 1.5rem !important;
  }

  .whatsapp-float {
    bottom: 20px !important;
    right: 16px !important;
    width: 46px !important;
    height: 46px !important;
    font-size: 24px !important;
  }
}


