/* ============================================================
   AWESOME INTERIORS — CSS
   ============================================================ */

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

:root {
  --cream: #FFFAF6;
  --black: #000000;
  --header-h: 57px;
  --panel-pad: 20px;   /* mobile border thickness */
  --panel-pad-desk: 28px; /* desktop border thickness */
  --font-sans: 'Jost', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --font-serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --ease-long: cubic-bezier(0.25, 0.1, 0.25, 1);
  --trans-opacity: opacity 0.9s ease;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--black);
  overflow-x: hidden;
  overflow-y: scroll;  /* always show scrollbar gutter to prevent layout shift */
}

img, video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; font: inherit; }
ul { list-style: none; }
input, textarea, select { font-family: var(--font-sans); }

/* Hide scrollbar visually */
html::-webkit-scrollbar { width: 0; }

/* ---------- TYPOGRAPHY ---------- */
.noe-heading {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.body-text {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  line-height: 22px;
  letter-spacing: 0.01em;
}

.body-text p + p { margin-top: 1.2em; }
.body-text a { border-bottom: 1px solid currentColor; }

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

/* ---------- ROTATE OVERLAY ---------- */
.rotate-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: 0.1em;
}

@media (max-height: 300px) and (orientation: landscape) {
  .rotate-overlay { display: flex; }
}

/* ---------- PAGE TRANSITION OVERLAY ---------- */
.page-overlay {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 990;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}
.page-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ---------- LOADING SCREEN ---------- */
.loading-screen {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 995;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.9s ease 0.3s;
}
.loading-screen.done {
  opacity: 0;
  pointer-events: none;
}
.loading-logo-wrap {
  width: min(220px, 50vw);
  opacity: 0;
  animation: logoFadeIn 0.8s ease 0.5s forwards;
}
.loading-logo-svg {
  width: 100%;
  height: auto;
}

/* Text-based splash for Awesome Interiors */
.loading-text-wrap {
  width: auto;
  min-width: min(320px, 80vw);
  text-align: center;
}
.loading-brand-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.loading-brand-name {
  font-family: var(--font-serif);
  font-size: clamp(32px, 7vw, 64px);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1.1;
}
.loading-brand-sub {
  font-family: var(--font-sans);
  font-size: clamp(10px, 1.5vw, 13px);
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
@keyframes logoFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: var(--cream);
  z-index: 500;
}
.site-header.visible { transform: translateY(0); }

/* Hide header while homepage loading screen is active */
#loadingScreen:not(.done) ~ #siteHeader {
  transform: translateY(-100%);
  transition: none;
}
/* Slide down header after homepage loading screen is done */
#loadingScreen.done ~ #siteHeader {
  transform: translateY(-100%);
  transition: transform 0.6s ease;
}
#loadingScreen.done ~ #siteHeader.visible {
  transform: translateY(0);
}

.header-inner {
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
}
.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* Text-based logo — Awesome Interiors */
.header-logo-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
  transition: var(--trans-opacity);
  gap: 2px;
}
.header-logo-link:hover { opacity: 0.5; }

.header-logo-text {
  display: flex;
  align-items: baseline;
  gap: 5px;
  line-height: 1;
}
.logo-awesome {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--black);
}
.logo-interiors {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 1px;
  color: var(--black);
}
.header-logo-byline {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--black);
  opacity: 0.6;
  line-height: 1;
}

@media (min-width: 768px) {
  .logo-awesome  { font-size: 13px; letter-spacing: 4px; }
  .logo-interiors { font-size: 20px; }
  .header-logo-byline { font-size: 10px; letter-spacing: 3px; }
}

/* Desktop nav */
.desktop-nav { display: none; }

@media (min-width: 768px) {
  .desktop-nav { display: block; }
}

.desktop-nav ul {
  display: flex;
  gap: 27px;
}
.nav-link {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--black);
  opacity: 1;
  transition: var(--trans-opacity);
  display: inline-block;
}
.nav-link:hover { opacity: 0.5; }
.nav-link.active-page { opacity: 0.5; }

/* Hamburger */
.hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--trans-opacity);
}
.hamburger:hover { opacity: 0.5; }

@media (min-width: 768px) {
  .hamburger { display: none; }
}

/* ---------- MOBILE MENU ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 800;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--trans-opacity);
}
.mobile-menu-close:hover { opacity: 0.5; }

.mobile-menu nav ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}
.mobile-menu nav ul li a {
  font-family: var(--font-serif);
  font-size: clamp(28px, 8vw, 48px);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
  transition: var(--trans-opacity);
}
.mobile-menu nav ul li a:hover { opacity: 0.5; }

/* ---------- PAGES ---------- */
.page {
  display: none;
  min-height: 100vh;
}
.page.active { display: block; }

/* ---------- HOME: HERO ---------- */
.hero-section {
  /* Tall enough so all 10 panels can stack */
  height: 1010vh;
  position: relative;
}

/* Each panel sticks and has the colored background */
.hero-panel {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  /* top is overridden per-panel inline */
}

/* The clickable area fills the whole panel */
.hero-panel-link {
  display: block;
  width: 100%;
  height: 100%;
}

/* Inner wrapper: colored BG + padding creates the mat/frame effect */
.hero-inner {
  width: 100%;
  height: 100%;
  /* padding top = header height so image starts below nav
     sides + bottom = colored border thickness */
  padding: var(--header-h) var(--panel-pad) var(--panel-pad);
  display: flex;
}

@media (min-width: 768px) {
  .hero-inner {
    padding: var(--header-h) var(--panel-pad-desk) var(--panel-pad-desk);
  }
}

/* The image container fills remaining space inside the padding */
.hero-frame {
  flex: 1;
  overflow: hidden;
  position: relative;
  min-height: 0;
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-long);
  display: block;
}

.hero-panel-link:hover .hero-frame img {
  transform: scale(1.03);
}

/* Water Ripple background elements styling to keep images crisp/high-res */
.ripple-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: url(#water-ripple);
  transition: none !important;
  will-change: filter, transform;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Ensure no scale transitions on hover for ripple background elements */
.hero-panel-link:hover .hero-frame .ripple-bg,
.hover-zoom:hover .ripple-bg {
  transform: none !important;
}

/* Absolute positioned background image wrappers behind content */
.hero-bg-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Contact page wrapper transparent background override to reveal water ripples underneath */
.page-contact.ripple-container .contact-wrap {
  background-color: transparent !important;
  background-image: none !important;
}

/* ---- SPLIT PANELS (panels 3 & 4) ---- */
.split-panel {
  width: 100%;
  height: 100%;
  display: flex;
}

/* Left column: colored bg with text, no extra image-frame needed */
.split-left {
  width: 50%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 40px) 56px 60px;
}

@media (max-width: 767px) {
  .split-left { width: 100%; padding: calc(var(--header-h) + 32px) 28px 40px; justify-content: center; }
  .split-right { display: none; }
}

.split-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  gap: 32px;
}

.split-text {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.split-text .noe-heading {
  font-size: clamp(17px, 2.4vw, 36px);
  line-height: 1.35;
  color: var(--cream);
  max-width: 560px;
}

/* ---- FOUNDER PANEL ---- */
.founder-panel {
  justify-content: center;
}
.founder-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.founder-eyebrow {
  font-family: var(--font-sans);
  font-size: clamp(9px, 1vw, 11px);
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
.founder-name {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 72px);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--cream);
}
.founder-meta {
  font-family: var(--font-sans);
  font-size: clamp(10px, 1.1vw, 13px);
  font-weight: 300;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.6);
}
.founder-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
  padding-left: 0;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 18px;
}
.founder-highlights li {
  font-family: var(--font-sans);
  font-size: clamp(11px, 1.1vw, 14px);
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  padding-left: 14px;
  position: relative;
}
.founder-highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 1px;
  background: rgba(255,255,255,0.5);
}

/* Right column: image with same colored bg + padding frame */
.split-right {
  flex: 1;
  position: relative;
  padding: var(--header-h) var(--panel-pad) var(--panel-pad) 0;
  display: flex;
  min-width: 0;
}

.split-right a {
  display: block;
  flex: 1;
  overflow: hidden;
  position: relative;
}

.split-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-long);
  display: block;
}

.split-right:hover img {
  transform: scale(1.03);
}

.cta-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cream);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--trans-opacity);
}
.cta-label span { transition: var(--trans-opacity); }
.cta-label:hover span { opacity: 0.5; }
a .cta-label { color: var(--black); }

/* ---------- FOOTER ---------- */
.site-footer {
  position: relative;
  padding: 39px 20px 0;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 50;
}

@media (min-width: 768px) {
  .site-footer { padding: 80px 20px 0; min-height: 620px; }
}

.footer-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  width: 100%;
}

.footer-tagline {
  text-align: center;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 22px;
  max-width: 300px;
}
@media (min-width: 768px) {
  .footer-tagline { font-size: 17px; max-width: 650px; }
}

.footer-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
}
.footer-nav ul a,
.footer-nav a {
  font-family: var(--font-sans);
  font-size: 10.5px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-weight: 400;
  opacity: 1;
  transition: var(--trans-opacity);
}
.footer-nav ul a:hover,
.footer-nav a:hover { opacity: 0.5; }

.footer-social {
  display: flex;
  gap: 13px;
  justify-content: center;
}

@media (min-width: 1280px) {
  .footer-nav { gap: 32px; }
  .footer-social { display: flex; }
}

.footer-logo-wrap {
  margin-top: auto;
  padding-top: 40px;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex: 1;
}

/* Footer brand text (replaces old SVG logo) */
.footer-brand-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-bottom: 24px;
}
.footer-brand-name {
  font-family: var(--font-serif);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.03em;
  color: #d29b02;
  line-height: 1;
}
.footer-brand-sub {
  font-family: var(--font-sans);
  font-size: clamp(9px, 1.2vw, 12px);
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #d29b02;
  opacity: 0.7;
}

.footer-bottom-bar {
  width: 100%;
  border-top: 1px solid rgba(0,0,0,0.1);
  margin-top: 20px;
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.05em;
  opacity: 0.7;
}
@media (min-width: 768px) {
  .footer-bottom-bar { flex-direction: row; justify-content: space-between; }
}
.footer-bottom-bar div { display: flex; gap: 20px; }
.footer-bottom-bar a { transition: var(--trans-opacity); }
.footer-bottom-bar a:hover { opacity: 0.5; }

/* ---------- HOVER EFFECTS ---------- */
.hover-zoom {
  overflow: hidden;
}
.hover-zoom img,
.hover-zoom video {
  transition: transform 0.9s var(--ease-long), opacity 0.9s ease;
}
.hover-zoom:hover img,
.hover-zoom:hover video {
  transform: scale(1.04);
  opacity: 0.85;
}

/* ---------- STUDIO PAGE ---------- */
.page-studio {
  padding-top: var(--header-h);
  background: #ebe7da;
}

.std-hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
}

.std-hero-img-wrap {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--header-h));
  overflow: hidden;
}

.std-hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.std-hero-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px 40px;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 100%);
}

.std-hero-caption .noe-heading {
  font-size: clamp(15px, 2vw, 22px);
  line-height: 1.5;
  color: white;
  max-width: 700px;
}

@media (min-width: 1024px) {
  .std-hero-caption {
    padding: 80px 80px;
    width: 55%;
  }
}

/* Studio Sidebar nav (desktop) */
.studio-sidebar-nav {
  display: none;
}
@media (min-width: 768px) {
  .studio-sidebar-nav {
    display: block;
    position: sticky;
    top: var(--header-h);
    float: left;
    width: 200px;
    margin-left: 20px;
    margin-top: 60px;
    z-index: 10;
  }
  .studio-sidebar-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .studio-sidebar-nav ul li {
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0,0,0,0.15);
    cursor: pointer;
    opacity: 0.5;
    transition: var(--trans-opacity);
  }
  .studio-sidebar-nav ul li:hover { opacity: 1; }
  .studio-sidebar-nav ul li.active { opacity: 1; font-weight: 500; }
}

/* Studio mobile tabs */
.studio-mobile-tabs {
  display: flex;
  overflow-x: auto;
  border-bottom: 1px solid rgba(0,0,0,0.15);
  background: #ebe7da;
  position: sticky;
  top: var(--header-h);
  z-index: 10;
  scrollbar-width: none;
}
.studio-mobile-tabs::-webkit-scrollbar { display: none; }
.studio-mobile-tabs ul {
  display: flex;
  gap: 0;
  min-width: max-content;
}
.studio-mobile-tabs ul li {
  font-family: var(--font-sans);
  font-size: 10.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 16px 20px;
  cursor: pointer;
  opacity: 0.5;
  transition: var(--trans-opacity);
  border-bottom: 2px solid transparent;
}
.studio-mobile-tabs ul li.active {
  opacity: 1;
  border-bottom-color: var(--black);
}

@media (min-width: 768px) {
  .studio-mobile-tabs { display: none; }
}

.studio-tab { cursor: pointer; }

/* Studio sections */
.studio-section {
  width: 100%;
  clear: both;
}

.studio-section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px 60px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

@media (min-width: 768px) {
  .studio-section-inner {
    padding: 100px 240px 80px 80px;
    flex-direction: row;
    gap: 80px;
  }
}

.studio-text-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.studio-text-block .noe-heading {
  font-size: clamp(26px, 4vw, 42px);
}

.studio-quote-block {
  flex: 1;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.studio-quote-block blockquote {
  font-size: clamp(18px, 2.5vw, 26px);
  line-height: 1.5;
  padding-left: 20px;
  border-left: 3px solid currentColor;
}
.studio-quote-block cite {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-style: normal;
  opacity: 0.6;
}

.studio-image-full {
  width: 100%;
  height: 60vw;
  max-height: 700px;
  overflow: hidden;
}
.studio-image-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}
.studio-image-full:hover img { transform: scale(1.03); }

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 20px;
  padding: 20px 20px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 600px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .team-grid { grid-template-columns: repeat(4, 1fr); padding: 20px 40px 100px; }
}
@media (min-width: 1200px) {
  .team-grid { grid-template-columns: repeat(6, 1fr); }
}

.team-card-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.team-card {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #ddd;
}
.team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.team-role {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.05em;
  opacity: 0.6;
}

/* Founders */
.founders-image-grid {
  padding: 0 20px 80px;
}
@media (min-width: 768px) {
  .founders-image-grid { padding: 0 40px 100px; }
}
.founders-img {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
}
.founders-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 600px;
}

/* ---------- PROJECTS PAGE ---------- */
.page-projects {
  padding-top: var(--header-h);
}

.projects-hero {
  padding: 0 20px 80px;
}

.projects-hero-text {
  padding: 60px 0 48px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.projects-hero-text .noe-heading {
  font-size: clamp(22px, 3.5vw, 40px);
  line-height: 1.35;
}

/* Filter bar */
.projects-filter-wrap {
  position: sticky;
  top: var(--header-h);
  z-index: 10;
  background: #eaebe1;
  padding: 0 0 1px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  overflow-x: auto;
  scrollbar-width: none;
}
.projects-filter-wrap::-webkit-scrollbar { display: none; }

.projects-filter {
  display: flex;
  gap: 0;
  min-width: max-content;
  padding: 0;
}

.filter-btn {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 18px 22px;
  cursor: pointer;
  opacity: 0.5;
  transition: var(--trans-opacity);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.filter-btn:hover { opacity: 1; }
.filter-btn.active {
  opacity: 1;
  border-bottom-color: var(--black);
}

/* Projects grid */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px 20px;
  padding-top: 48px;
}

@media (min-width: 600px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .projects-grid { grid-template-columns: repeat(3, 1fr); }
}

.project-item {
  display: block;
  text-decoration: none;
}

.project-img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #ccc;
  margin-bottom: 16px;
}
.project-img-wrap img,
.project-img-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-info { padding: 0 4px; }
.project-name {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 4px;
  line-height: 1.3;
}
.project-cat {
  font-family: var(--font-sans);
  font-size: 10.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.6;
}

.project-item.hidden { display: none; }

.project-view-btn {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 12px;
  font-weight: 500;
  border-bottom: 1px solid currentColor;
  display: inline-block;
  padding-bottom: 2px;
  opacity: 0.8;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.project-item:hover .project-view-btn {
  opacity: 1;
  transform: translateX(4px);
}

.projects-cta-block {
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}
.projects-cta-block .body-text {
  max-width: 480px;
}
.projects-cta-block .cta-label {
  color: var(--black);
}

/* ---------- FOUNDATION PAGE ---------- */
.page-foundation {
  padding-top: var(--header-h);
}

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

.foundation-logo-center {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

.foundation-content {
  padding: 0;
}

.foundation-inner {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .foundation-inner {
    flex-direction: row;
    padding: 100px 80px;
    gap: 80px;
    align-items: flex-start;
  }
}

.foundation-text-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.foundation-text-col .noe-heading {
  font-size: clamp(24px, 3vw, 36px);
}

.foundation-img-col {
  flex: 1;
  overflow: hidden;
  max-height: 500px;
}
.foundation-img-col img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.foundation-awards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid rgba(0,0,0,0.1);
}
@media (min-width: 768px) {
  .foundation-awards { grid-template-columns: repeat(2, 1fr); }
}

.foundation-award-item {
  padding: 60px 20px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (min-width: 768px) {
  .foundation-award-item { padding: 80px; }
  .foundation-award-item:first-child { border-right: 1px solid rgba(0,0,0,0.1); }
}
.foundation-award-item .noe-heading {
  font-size: clamp(20px, 2.5vw, 28px);
}

/* ---------- CONTACT PAGE ---------- */
.page-contact {
  padding-top: var(--header-h);
}

.contact-wrap {
  width: 100%;
  background-color: #dfe4e8;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='800' viewBox='0 0 800 800'%3E%3Cg stroke='rgba(210, 155, 2, 0.38)' stroke-width='1.2' fill='none'%3E%3Cline x1='0' y1='0' x2='800' y2='800'/%3E%3Cline x1='800' y1='0' x2='0' y2='800'/%3E%3Cline x1='0' y1='400' x2='800' y2='400'/%3E%3Ccircle cx='400' cy='400' r='300' stroke-dasharray='10,5'/%3E%3Ccircle cx='400' cy='400' r='150'/%3E%3Ccircle cx='400' cy='400' r='50'/%3E%3Ccircle cx='0' cy='0' r='200'/%3E%3Ccircle cx='800' cy='0' r='200'/%3E%3Ccircle cx='0' cy='800' r='200'/%3E%3Ccircle cx='800' cy='800' r='200'/%3E%3Cpolygon points='400,100 700,400 400,700 100,400'/%3E%3Cpolygon points='400,200 600,400 400,600 200,400'/%3E%3Cline x1='0' y1='200' x2='800' y2='200'/%3E%3Cline x1='0' y1='600' x2='800' y2='600'/%3E%3Cline x1='200' y1='0' x2='200' y2='800'/%3E%3Cline x1='600' y1='0' x2='600' y2='800'/%3E%3C/g%3E%3C/svg%3E");
  background-position: center center;
  background-repeat: repeat;
  background-size: 600px 600px;
}

.contact-intro {
  padding: 60px 20px 40px;
}
@media (min-width: 768px) {
  .contact-intro { padding: 100px 20px 88px; }
}
.contact-intro .body-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 15.5px;
  line-height: 20.5px;
}

.contact-address {
  text-align: center;
  padding: 0 20px 36px;
}
.contact-address .noe-heading {
  font-size: clamp(18px, 3vw, 32px);
  line-height: 1.5;
}
.contact-address a {
  transition: var(--trans-opacity);
}
.contact-address a:hover { opacity: 0.5; }

.contact-social-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 0 20px 20px;
}

.contact-social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  transition: var(--trans-opacity);
}
.contact-social-link:hover { opacity: 0.5; }

.contact-form-wrap {
  padding: 72px 20px 80px;
  max-width: 680px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .contact-form-wrap { padding: 100px 0 100px; }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 22px 20px;
  background: var(--cream);
  border: none;
  outline: none;
  font-family: var(--font-sans);
  font-size: 10.5px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--black);
  appearance: none;
  -webkit-appearance: none;
}

@media (min-width: 768px) {
  .contact-form input,
  .contact-form textarea,
  .contact-form select { font-size: 12px; }
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--black); opacity: 1; }

.contact-form textarea { resize: none; min-height: 151px; }

.select-wrap { position: relative; }
.select-wrap select { width: 100%; cursor: pointer; }
.select-arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.privacy-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 9px;
  cursor: pointer;
}
.privacy-check input { width: 12px; height: 12px; flex-shrink: 0; margin-top: 3px; accent-color: var(--black); }
.privacy-check span {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.5;
}
.privacy-check a { border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: var(--trans-opacity); }
.privacy-check a:hover { opacity: 0.5; }

.form-submit {
  margin-top: 24px;
  align-self: center;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  transition: var(--trans-opacity);
}
.form-submit:hover { opacity: 0.5; }

.form-success {
  display: none;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 14px;
  color: #2e7d32;
  padding: 16px;
  background: rgba(46,125,50,0.08);
  margin-top: 12px;
}
.form-success.show { display: block; }

/* ---------- SCROLL ANIMATIONS ---------- */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.9s ease 0.2s, transform 0.9s ease 0.2s;
}
.fade-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-bottom {
  position: relative;
  overflow: hidden;
}
.reveal-bottom::after {
  content: '';
  display: block;
  position: absolute;
  inset: 0;
  background: var(--bg, transparent);
  transform: translateY(0);
  transition: transform 0.8s cubic-bezier(0.76, 0, 0.24, 1);
}
.reveal-bottom.revealed::after {
  transform: translateY(100%);
}

/* ---------- RESPONSIVE MISC ---------- */
@media (max-width: 767px) {
  .hero-inner { padding: var(--header-h) 12px 12px; }
  .split-right { display: none; }
  .split-left { width: 100%; }
  .split-text .noe-heading { font-size: 18px; }
  .project-view-btn {
    opacity: 1 !important;
    transform: none !important;
    color: #d29b02;
  }
}

/* White text utility */
.white-text { color: #fff; }

/* Underline utility */
.underline { border-bottom: 1px solid currentColor; }

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.2); border-radius: 2px; }

/* ---------- FIREBASE AUTH MODAL ---------- */
.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.auth-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.auth-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(29, 20, 43, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.auth-modal-content {
  position: relative;
  background: #f5f5f3;
  border: 1px solid rgba(210, 155, 2, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  padding: 48px 40px;
  width: 100%;
  max-width: 420px;
  box-sizing: border-box;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}
.auth-modal.active .auth-modal-content {
  transform: scale(1);
}
.auth-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s;
}
.auth-modal-close:hover {
  opacity: 1;
}
.auth-modal-header {
  margin-bottom: 28px;
}
.auth-modal-header .noe-heading {
  font-size: 24px;
  letter-spacing: 1px;
  margin-bottom: 6px;
  color: #1d142b;
}
.auth-modal-subtitle {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #d29b02;
  margin: 0;
}
.google-signin-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  background: #ffffff;
  border: 1px solid #dcdcdc;
  padding: 12px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}
.google-signin-btn:hover {
  background: #f9f9f9;
  border-color: #b5b5b5;
}
.google-icon {
  width: 18px;
  height: 18px;
}
.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0;
  color: #888;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.auth-divider span {
  padding: 0 10px;
  font-size: 10px;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.auth-email-form input {
  width: 100%;
  padding: 12px 4px;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  background: transparent;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 20px;
  box-sizing: border-box;
  text-transform: uppercase;
  text-align: center;
}
.auth-email-form input::placeholder {
  color: #999;
}
.auth-email-form input:focus {
  outline: none;
  border-bottom-color: #d29b02;
}
.auth-submit-btn {
  width: 100%;
  background: #1d142b;
  color: #d29b02;
  border: 1px solid #d29b02;
  padding: 14px;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.auth-submit-btn:hover {
  background: #2d2042;
  color: #f8f6f2;
}
.auth-status-msg {
  font-family: var(--font-sans);
  font-size: 11px;
  text-align: center;
  margin-top: 14px;
  display: none;
  line-height: 1.4;
  letter-spacing: 0.5px;
}
.auth-status-msg.success {
  color: #009a44;
  display: block;
}
.auth-status-msg.error {
  color: #b00020;
  display: block;
}

/* Header link tweaks for auth dynamic items */
.auth-trigger-link {
  cursor: pointer;
  text-transform: lowercase;
}
.auth-trigger-link.active-user {
  color: #d29b02 !important;
}
.desktop-nav .auth-nav-item {
  display: inline-block;
}

/* User Profile Avatar in Header */
.auth-nav-item {
  position: relative;
  display: flex;
  align-items: center;
}
.user-profile-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  background: #ffffff;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
  box-sizing: border-box;
}
.user-profile-btn:hover {
  border-color: #d29b02;
  transform: scale(1.05);
}
.user-profile-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.user-profile-btn svg {
  width: 18px;
  height: 18px;
  fill: #1d142b;
}

/* User monogram initials */
.user-monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #1d142b;
  color: #d29b02;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

/* Dropdown Menu beneath Avatar */
.auth-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 10px;
  background: #1d142b;
  border: 1px solid #d29b02;
  min-width: 190px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  padding: 16px;
  z-index: 10100;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  text-align: right;
}
.auth-dropdown.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.auth-dropdown-greeting {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #f8f6f2;
  margin-bottom: 12px;
  display: block;
}
.auth-dropdown-greeting span {
  color: #d29b02;
  font-weight: 500;
}
.auth-dropdown-btn {
  background: transparent;
  color: #d29b02;
  border: 1px solid rgba(210, 155, 2, 0.4);
  padding: 8px 12px;
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
  text-align: center;
}
.auth-dropdown-btn:hover {
  background: #d29b02;
  color: #1d142b;
  border-color: #d29b02;
}

/* Guest sign in layout button */
.guest-signin-btn {
  margin-top: 14px;
  background: transparent;
  color: #555;
  border: none;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.2s;
}
.guest-signin-btn:hover {
  color: #1d142b;
}

/* Contact Form Blocker overlay */
.contact-form-wrap {
  position: relative;
}
.contact-form-blocker {
  position: absolute;
  inset: 0;
  z-index: 100;
  background: rgba(223, 228, 232, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
  box-sizing: border-box;
}
.blocker-text {
  font-family: 'Noe Display', Georgia, serif;
  font-size: clamp(20px, 3.5vw, 28px);
  font-style: italic;
  color: #1d142b;
  margin-bottom: 24px;
  line-height: 1.3;
}
.blocker-btn {
  background: #1d142b;
  color: #d29b02;
  border: 1px solid #d29b02;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.blocker-btn:hover {
  background: #2d2042;
  color: #f8f6f2;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-6px); }
  60% { transform: translateY(-3px); }
}

.project-detail-images-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

@media (max-width: 767px) {
  .project-detail-images-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- PROJECTS PAGE WAVE BACKGROUND & STYLE OVERRIDES ---------- */
.projects-graphic-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle at 50% 0%, #f4f5ee, #eaebe1); /* Beige theme matching other pages */
  overflow: hidden;
}

/* Translucent abstract floating design elements (Glassmorphic mesh gradient blobs) */
.abstract-blob {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: multiply; /* Blends beautifully on light beige backgrounds */
  filter: blur(80px);
  opacity: 0.16;
  will-change: transform;
}

.blob-1 {
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(210, 155, 2, 0.4) 0%, rgba(210, 155, 2, 0) 70%);
  top: -10vw;
  left: -10vw;
  animation: floatBlob1 30s ease-in-out infinite alternate;
}

.blob-2 {
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(138, 43, 226, 0.3) 0%, rgba(138, 43, 226, 0) 70%);
  bottom: -15vw;
  right: -10vw;
  animation: floatBlob2 45s ease-in-out infinite alternate;
}

.blob-3 {
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(218, 112, 214, 0.3) 0%, rgba(218, 112, 214, 0) 70%);
  top: 40%;
  left: 30%;
  animation: floatBlob3 35s ease-in-out infinite alternate;
}

.blob-4 {
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, rgba(210, 155, 2, 0.25) 0%, rgba(210, 155, 2, 0) 70%);
  bottom: 30%;
  left: -5vw;
  animation: floatBlob4 40s ease-in-out infinite alternate;
}

/* Infinitely loop animation paths for translucent blobs */
@keyframes floatBlob1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(15vw, 10vh) scale(1.1); }
  100% { transform: translate(-5vw, 20vh) scale(0.9); }
}

@keyframes floatBlob2 {
  0% { transform: translate(0, 0) scale(1.1); }
  50% { transform: translate(-20vw, -15vh) scale(0.95); }
  100% { transform: translate(5vw, 5vh) scale(1.05); }
}

@keyframes floatBlob3 {
  0% { transform: translate(0, 0) scale(0.9); }
  50% { transform: translate(-10vw, 25vh) scale(1.15); }
  100% { transform: translate(10vw, -10vh) scale(1); }
}

@keyframes floatBlob4 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(25vw, -20vh) scale(0.9); }
  100% { transform: translate(-10vw, 15vh) scale(1.1); }
}

/* Layered wavy patterns, repeat vertically, scroll parallax to represent waves */
.waves-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  opacity: 0.55;
  background-image: 
    /* Wave Layer 1: Elegant Gold Waves (More spread out, 800px height, thicker stroke) */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='800' viewBox='0 0 1200 800' preserveAspectRatio='none'%3E%3Cpath d='M 150,0 C 150,100 70,100 70,200 C 70,300 150,300 150,400 C 150,500 230,500 230,600 C 230,700 150,700 150,800 M 550,0 C 550,100 630,100 630,200 C 630,300 550,300 550,400 C 550,500 470,500 470,600 C 470,700 550,700 550,800 M 950,0 C 950,100 870,100 870,200 C 870,300 950,300 950,400 C 950,500 1030,500 1030,600 C 1030,700 950,700 950,800' fill='none' stroke='%23d29b02' stroke-width='4' stroke-opacity='0.5'/%3E%3C/svg%3E"),
    /* Wave Layer 2: Translucent Orchid Wave Contours (More spread out, 1000px height, thicker stroke) */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='1000' viewBox='0 0 1200 1000' preserveAspectRatio='none'%3E%3Cpath d='M 0,300 Q 300,550 600,300 T 1200,300 L 1200,1000 L 0,1000 Z' fill='url(%23grad-orchid)' fill-opacity='0.08'/%3E%3Cpath d='M 0,300 Q 300,550 600,300 T 1200,300' fill='none' stroke='%23da70d6' stroke-width='4' stroke-opacity='0.5'/%3E%3Cdefs%3E%3ClinearGradient id='grad-orchid' x1='0%25' y1='0%25' x2='0%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23da70d6' stop-opacity='1'/%3E%3Cstop offset='100%25' stop-color='%23eaebe1' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E"),
    /* Wave Layer 3: Violet Waves & Gold Dash lines (More spread out, 900px height, thicker stroke) */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='900' viewBox='0 0 1200 900' preserveAspectRatio='none'%3E%3Cpath d='M 300,0 C 300,112.5 380,112.5 380,225 C 380,337.5 300,337.5 300,450 C 300,562.5 220,562.5 220,675 C 220,787.5 300,787.5 300,900 M 800,0 C 800,112.5 720,112.5 720,225 C 720,337.5 800,337.5 800,450 C 800,562.5 880,562.5 880,675 C 880,787.5 800,787.5 800,900' fill='none' stroke='%238a2be2' stroke-width='4.5' stroke-opacity='0.5'/%3E%3Cpath d='M 500,0 C 500,112.5 490,112.5 490,225 C 490,337.5 550,337.5 550,450 C 550,562.5 610,562.5 610,675 C 610,787.5 550,787.5 550,900' fill='none' stroke='%23d29b02' stroke-width='3' stroke-dasharray='8,8' stroke-opacity='0.5'/%3E%3C/svg%3E");
  background-repeat: repeat-y;
  background-size: 100% 800px, 100% 1000px, 100% 900px;
  animation: parallaxWaves 40s linear infinite;
  will-change: background-position;
}

@keyframes parallaxWaves {
  0% {
    background-position: 0 0, 0 0, 0 0;
  }
  100% {
    background-position: 0 800px, 0 -1000px, 0 900px;
  }
}

.page-projects {
  background-color: #eaebe1 !important; /* Beige theme matching other pages */
  color: var(--black);
}

.page-projects .hero-bg-wrap {
  position: fixed; /* Keep background static in viewport to prevent distortion of water ripples */
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.page-projects .noe-heading {
  color: var(--black) !important;
}

.page-projects .projects-grid {
  color: var(--black);
}

.page-projects .project-name {
  color: var(--black) !important;
}

.page-projects .project-cat {
  color: #d29b02 !important;
  opacity: 0.85 !important;
}

.page-projects .project-view-btn {
  color: var(--black) !important;
  border-bottom-color: #d29b02 !important;
}

.page-projects #projectsGrid p {
  color: var(--black) !important;
  opacity: 0.7;
}

/* Override sticky filter bar styles to fit beige theme */
.page-projects .projects-filter-wrap {
  background: #eaebe1 !important;
  border-bottom-color: rgba(0, 0, 0, 0.1) !important;
}

.page-projects .filter-btn {
  color: var(--black) !important;
  opacity: 0.6;
}

.page-projects .filter-btn:hover {
  opacity: 1;
}

.page-projects .filter-btn.active {
  opacity: 1;
  border-bottom-color: var(--black) !important;
}

/* Call to action adjustments if any */
.page-projects .projects-cta-block .cta-label {
  color: #d29b02 !important;
}

/* ============================================================
   EDITORIAL FOUNDER CARD & SERVICES GLOW PANEL ADDITIONS
   ============================================================ */

/* Cursive font integration */
.founder-signature {
  font-family: 'Great Vibes', cursive !important;
  font-size: clamp(48px, 7vw, 68px) !important;
  color: #d29b02;
  line-height: 0.9;
  margin-top: 15px;
  margin-bottom: 5px;
}

/* Light theme editorial layout for Founder Panel */
.founder-card-panel {
  background: #fcfbf7 !important;
  color: #1b1e22;
}

.founder-editorial-para {
  font-family: var(--font-sans);
  font-size: clamp(14px, 1.8vw, 17px);
  font-weight: 300;
  line-height: 1.8;
  color: #333333;
  max-width: 520px;
  margin-bottom: 30px;
}

.founder-signature-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 35px;
}

.founder-signature-name {
  font-family: var(--font-sans);
  font-size: clamp(14px, 1.4vw, 17px);
  font-weight: 500;
  color: #1b1e22;
  letter-spacing: 0.5px;
}

.founder-signature-title {
  font-family: var(--font-sans);
  font-size: clamp(10px, 1vw, 12px);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #888888;
  font-weight: 400;
  margin-top: 2px;
}

.founder-cta {
  color: #1b1e22 !important;
}

.founder-cta span {
  border-bottom: 1px solid #1b1e22;
}

.founder-panel-right {
  position: relative;
  overflow: hidden;
}

.founder-quote-card {
  background: #ffffff;
  border-left: 4px solid #d29b02;
  padding: 40px 36px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  max-width: 440px;
  width: 90%;
  box-sizing: border-box;
}

.founder-quote-text {
  font-family: var(--font-serif);
  font-size: clamp(16px, 2.1vw, 21px);
  font-style: italic;
  line-height: 1.6;
  color: #1b1e22;
  margin-bottom: 16px;
}

.founder-quote-author {
  font-family: var(--font-sans);
  font-size: clamp(10px, 1vw, 12px);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-style: normal;
  color: #d29b02;
  font-weight: 500;
}

/* Services Panel Section styling */
.services-panel {
  background: radial-gradient(circle at 50% 50%, #24292f 0%, #15181a 100%) !important;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  padding: 40px var(--panel-pad) 100px; /* adjusted padding for vertical spacing */
  height: 108vh !important; /* increased panel length to prevent clipping */
}

@media (min-width: 768px) {
  .services-panel {
    padding: 40px var(--panel-pad-desk) 100px; /* adjusted padding for vertical spacing */
  }
}

.services-panel-inner {
  max-width: 920px; /* compacted grid width so cards scale down and fit nicely on desktop */
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Luxury watermark header */
.services-header {
  position: relative;
  height: 70px; /* reduced from 90px to save vertical space */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 20px; /* reduced from 30px */
}

.services-bg-text {
  position: absolute;
  font-family: var(--font-serif);
  font-size: clamp(38px, 6vw, 76px);
  font-style: italic;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.035);
  text-transform: uppercase;
  letter-spacing: 4px;
  pointer-events: none;
  z-index: 1;
  white-space: nowrap;
}

.services-fg-text {
  position: relative;
  font-family: var(--font-sans);
  font-size: clamp(10px, 1.2vw, 12px);
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #d29b02;
  font-weight: 500;
  z-index: 2;
  margin-top: 15px;
}

/* Services Grid layout */
.services-grid-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
}

.service-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(210, 155, 2, 0.25);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 12px; /* reduced from 24px 16px to fit within 100vh height */
  aspect-ratio: 1 / 1;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.service-icon {
  width: 36px; /* reduced from 44px */
  height: 36px; /* reduced from 44px */
  stroke: #ffffff;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 8px; /* reduced from 14px */
  transition: all 0.4s ease;
}

.service-icon .icon-accent {
  stroke: #d29b02;
  transition: all 0.4s ease;
}

.service-label {
  font-family: var(--font-sans);
  font-size: clamp(11px, 1.1vw, 13px);
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 0.5px;
  transition: all 0.4s ease;
}

/* Glow hover effects */
.service-card:hover {
  transform: translateY(-5px);
  background: #d29b02;
  border-color: #d29b02;
  box-shadow: 0 10px 24px rgba(210, 155, 2, 0.5);
}

.service-card:hover .service-icon {
  stroke: #ffffff;
}

.service-card:hover .service-icon .icon-accent {
  stroke: #ffffff;
}

.service-card:hover .service-label {
  color: #ffffff;
  font-weight: 500;
}

/* ──────────────────────────────────────────────────────────
   RESPONSIVENESS AND MOBILE VIEW OVERRIDES
   ────────────────────────────────────────────────────────── */

@media (max-width: 1199px) {
  .services-grid-container {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
}

@media (max-width: 991px) {
  .services-grid-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .service-card {
    padding: 18px 12px;
  }
  .service-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 10px;
  }
}

@media (max-width: 767px) {
  /* De-stick the Founder and Services panels for natural scroll stacking */
  .founder-card-panel,
  .services-panel {
    position: relative !important;
    height: auto !important;
    min-height: 100vh;
    top: 0 !important;
    padding-top: 80px !important;
    padding-bottom: 60px !important;
  }

  .founder-card-panel .split-panel {
    flex-direction: column;
    height: auto;
  }

  .founder-panel-left {
    width: 100% !important;
    padding: 0 24px 40px !important;
  }

  .founder-panel-right {
    display: block !important;
    width: 100% !important;
    height: 420px !important;
    padding: 40px 24px !important;
    box-sizing: border-box;
  }

  /* Make boxes smaller on mobile */
  .services-grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0 10px;
  }

  .service-card {
    border-radius: 8px;
    padding: 12px 8px;
    /* Explicit smaller bounds on mobile */
    max-width: 100%;
  }

  .service-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 6px;
    stroke-width: 1.25;
  }

  .service-label {
    font-size: 11px;
    line-height: 1.2;
  }
}

/* ============================================================
   CLIENT REVIEWS & ABOUT BANNER PANEL STYLING
   ============================================================ */

.reviews-about-panel {
  position: relative !important;
  height: auto !important;
  top: 0 !important;
  background: #ffffff;
  padding: 0 !important;
  display: block !important;
  z-index: 99;
}

/* White Reviews & Stats section */
.reviews-stats-section {
  padding: 80px 20px 70px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.reviews-section-title {
  font-family: var(--font-sans);
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 500;
  text-transform: uppercase;
  color: #111;
  letter-spacing: 1.5px;
  margin-bottom: 50px;
  line-height: 1.3;
}

.review-carousel-wrap {
  position: relative;
  max-width: 800px;
  width: 100%;
  margin-bottom: 60px;
  box-sizing: border-box;
}

.review-carousel-track {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.review-slide {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.review-slide.active {
  display: flex;
  animation: fadeReviewIn 0.5s ease forwards;
}

@keyframes fadeReviewIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.review-stars {
  color: #d29b02;
  font-size: clamp(18px, 2vw, 24px);
  margin-bottom: 20px;
  letter-spacing: 3px;
}

.review-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(16px, 2.2vw, 22px);
  line-height: 1.6;
  color: #333333;
  max-width: 700px;
  margin: 0 auto 25px;
  border: none;
  padding: 0;
}

.review-author-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 5px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #dfe4e8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: #1a2744;
}

.review-author-name {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: #111111;
  letter-spacing: 0.5px;
}

/* Carousel controls */
.carousel-control {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
  cursor: pointer;
  transition: all 0.3s;
  background: #fff;
  z-index: 10;
}

.carousel-control:hover {
  border-color: #d29b02;
  color: #d29b02;
  box-shadow: 0 4px 12px rgba(210,155,2,0.15);
}

.carousel-control.prev { left: -60px; }
.carousel-control.next { right: -60px; }

@media (max-width: 900px) {
  .carousel-control { display: none; }
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.carousel-dots .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e0e0e0;
  cursor: pointer;
  transition: all 0.3s;
}

.carousel-dots .dot.active {
  background: #d29b02;
  transform: scale(1.2);
}

/* Stats grid */
.stats-grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
  border-top: 1px solid #eaeaea;
  padding-top: 60px;
  margin-top: 10px;
  box-sizing: border-box;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-num-wrap {
  font-family: var(--font-sans);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 500;
  color: #d29b02;
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-label {
  font-family: var(--font-sans);
  font-size: clamp(10.5px, 1.2vw, 13px);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #555555;
  font-weight: 400;
}

/* Lower Section: Dark About Us Banner */
.about-banner-section {
  background: #1b1e22;
  padding: 90px 20px;
  color: #ffffff;
  border-top: 1px solid rgba(255,255,255,0.05);
  box-sizing: border-box;
}

.about-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 50px;
  align-items: center;
  box-sizing: border-box;
}

.about-experience-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.bracket-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: clamp(64px, 8vw, 96px);
  font-weight: 200;
  color: #444444;
  line-height: 0.8;
}

.experience-number {
  color: #d29b02;
  font-weight: 500;
}

.experience-label {
  font-family: var(--font-sans);
  font-size: clamp(11px, 1.2vw, 13px);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: #aaaaaa;
  margin-top: 18px;
  line-height: 1.4;
}

.about-text-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.about-eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #d29b02;
  font-weight: 500;
}

.about-heading {
  font-family: var(--font-sans);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.3;
  color: #ffffff;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.about-cta-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

.about-para {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  color: #cccccc;
  font-weight: 300;
  margin: 0;
}

.about-explore-btn {
  display: inline-flex;
  align-items: center;
  background: #d29b02;
  color: #ffffff;
  padding: 15px 36px;
  border-radius: 4px 24px 24px 24px;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.3s;
}

.about-explore-btn:hover {
  background: #e2a803;
  box-shadow: 0 6px 20px rgba(210,155,2,0.4);
  transform: translateY(-2px);
}

/* Media overrides for tablet and mobile views */
@media (max-width: 991px) {
  .about-banner-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    justify-items: center;
  }
  .about-experience-box,
  .about-text-content,
  .about-cta-content {
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .reviews-stats-section {
    padding: 60px 16px 40px;
  }
  .stats-grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding-top: 40px;
  }
  .about-banner-section {
    padding: 60px 16px;
  }
}

/* ============================================================
   FEATURED PROJECTS INTRO CARD STYLING
   ============================================================ */

.featured-projects-intro-panel {
  background: #000000 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  height: 100vh;
  box-sizing: border-box;
}

.featured-projects-intro-text {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(28px, 5vw, 64px);
  text-transform: uppercase;
  letter-spacing: 4px;
  color: #ffffff;
  text-shadow: none;
  text-align: center;
  line-height: 1.25;
  max-width: 960px;
  margin: 0;
  padding: 0 20px;
}



