/* =============================================
   MASTER PIECE — Light Theme Redesign
   ============================================= */
:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --off-white: #f5f5f3;
  --grey: #888888;
  --light-grey: #ebebeb;
  --mid-grey: #cccccc;
  --dark-grey: #1a1a1a;
  --text: #111111;
  --text-muted: #666666;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
  --font-serif: 'Playfair Display', serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  background: var(--white); color: var(--text);
  font-family: var(--font-body); overflow-x: hidden; cursor: none;
}

/* ===== LOADER ===== */
#loader {
  position: fixed; inset: 0; background: var(--black);
  z-index: 9999; display: flex; align-items: center; justify-content: center;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.77,0,0.175,1);
}
#loader.hidden { opacity: 0; transform: translateY(-100%); pointer-events: none; }
.loader-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.loader-logo img { width: 120px; filter: brightness(0) invert(1); animation: logoPulse 1.5s ease infinite alternate; }
@keyframes logoPulse { from { opacity:0.4; transform:scale(0.95); } to { opacity:1; transform:scale(1.05); } }
.loader-bar-wrap { width: 220px; height: 1px; background: #222; overflow: hidden; }
.loader-bar { height: 100%; background: var(--white); width: 0%; transition: width 0.05s linear; }
.loader-percent { font-family: var(--font-display); font-size: 3rem; letter-spacing: 0.1em; color: var(--white); }

/* ===== CURSOR ===== */
.cursor {
  width: 8px; height: 8px; background: var(--black); border-radius: 50%;
  position: fixed; pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%); mix-blend-mode: multiply;
}
.cursor-follower {
  width: 36px; height: 36px; border: 1px solid rgba(0,0,0,0.25); border-radius: 50%;
  position: fixed; pointer-events: none; z-index: 9997;
  transform: translate(-50%,-50%);
  transition: transform 0.12s ease, width 0.2s, height 0.2s, border-color 0.2s;
}
.cursor-follower.hover { width: 64px; height: 64px; border-color: rgba(0,0,0,0.6); }

/* ===== NAV ===== */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 60px; transition: all 0.4s ease;
}
#nav.scrolled {
  background: rgba(255,255,255,0.92); backdrop-filter: blur(20px);
  padding: 16px 60px; border-bottom: 1px solid var(--light-grey);
}
/* hero nav — white text on dark bg image */
#nav.hero-nav .nav-links a { color: rgba(0, 0, 0, 0.7); }
#nav.hero-nav .nav-links a:hover, #nav.hero-nav .nav-links a.active { color:#000000; }
#nav.hero-nav .nav-logo span { color:#000000; }
#nav.hero-nav .nav-logo img { }
#nav.hero-nav .btn-nav { border-color: rgba(0, 0, 0, 0.5); color:#000000; }
#nav.hero-nav .btn-nav:hover { background:#000000; color:var(--black); }

/* burger lines always black */
.burger span { background:#000; }

.nav-logo { display:flex; align-items:center; gap:12px; text-decoration:none; }
.nav-logo img { width:44px; }
.nav-logo span { font-family:var(--font-body); font-size:0.9rem; font-weight:700; color:var(--text); letter-spacing:0.06em; text-transform:uppercase; transition:color 0.3s; }
.nav-links { display:flex; gap:40px; }
.nav-links a { color:var(--text-muted); text-decoration:none; font-size:0.8rem; font-weight:500; letter-spacing:0.1em; text-transform:uppercase; transition:color 0.3s; position:relative; }
.nav-links a::after { content:''; position:absolute; bottom:-4px; left:0; width:0; height:1px; background:var(--text); transition:width 0.3s; }
.nav-links a:hover, .nav-links a.active { color:var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width:100%; }
.btn-nav { border:1px solid var(--text); color:var(--text); padding:10px 24px; text-decoration:none; font-size:0.75rem; font-weight:600; letter-spacing:0.1em; text-transform:uppercase; transition:all 0.3s; }
.btn-nav:hover { background:var(--text); color:var(--white); }
.burger { display:none; flex-direction:column; gap:5px; cursor:pointer; color: ;}
.burger span { display:block; width:28px; height:2px; background:var(--text); transition:all 0.3s; }
.mobile-menu { display:none; position:fixed; inset:0; background:var(--black); z-index:999; flex-direction:column; align-items:center; justify-content:center; gap:40px; opacity:0; transition:opacity 0.4s; }
.mobile-menu.open { display:flex; opacity:1; }
.mobile-menu a { color:#fff; text-decoration:none; font-family:var(--font-display); font-size:3rem; letter-spacing:0.1em; transition:color 0.3s; }
.mobile-menu a:hover { color:var(--grey); }

/* ===== HERO — dark with bg image ===== */
.hero {
  min-height: 100vh; display:flex; flex-direction:column; justify-content:flex-end;
  position:relative; padding: 0 60px 80px; overflow:hidden; color:#fff;
  margin-top: 100px; margin-bottom: 50px; margin-left: 20px; margin-right: 20px;border-radius: 20px;
}
.hero::before {
  content:''; position:absolute; inset:0; z-index:1;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 40%, rgba(0,0,0,0.78) 100%);
}
.hero-bg-image {
  position:absolute; inset:0; z-index:0;
  background-image:
    linear-gradient(145deg, rgba(31, 37, 52, 0.44), rgba(29, 46, 81, 0.32)),
    linear-gradient(135deg, rgba(13,13,13,0.55) 0%, rgba(26,26,46,0.52) 40%, rgba(22,33,62,0.55) 70%, rgba(15,52,96,0.54) 100%),
    url('images/retail-engro-store.jpg');
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
  animation: heroBgZoom 14s ease-in-out infinite alternate;
}
/* Grid texture overlay */
.hero-bg-image::before {
  content:''; position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 72px 72px;
}
/* Diagonal accent lines */
.hero-bg-image::after {
  content:''; position:absolute; inset:0;
  background: repeating-linear-gradient(
    -45deg,
    transparent 0px,
    transparent 40px,
    rgba(255,255,255,0.015) 40px,
    rgba(255,255,255,0.015) 41px
  );
}
@keyframes heroBgZoom { from { transform:scale(1); } to { transform:scale(1.06); } }

.hero-bg-text {
  position:absolute; inset:0; display:flex; flex-direction:column;
  align-items:center; justify-content:center; z-index:2; pointer-events:none; overflow:hidden;
}
.hero-bg-text span {
  font-family:var(--font-display); font-size:clamp(8rem,20vw,22rem);
  color:transparent; -webkit-text-stroke:1px rgba(255,255,255,0.05);
  line-height:0.85; user-select:none; animation:bgTextFloat 10s ease-in-out infinite alternate;
}
.hero-bg-text span:nth-child(2) { animation-delay:-5s; animation-direction:alternate-reverse; }
@keyframes bgTextFloat { from { transform:translateX(-2%); } to { transform:translateX(2%); } }

.hero-content { position:relative; z-index:3; max-width:900px; }
.hero-tag { display:inline-block; border:1px solid rgba(255,255,255,0.25); padding:6px 16px; margin-bottom:28px; font-size:0.72rem; letter-spacing:0.2em; text-transform:uppercase; color:rgba(255,255,255,0.6); }
.hero-title { font-family:var(--font-display); font-size:clamp(4rem,10vw,12rem); line-height:0.9; margin-bottom:32px; color:#fff; overflow:hidden; }
.hero-title .line { display:block; animation:titleReveal 1.2s cubic-bezier(0.77,0,0.175,1) forwards; transform:translateY(110%); }
.hero-title .line:nth-child(2) { animation-delay:0.15s; }
@keyframes titleReveal { to { transform:translateY(0); } }
.hero-title .italic { font-family:var(--font-serif); font-style:italic; font-weight:400; font-size:0.85em; }
.hero-sub { font-size:1.1rem; color:rgba(255,255,255,0.6); max-width:480px; line-height:1.7; margin-bottom:40px; }
.hero-actions { display:flex; align-items:center; gap:32px; }
.btn-primary { background:var(--white); color:var(--black); padding:16px 36px; text-decoration:none; font-weight:700; font-size:0.82rem; letter-spacing:0.1em; text-transform:uppercase; transition:all 0.3s; display:inline-block; position:relative; overflow:hidden; }
.btn-primary::before { content:''; position:absolute; inset:0; background:var(--black); transform:translateX(-101%); transition:transform 0.4s cubic-bezier(0.77,0,0.175,1); }
.btn-primary:hover::before { transform:translateX(0); }
.btn-primary:hover { color:var(--white); }
.btn-primary.large { padding:20px 56px; font-size:0.95rem; }
.btn-ghost { color:rgba(255,255,255,0.65); text-decoration:none; font-size:0.9rem; transition:color 0.3s; }
.btn-ghost:hover { color:#fff; }
.btn-ghost-dark { color:var(--text-muted); text-decoration:none; font-size:0.9rem; transition:color 0.3s; }
.btn-ghost-dark:hover { color:var(--text); }

.hero-stats { position:absolute; bottom:80px; right:60px; display:flex; gap:60px; z-index:3; }
.stat { text-align:right; }
.stat-num { font-family:var(--font-display); font-size:3.5rem; line-height:1; display:block; color:#fff; }
.stat-label { font-size:0.68rem; letter-spacing:0.15em; text-transform:uppercase; color:rgba(255,255,255,0.45); }
.scroll-hint { position:absolute; bottom:40px; left:60px; display:flex; align-items:center; gap:16px; z-index:3; }
.scroll-line { width:60px; height:1px; background:rgba(255,255,255,0.25); position:relative; overflow:hidden; }
.scroll-line::after { content:''; position:absolute; left:-100%; top:0; width:100%; height:100%; background:#fff; animation:scrollPulse 2s ease infinite; }
@keyframes scrollPulse { to { left:100%; } }
.scroll-hint span { font-size:0.68rem; letter-spacing:0.2em; text-transform:uppercase; color:rgba(255,255,255,0.45); }

/* ===== MARQUEE — dark strip ===== */
.marquee-strip { background:var(--black); color:var(--white); padding:16px 0; overflow:hidden; }
.marquee-track { display:flex; gap:48px; animation:marqueeScroll 30s linear infinite; white-space:nowrap; align-items:center; }
.marquee-track span { font-family:var(--font-display); font-size:1.1rem; letter-spacing:0.1em; color:var(--white); flex-shrink:0; }
.marquee-track span:nth-child(even) { color:#444; }
@keyframes marqueeScroll { from { transform:translateX(0); } to { transform:translateX(-50%); } }

/* ===== ABOUT STRIP ===== */
.about-strip { padding:120px 60px; border-bottom:1px solid var(--light-grey); background:var(--white); }
.about-strip-inner { display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:start; }
.section-label { font-size:0.68rem; letter-spacing:0.25em; text-transform:uppercase; color:var(--grey); display:block; margin-bottom:24px; }
.about-strip-left h2 { font-family:var(--font-display); font-size:clamp(2.5rem,5vw,5rem); line-height:1; color:var(--text); }
.about-strip-left h2 em { font-family:var(--font-serif); font-style:italic; font-weight:400; }
.about-strip-right p { color:var(--text-muted); line-height:1.8; margin-bottom:32px; font-size:1.05rem; }
.link-arrow { color:var(--text); text-decoration:none; font-size:0.9rem; border-bottom:1px solid var(--text); padding-bottom:4px; transition:color 0.3s, border-color 0.3s; }
.link-arrow:hover { color:var(--grey); border-color:var(--grey); }

/* =============================================
   SERVICES — FLOKA ACCORDION STYLE
   Left: sticky preview card | Right: name list
   ============================================= */
.services-home { background:var(--off-white); border-top:1px solid var(--light-grey); }
.services-header { padding:80px 60px 40px; display:flex; align-items:flex-end; justify-content:space-between; }
.services-header h2 { font-family:var(--font-display); font-size:clamp(2.5rem,5vw,5rem); line-height:1; color:var(--text); }
.services-header h2 em { font-family:var(--font-serif); font-style:italic; font-weight:400; }

/* Outer wrapper */
.services-accordion {
  display: grid;
  grid-template-columns: 300px 1fr;
  border-top: 1px solid var(--light-grey);
  min-height: 520px;
  padding-bottom: 100px;
}

/* LEFT — preview panel (sticky card) */
.services-preview {
  position: sticky !important;
  top: 80px !important;
  margin-left: 10px !important;
  margin-right: 10px !important;
  border-radius: 32px !important;
  padding: 16px !important;
  background: #050505 !important;
  background-image: linear-gradient(170deg, #070707 0%, #0d0d0d 100%) !important;
  min-height: 460px !important;
  max-height: max-content + 50px !important;
  max-width: 430px !important;
  width: 100% !important;
  z-index: 1;
}
.services-preview.animating {
  animation: previewBoxUp 0.45s ease forwards;
}
@keyframes previewBoxUp {
  from { transform: translateY(18px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
/* Each service preview layer */
.preview-layer {
  position: relative;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, transform 0.35s ease;
  transform: translateY(12px);
  display: none;
  width: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.preview-layer.active {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.preview-layer-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.preview-layer-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.preview-layer-img .ph {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #0f0f0f, #1c1c1c);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.62rem; color: #ccc; letter-spacing: 0.05em; text-align: center; padding: 24px;
}

.preview-layer::before {
  display: none;
}

.preview-layer-info {
  position: relative;
  z-index: 2;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden !important;
}

.preview-layer-num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.preview-layer-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  margin-top: 8px;
}

.preview-layer-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.80);
  line-height: 1.6;
  margin: 0;
  margin-bottom: 40px;
  min-height: 70px;
  max-height: 70px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  white-space: normal;
}

.preview-layer-cta {
  display: flex !important;
  margin-top: -25px !important;
  margin-bottom: 20px !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 300px !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: content-box !important;
  border-radius: 18px !important;
  padding: 2px 6px !important;
  min-height: 39px !important;
  background: #fff !important;
  color: #111 !important;
  font-size: 0.58rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  margin-left: -8px;
  border: 1px solid rgba(0,0,0,0.12) !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease !important;
}

.preview-layer-cta span {
  font-weight: 800;
}

.preview-layer-cta::after {
  content: '' !important;
}


.preview-layer-cta:hover {
  background: #f5f5f5 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 14px 32px rgba(0,0,0,0.30) !important;
}

.preview-layer-cta:active {
  transform: translateY(0) !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.24) !important;
}

.preview-layer-cta::after {
  content: '→' !important;
  font-size: 1.1em !important;
  font-weight: 900 !important;
  margin-left: 10px !important;
  transform: translateX(1px) !important;
}


@keyframes previewFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

/* RIGHT — list */
.services-list {
  border-left: 1px solid var(--light-grey);
  display: flex; flex-direction: column;
}

.service-row {
  display: grid;
  grid-template-columns: 56px 1fr 36px;
  align-items: center;
  padding: 0 48px;
  border-bottom: 1px solid var(--light-grey);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  min-height: 65px;
  margin-bottom: 20px;
  transition: background 0.35s, color 0.35s;
  gap: 0;
}
.service-row::after {
  content: '';
  position: absolute;
  left: 48px;
  right: 48px;
  bottom: 14px;
  height: 2px;
  background: var(--black);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
  z-index: 2;
}
.service-row:hover::after,
.service-row.active::after {
  transform: scaleX(1);
}
/* Remove overlay fill animation, keep simple underline model */
.service-row::before { content: none; }

.service-row-num {
  font-family:var(--font-display); font-size:0.95rem;
  color:var(--mid-grey); position:relative; z-index:1;
  transition:color 0.3s;
}
.service-row-name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 3rem);
  line-height: 1; letter-spacing: 0.01em;
  color: var(--mid-grey);
  position: relative; z-index:1;
  transition: color 0.32s ease;
  padding: 18px 0;
}
.service-row-arrow {
  font-size:1.1rem; color:var(--mid-grey);
  position:relative; z-index:1; justify-self:end;
  transition:color 0.3s, transform 0.3s;
}

.service-row:hover,
.service-row.active {
  background: transparent;
}
.service-row:hover .service-row-num,
.service-row.active .service-row-num,
.service-row:hover .service-row-name,
.service-row.active .service-row-name,
.service-row:hover .service-row-arrow,
.service-row.active .service-row-arrow {
  color: var(--text);
}
.service-row:hover .service-row-arrow,
.service-row.active .service-row-arrow {
  transform: translateX(5px);
}

/* ===== WORK HOME ===== */
.work-home { padding:100px 60px; background:var(--white); }
.work-header { display:flex; align-items:flex-end; justify-content:space-between; margin-bottom:48px; }
.work-header h2 { font-family:var(--font-display); font-size:clamp(2.5rem,5vw,5rem); line-height:1; color:var(--text); }
.work-header h2 em { font-family:var(--font-serif); font-style:italic; font-weight:400; }
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  grid-auto-rows: 280px;
  gap: 22px;
  align-items: stretch;
}
.work-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  border-radius: 22px;
  border: 1px solid var(--light-grey);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.work-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 65%);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.work-card:hover::before {
  opacity: 1;
}
.work-card-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  padding: 12px 14px;
  color: #fff;
  font: 700 0.95rem/1.2 var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(0,0,0,0.35);
  border-radius: 12px;
}
.work-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 38px rgba(0,0,0,0.28);
}
.work-card.big, .work-card:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}
.work-img { width:100%; height:100%; object-fit:cover; background: var(--light-grey); position:relative; }
.work-card.big .work-img { height: 100%; min-height: 100%; }
.placeholder-img { background:var(--light-grey); display:flex; align-items:center; justify-content:center; border:1px dashed var(--mid-grey); transition:transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94); }
.placeholder-img img { width:100%; height:100%; object-fit:cover; transition:transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94); }
.work-card:hover .placeholder-img, .work-card:hover .placeholder-img img { transform:scale(1.05); }
.placeholder-text { color:var(--mid-grey); font-size:0.72rem; letter-spacing:0.1em; text-align:center; padding:20px; font-style:italic; }
.work-info { padding:14px 0 0; }
.work-cat { font-size:0.68rem; letter-spacing:0.15em; text-transform:uppercase; color:var(--grey); display:block; margin-bottom:5px; }
.work-info h3 { font-size:0.95rem; font-weight:500; color:var(--text); }

/* ===== CLIENTS ===== */
.clients-section { padding:80px 0; overflow:hidden; border-top:1px solid var(--light-grey); background:var(--white); }
.clients-header { text-align:center; margin-bottom:60px; padding:0 60px; }
.clients-header h2 { font-family:var(--font-display); font-size:clamp(2rem,4vw,4rem); line-height:1; color:var(--text); }
.clients-header h2 em { font-family:var(--font-serif); font-style:italic; font-weight:400; }
.clients-marquee { overflow:hidden; }
.clients-track { display:flex; gap:0; animation:clientsScroll 35s linear infinite; width:max-content; }
@keyframes clientsScroll { from { transform:translateX(0); } to { transform:translateX(-50%); } }
.client-logo { padding:22px 32px; border-right:1px solid var(--light-grey); display:flex; justify-content:center; align-items:center; width:140px; height:80px; }
.client-logo:last-child { border-right:none; }
.client-logo img { max-height:54px; max-width:120px; width:auto; height:auto; display:block; object-fit:contain; }
.client-logo:hover img { filter: saturate(1.2) brightness(1.05); transform: scale(1.03); }
.client-logo img { transition: transform 0.3s ease, filter 0.3s ease; }

/* ===== CTA BANNER — dark ===== */
.cta-banner { padding:120px 60px; background:var(--black); color:var(--white); text-align:center; margin-bottom: 50px; }
.cta-inner h2 { font-family:var(--font-display); font-size:clamp(2.5rem,6vw,6rem); line-height:1; margin-bottom:48px; color:var(--white); }
.cta-inner h2 em { font-family:var(--font-serif); font-style:italic; font-weight:400; }

/* ===== FOOTER ===== */
footer {
  background: #fff;
  color: #111;
  padding: 100px 0 40px;
  border-top: 1px solid #e8e8e8;
}
.footer-bottom.footer-background {
  position: relative;
  margin: 0;
  padding: 70px 0 90px;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
  background: #fff;
  border-top: none;
}
.footer-bottom.footer-background::before {
  content: 'MASTERPIECE';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  max-width: none;
  font-family: var(--font-display);
  font-size: clamp(10rem, 18vw, 30rem);
  color: rgba(0,0,0,0.06);
  letter-spacing: 0.08em;
  text-align: center;
  white-space: nowrap;
  z-index: 1;
  pointer-events: none;
}
.footer-bottom.footer-background::after {
  content: '';
  position: absolute;
  left: 50%; 
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 96px;
  background: rgb(255, 255, 255);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  z-index: 2;
}
.footer-bottom.footer-background::before {
  content: 'MASTERPIECE';
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  width: 150%;
  font-family: var(--font-display);
  font-size: clamp(10rem, 18vw, 30rem);
  color: rgb(0, 0, 0);
  letter-spacing: 0.08em;
  text-align: center;
  white-space: nowrap;
  z-index: 1;
  pointer-events: none;
}
.footer-bottom.footer-background::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  /* extend beyond container to remove edge gaps */
  width: calc(100% + 110px);
  max-width: none;
  min-width: 100vw;
  height: 96px;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  z-index: 2;
}

.footer-bottom.footer-background::before {
  left: 50%;
  width: 115%;
}

.footer-bottom.footer-background .footer-copyright-content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 96%;
  max-width: 980px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  color: #111;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}
.footer-bottom.footer-background .footer-copyright-content span {
  color: #111;
  text-shadow: 0 1px 4px rgba(255,255,255,0.8);
}
.footer-bottom.footer-background .footer-overlay { display: none; }

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 40px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.footer-brand h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.05;
  color: var(--text);
  margin: 0;
}
.footer-brand p {
  font-size: 1rem;
  color: var(--mid-grey);
  max-width: 520px;
}
.footer-subscribe {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-subscribe input {
  flex: 1;
  min-width: 180px;
  border: 1px solid #ddd;
  padding: 12px 14px;
  border-radius: 8px;
  font-family: var(--font-body);
  transition: border-color 0.3s;
}
.footer-subscribe input:focus {
  border-color: var(--text);
  outline: none;
}
.footer-subscribe button {
  background: var(--black);
  border: none;
  color: #fff;
  border-radius: 8px;
  padding: 12px 20px;
  cursor: pointer;
  font-weight: 700;
}
.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}
.footer-col h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #777;
  margin-bottom: 16px;
}
.footer-col a,
.footer-col p {
  display: block;
  color: #333;
  text-decoration: none;
  margin-bottom: 8px;
  font-size: 0.92rem;
  line-height: 1.6;
  transition: color 0.25s;
}
.footer-col a:hover {
  color: var(--black);
}
.footer-bottom {
  margin-top: 56px;
  padding-top: 30px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #666;
}
@media (max-width: 1100px) {
  .footer-content { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ===== FOOTER ALT (Floka-style redesign) ===== */
.footer-alt {
  background: #fff;
  color: #111;
  padding: 100px 60px 60px;
  border-top: 1px solid #eee;
  font-family: var(--font-body);
}
.footer-alt-top {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 120px;
  align-items: start;
  margin-bottom: 70px;
}
.footer-alt-branding {
  font-family: var(--font-display);
  font-weight: 550;
  width: 800px;
  font-size: clamp(8rem, 16vw, 14rem);
  line-height: 0.95;
  color: #111;
  padding-right: 60px;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
}
.footer-alt-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
}
.footer-alt-contact p {
  font-size: 1rem;
  color: #666;
  margin: 0;
}
.footer-alt-contact a {
  color: #111;
  font-size: 1.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  line-height: 1.2;
}
.footer-alt-contact a:hover {
  color: #444;
}
.footer-alt-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 70px;
}
.footer-alt-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-alt-column a {
  font-size: 1.35rem;
  color: #111;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.footer-alt-column a:hover {
  color: #444;
}
.footer-alt-bottom {
  border-top: 1px solid #eee;
  padding-top: 20px;
  font-size: 0.86rem;
  display: flex;
  justify-content: space-between;
  color: #777;
  text-align: center;
}

/* ===== PAGE HERO (inner pages) — light ===== */
.page-hero { padding:180px 60px 80px; border-bottom:1px solid var(--light-grey); background:var(--white); }
.page-hero-tag { font-size:0.68rem; letter-spacing:0.25em; text-transform:uppercase; color:var(--grey); display:block; margin-bottom:24px; }
.page-hero h1 { font-family:var(--font-display); font-size:clamp(4rem,10vw,10rem); line-height:0.9; color:var(--text); }
.page-hero h1 em { font-family:var(--font-serif); font-style:italic; font-weight:400; }

/* ===== SERVICES PAGE ===== */
.services-full { padding:80px 60px; background:var(--white); }
.service-full-card { display:grid; grid-template-columns:1fr 2fr; gap:80px; padding:80px 0; border-bottom:1px solid var(--light-grey); align-items:start; }
.service-full-card:first-child { padding-top:0; }
.service-full-num { font-family:var(--font-display); font-size:6rem; line-height:1; color:var(--light-grey); }
.service-full-content h2 { font-family:var(--font-display); font-size:clamp(2rem,4vw,3.5rem); margin-bottom:24px; color:var(--text); }
.service-full-content p { color:var(--text-muted); line-height:1.8; margin-bottom:32px; font-size:1rem; }
.service-img-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-top:32px; }
.service-img-placeholder { aspect-ratio:1; background:var(--light-grey); border:1px dashed var(--mid-grey); display:flex; align-items:center; justify-content:center; font-size:0.62rem; color:var(--grey); letter-spacing:0.1em; text-align:center; padding:10px; }

/* ===== WORK PAGE ===== */
.work-full-grid { padding:80px 60px; background:var(--white); display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.work-full-card { cursor:pointer; overflow:hidden; }
.work-full-img { aspect-ratio:4/3; background:var(--light-grey); border:1px dashed var(--mid-grey); overflow:hidden; margin-bottom:16px; position:relative; }
.work-full-img img { width:100%; height:100%; object-fit:cover; transition:transform 0.5s ease; }
.work-full-card:hover .work-full-img img { transform:scale(1.06); }
.work-full-img-placeholder { width:100%; height:100%; display:flex; align-items:center; justify-content:center; font-size:0.68rem; color:var(--grey); letter-spacing:0.1em; text-align:center; padding:20px; }
.work-full-card h3 { font-size:1.05rem; font-weight:500; margin-bottom:5px; color:var(--text); }
.work-full-card span { font-size:0.68rem; letter-spacing:0.1em; color:var(--grey); text-transform:uppercase; }

/* ===== ABOUT ===== */
.about-content { padding:80px 60px; background:var(--white); }
.about-grid { display:grid; grid-template-columns:1fr 1fr; gap:80px; margin-bottom:80px; }
.about-img-area { aspect-ratio:3/4; background:var(--light-grey); border:1px dashed var(--mid-grey); display:flex; align-items:center; justify-content:center; font-size:0.68rem; color:var(--grey); text-align:center; padding:20px; letter-spacing:0.1em; }
.about-text h2 { font-family:var(--font-display); font-size:clamp(2rem,4vw,4rem); line-height:1; margin-bottom:32px; color:var(--text); }
.about-text h2 em { font-family:var(--font-serif); font-style:italic; font-weight:400; }
.about-text p { color:var(--text-muted); line-height:1.8; margin-bottom:24px; font-size:1.05rem; }
.values-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--light-grey); border:1px solid var(--light-grey); margin-top:80px; }
.value-card { background:var(--white); padding:48px 32px; transition:background 0.35s, color 0.35s; }
.value-card:hover { background:var(--black); color:var(--white); }
.value-card:hover .value-num { color:rgba(255,255,255,0.05); }
.value-card:hover p { color:rgba(255,255,255,0.5); }
.value-num { font-family:var(--font-display); font-size:4rem; color:var(--light-grey); line-height:1; margin-bottom:20px; transition:color 0.3s; }
.value-card h3 { font-size:1.05rem; margin-bottom:10px; }
.value-card p { font-size:0.85rem; color:var(--text-muted); line-height:1.6; transition:color 0.3s; }

/* ===== TIMELINE ===== */
.timeline { padding:80px 60px; border-top:1px solid var(--light-grey); background:var(--white); }
.timeline h2 { font-family:var(--font-display); font-size:clamp(2rem,4vw,4rem); margin-bottom:60px; color:var(--text); }
.timeline h2 em { font-family:var(--font-serif); font-style:italic; font-weight:400; }
.timeline-item { display:grid; grid-template-columns:140px 1fr; gap:60px; padding:40px 0; border-bottom:1px solid var(--light-grey); align-items:start; opacity:0; transform:translateX(-20px); transition:all 0.6s ease; }
.timeline-item.revealed { opacity:1; transform:none; }
.timeline-year { font-family:var(--font-display); font-size:2.5rem; color:var(--mid-grey); }
.timeline-text h3 { font-size:1.05rem; font-weight:600; margin-bottom:8px; color:var(--text); }
.timeline-text p { color:var(--text-muted); font-size:0.9rem; line-height:1.7; }
.mission-vision { display:grid; grid-template-columns:1fr 1fr; gap:1px; background:white; border-top:1px solid var(--light-grey); }
.mv-card { background:var(--white); padding:80px 60px; }
.mv-card h2 { font-family:var(--font-display); font-size:3rem; margin-bottom:32px; color:white; }
.mv-card p { color:var(--text-muted); line-height:1.8; margin-bottom:20px; font-size:1rem; }

/* ===== CONTACT ===== */
.contact-layout { padding:80px 60px; background:var(--white); display:grid; grid-template-columns:1fr 1.5fr; gap:80px; }
.contact-info h2 { font-family:var(--font-display); font-size:clamp(2rem,4vw,4rem); line-height:1; margin-bottom:40px; color:var(--text); }
.contact-info h2 em { font-family:var(--font-serif); font-style:italic; font-weight:400; }
.contact-detail { margin-bottom:32px; }
.contact-detail label { font-size:0.68rem; letter-spacing:0.2em; text-transform:uppercase; color:var(--grey); display:block; margin-bottom:8px; }
.contact-detail a, .contact-detail p { color:var(--text); text-decoration:none; font-size:1rem; line-height:1.6; transition:color 0.3s; }
.contact-detail a:hover { color:var(--grey); }
.contact-form { display:flex; flex-direction:column; gap:24px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.form-group { display:flex; flex-direction:column; gap:8px; }
.form-group label { font-size:0.68rem; letter-spacing:0.2em; text-transform:uppercase; color:var(--grey); }
.form-group input, .form-group textarea, .form-group select { background:transparent; border:1px solid var(--light-grey); color:var(--text); padding:16px; font-family:var(--font-body); font-size:0.95rem; outline:none; transition:border-color 0.3s; resize:none; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color:var(--text); }
.form-group textarea { min-height:160px; }
.form-group select option { background:var(--white); color:var(--text); }
.form-submit { background:var(--black); color:var(--white); border:none; padding:18px 48px; font-family:var(--font-body); font-size:0.88rem; font-weight:700; letter-spacing:0.1em; text-transform:uppercase; cursor:pointer; transition:all 0.3s; align-self:flex-start; }
.form-submit:hover { background:#222; }

/* ===== REVEAL ANIMATIONS ===== */
.reveal-up, .reveal-left, .reveal-right, .reveal-scale { opacity:0; transition:opacity 0.8s ease, transform 0.8s cubic-bezier(0.25,0.46,0.45,0.94); }
.reveal-up    { transform:translateY(40px); }
.reveal-left  { transform:translateX(-40px); }
.reveal-right { transform:translateX(40px); }
.reveal-scale { transform:scale(0.95); }
.revealed { opacity:1 !important; transform:none !important; }

/* ===== RESPONSIVE ===== */
@media (max-width:1100px) {
  .services-accordion { grid-template-columns:1fr; }
  .services-preview { display:none; }
  .values-grid { grid-template-columns:repeat(2,1fr); }
  .work-grid { grid-template-columns:1fr 1fr; }
  .work-card.big { grid-row:span 1; }
  .work-full-grid { grid-template-columns:repeat(2,1fr); }
  .footer-alt-top { grid-template-columns: 1.1fr 1fr; gap: 64px; }
  .footer-alt-branding { font-size: clamp(7rem, 18vw, 12rem); }
  .footer-alt-contact { align-items: flex-start; }
  .footer-alt-links { grid-template-columns: 1fr 1fr; }
}
@media (max-width:768px) {
  .footer-alt-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-alt-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-alt-branding { font-size: clamp(5rem, 20vw, 9rem); }
  .footer-alt-contact { align-items: flex-start; }
  .footer-alt-links { grid-template-columns: 1fr; }
  .footer-alt-link { text-align: left; }
  #nav { padding:20px 24px; }
  #nav.scrolled { padding:14px 24px; }
  .nav-links, .nav-cta { display:none; }
  .burger { display:flex; }
  .hero { padding:100px 24px 80px; }
  .hero-stats { position:static; flex-direction:row; margin-top:60px; gap:32px; }
  .scroll-hint { display:none; }
  .about-strip-inner { grid-template-columns:1fr; gap:40px; }
  .about-strip { padding:80px 24px; }
  .services-header { flex-direction:column; align-items:flex-start; gap:8px; padding:60px 24px 24px; }
  .service-row { padding:0 24px; }
  .service-row-name { font-size:1.6rem; }
  .work-home { padding:60px 24px; }
  .work-header { flex-direction:column; align-items:flex-start; gap:16px; }
  .work-grid { grid-template-columns:1fr; }
  .clients-section { padding:60px 0; }
  .cta-banner { padding:80px 24px; }
  footer { padding:60px 24px 32px; }
  .footer-top { grid-template-columns:1fr; gap:48px; }
  .footer-links { grid-template-columns:1fr 1fr; }
  .footer-bottom { flex-direction:column; gap:12px; text-align:center; }
  .page-hero { padding:120px 24px 60px; }
  .contact-layout { grid-template-columns:1fr; padding:60px 24px; }
  .form-row { grid-template-columns:1fr; }
  .about-content { padding:60px 24px; }
  .about-grid { grid-template-columns:1fr; }
  .values-grid { grid-template-columns:1fr 1fr; }
  .services-full { padding:60px 24px; }
  .service-full-card { grid-template-columns:1fr; gap:24px; }
  .work-full-grid { padding:60px 24px; grid-template-columns:1fr; }
  .timeline { padding:60px 24px; }
  .timeline-item { grid-template-columns:1fr; gap:8px; }
  .mission-vision { grid-template-columns:1fr; }
  .mv-card { padding:48px 24px; }
}

/* =============================================
   3D ZOOM / PERSPECTIVE HOVER — ALL IMAGES
   ============================================= */

/* Universal image container */
.work-img img,
.work-full-img img,
.preview-layer-img img,
.about-img-area img,
.service-img-placeholder img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 0.5s ease;
  will-change: transform;
}

/* Work grid cards — 3D perspective tilt + zoom */
.work-card {
  transform-style: preserve-3d;
  perspective: 800px;
  transition: transform 0.35s ease, box-shadow 0.35s ease !important;
}
.work-card:hover {
  box-shadow: 0 28px 50px rgba(0,0,0,0.16) !important;
}
.work-card .work-img {
  overflow: hidden;
  width: 100%;
  height: 100%;
}
.work-card .work-img img {
  transform: scale(1) translateZ(0);
}
.work-card:hover .work-img img {
  transform: scale(1.1) translateZ(0);
  filter: brightness(0.85) contrast(1.05);
}

/* Work full grid (work page) */
.work-full-card {
  transform-style: preserve-3d;
  perspective: 800px;
}
.work-full-img {
  overflow: hidden;
}
.work-full-img img {
  transform: scale(1) translateZ(0);
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 0.5s ease;
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.work-full-card:hover .work-full-img img {
  transform: scale(1.12) translateZ(0);
  filter: brightness(0.82) contrast(1.08) saturate(1.1);
}

/* Service preview image zoom on hover */
.preview-layer:hover .preview-layer-img img,
.preview-layer.active .preview-layer-img img {
  transform: scale(1.06) translateZ(0);
}
.preview-layer-img {
  overflow: hidden;
}
.preview-layer-img img {
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: scale(1.02) translateZ(0); /* slight start zoom for depth */
}

/* About page image */
.about-img-area {
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--light-grey);
}
.about-img-area:hover img {
  transform: scale(1.08) translateZ(0);
  filter: brightness(0.9) contrast(1.05);
}

/* Service page image grid */
.service-img-grid {
  overflow: hidden;
}
.service-img-placeholder {
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--light-grey);
}
.service-img-placeholder:hover img {
  transform: scale(1.15) translateZ(0);
  filter: brightness(0.85) contrast(1.05);
}

/* =============================================
   BUG FIXES
   ============================================= */

/* Fix: hero-nav burger bars should be white on dark hero */
#nav.hero-nav .burger span { background: #fff !important; }

/* Fix: filter buttons on dark bg (work page) */
.filter-btn:hover,
.filter-btn.active {
  background: var(--black) !important;
  color: var(--white) !important;
  border-color: var(--black) !important;
}

/* Fix: footer text visibility — footer is white bg but text was using dark vars */
footer { background: var(--white) !important; color: var(--text) !important; }
.footer-col h4 { color: var(--text-muted) !important; }
.footer-col a, .footer-col p { color: var(--text-muted) !important; }
.footer-col a:hover { color: var(--text) !important; }
.footer-brand p { color: var(--text-muted) !important; }
.footer-bottom { color: var(--text-muted) !important; }

/* Fix: work-home padding bottom gap */
.work-home { padding-bottom: 80px; }

/* Fix: work-img needs overflow hidden for zoom to work */
.work-img { overflow: hidden !important; }

/* Fix: services accordion preview panel starts out of view on scroll */
@media (max-height: 700px) {
  .services-preview { top: 60px; height: 440px; }
}

/* Fix: mobile menu z-index conflict */
.mobile-menu { z-index: 1001 !important; }

/* Fix: work full card needs border-radius and overflow for zoom */
.work-full-card {
  border-radius: 4px;
  overflow: hidden;
}

/* Smooth 3D tilt for work cards — JS-driven, CSS transition base */
.work-card,
.work-full-card {
  transition: transform 0.12s ease-out, box-shadow 0.35s ease !important;
}
.work-card.tilt-reset,
.work-full-card.tilt-reset {
  transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94), box-shadow 0.35s ease !important;
}

/* Fix: placeholder-img remove dashed border when real image present */
.work-img:has(img) {
  border: none !important;
  background: transparent !important;
}

/* Ensure work-img fills card completely */
.work-card .work-img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
}
.work-card .work-img img {
  width: 100% !important;
  height: 100% !important;
}

/* Work info position fix — needs to be above image */
.work-info {
  position: absolute !important;
  bottom: 0; left: 0; right: 0;
  padding: 16px !important;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
  z-index: 2;
}
.work-cat { color: rgba(255,255,255,0.6) !important; }
.work-info h3 { color: #fff !important; }

/* Fix: CTA banner bottom margin */
.cta-banner { margin-bottom: 0 !important; }
