/* ==========================================================================
   Source: portfolio.css
   ========================================================================== */
/* =============================================
   ELYVEN — PORTFOLIO PAGE v6.0
   Editorial grid · designed project covers
   Light cream theme · refined motion
   ============================================= */

/* ─── Hero ─── */
.pf-hero {
  position: relative;
  padding: 142px 0 66px;
  overflow: hidden;
  background: linear-gradient(180deg, #fffdf8 0%, #f7f1e7 70%, #fffdf8 100%);
}

/* Subtle animated grid in hero background */
.pf-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(23,19,14,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,19,14,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.6) 25%, rgba(0,0,0,0.6) 75%, transparent 100%);
  z-index: 0;
  animation: gridDrift 28s linear infinite;
}
@keyframes gridDrift {
  0%   { transform: translateY(0); }
  100% { transform: translateY(56px); }
}

/* Warm spotlight that follows cursor */
.pf-spotlight {
  position: absolute; inset: 0;
  pointer-events: none;
  background: radial-gradient(760px circle at var(--sx, 30%) var(--sy, 20%),
    rgba(201,155,92,0.1), transparent 65%);
  z-index: 0;
}

.pf-hero-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: flex-end;
  gap: 56px;
}
.pf-hero-left  { flex: 1; min-width: 0; }
.pf-hero-right {
  display: flex;
  gap: 10px;
  padding-bottom: 6px;
}

/* Stats — bordered chips for a richer, more premium feel */
.pf-hero-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 18px;
  min-width: 118px;
  border: 1px solid #e6dfd3;
  border-radius: 12px;
  background: rgba(255,255,255,0.6);
  font-family: 'Outfit', sans-serif;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: #716b62;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.pf-hero-stat:hover {
  border-color: rgba(201,155,92,0.45);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(23,19,14,0.08);
}
.pf-hero-stat strong {
  font-size: 28px; font-weight: 800;
  color: #17130e; letter-spacing: -0.02em;
}

/* Page title */
.pf-title {
  max-width: 820px;
  margin-top: 18px;
  font-size: clamp(42px, 6.4vw, 76px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: #17130e;
}
.pf-title em {
  font-style: italic;
  color: #C99B5C;
}
.pf-sub {
  max-width: 560px;
  margin-top: 22px;
  color: #514b42;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.72;
}

/* Section label above title */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #805c32;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(201,155,92,0.3);
  background: rgba(255,255,255,0.6);
}

/* Filter pills — segmented control */
.pf-filters {
  display: inline-flex;
  flex-wrap: wrap;
  max-width: 100%;
  gap: 2px;
  margin-top: 34px;
  padding: 4px;
  border: 1px solid #ddd2c1;
  border-radius: 10px;
  background: rgba(255,255,255,0.72);
}
.pf-filter-pill {
  font-family: 'Outfit', sans-serif;
  font-size: 12px; font-weight: 700;
  padding: 10px 16px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #514b42;
  cursor: pointer;
  transition: all 0.22s ease;
}
.pf-filter-pill:hover {
  background: #f2eadc;
  color: #17130e;
}
.pf-filter-pill.active {
  background: #17130e;
  color: #fffdf8;
  box-shadow: 0 6px 18px rgba(23,19,14,0.18);
}

/* Hero reveal animations */
.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(.16,.84,.44,1), transform 0.8s cubic-bezier(.16,.84,.44,1);
}
.reveal-up.in {
  opacity: 1;
  transform: none;
}

/* ─── Grid section ─── */
.pf-grid-section {
  position: relative;
  padding: 76px 0 108px;
  background: #fffdf8;
  scroll-margin-top: 76px;
}

.pf-grid-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}
.pf-grid-eyebrow {
  display: block;
  margin-bottom: 9px;
  color: #805c32;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pf-grid-heading h2 {
  margin: 0;
  color: #17130e;
  font-family: 'Outfit', sans-serif;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.pf-grid-heading p {
  margin: 0 0 3px;
  color: #514b42;
  font-size: 13px;
  font-weight: 700;
}

/* ─── GRID ─── */
.pf-bento {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 26px;
  align-items: stretch;
}

/* ─── Card base ─── */
.pf-item {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e6dfd3;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(23,19,14,0.04);
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.65s cubic-bezier(.16,.84,.44,1),
    transform 0.65s cubic-bezier(.16,.84,.44,1),
    box-shadow 0.35s ease,
    border-color 0.3s ease;
  will-change: transform;
}
.pf-item.pf-visible { opacity: 1; transform: none; }
.pf-item:focus-within { outline: 2px solid #C99B5C; outline-offset: 2px; }
.pf-item:hover {
  z-index: 2;
  transform: translateY(-6px);
  border-color: rgba(201,155,92,0.4);
  box-shadow: 0 24px 50px rgba(23,19,14,0.12), 0 4px 14px rgba(23,19,14,0.06);
}

.pf-card-open {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}
.pf-card-open:focus-visible,
.pf-case-study-link:focus-visible,
.pf-project-details-link:focus-visible {
  outline: 2.5px solid #967047;
  outline-offset: 2px;
}

/* ─── Card media / cover frame ─── */
.pf-card-media {
  position: relative;
  display: block;
  aspect-ratio: 1.42;
  overflow: hidden;
  background: #11100d;
}

/* ─── DESIGNED COVER (replaces raw screenshots) ───
   Every project gets the same high-end branded tile:
   gradient colourway by category, faint monogram,
   outlined icon badge and a hover sheen sweep. */
.pf-cover {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  overflow: hidden;
  background: var(--cov-bg);
  transition: transform 0.7s cubic-bezier(.22,.9,.3,1);
}
.pf-card-open:hover .pf-cover { transform: scale(1.045); }

.pf-cover--mobile  { --cov-bg: radial-gradient(130% 150% at 12% -10%, #1f5443 0%, #123129 52%, #0b1f1a 100%); }
.pf-cover--web     { --cov-bg: radial-gradient(130% 150% at 12% -10%, #1f4863 0%, #132c3d 52%, #0b1c28 100%); }
.pf-cover--ai      { --cov-bg: radial-gradient(130% 150% at 12% -10%, #46325a 0%, #2a1e38 52%, #1a1322 100%); }
.pf-cover--fintech { --cov-bg: radial-gradient(130% 150% at 12% -10%, #4a3818 0%, #2e2411 52%, #1c1609 100%); }

.pf-cover-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(circle at 75% 20%, black, transparent 72%);
}
.pf-cover-orb {
  position: absolute;
  width: 230px; height: 230px;
  right: -70px; bottom: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,155,92,0.32), transparent 70%);
  transition: transform 0.6s ease;
}
.pf-card-open:hover .pf-cover-orb { transform: scale(1.18) translate(-8px,-8px); }

.pf-cover-sheen {
  position: absolute; inset: -40%;
  background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,0.16) 50%, transparent 58%);
  transform: translateX(-65%);
  transition: transform 0.95s ease;
}
.pf-card-open:hover .pf-cover-sheen { transform: translateX(45%); }

.pf-cover-mono {
  position: absolute;
  right: 10px; bottom: -14px;
  z-index: 0;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 118px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(255,255,255,0.075);
  pointer-events: none;
  transition: transform 0.7s cubic-bezier(.22,.9,.3,1), color 0.4s ease;
}
.pf-card-open:hover .pf-cover-mono { transform: translateY(-4px); color: rgba(255,255,255,0.1); }

.pf-cover-top { position: relative; z-index: 1; }
.pf-cover-icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(6px);
  color: #E3C08B;
  transition: transform 0.45s cubic-bezier(.34,1.56,.64,1), background 0.3s ease;
}
.pf-cover-icon svg { width: 18px; height: 18px; }
.pf-card-open:hover .pf-cover-icon {
  transform: translateY(-3px) rotate(-6deg);
  background: rgba(255,255,255,0.12);
}

.pf-cover-chip {
  position: relative; z-index: 1;
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 13px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.2);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.85);
  font-family: 'Outfit', sans-serif;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
}

/* Number / featured badges sit above the cover */
.pf-card-number,
.pf-card-featured {
  position: absolute;
  z-index: 2;
  top: 12px;
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 20px;
  background: rgba(255,253,248,0.94);
  color: #17130e;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 800;
}
.pf-card-number { right: 14px; min-width: 32px; }
.pf-card-featured {
  left: 14px; padding: 0 11px;
  background: #C99B5C; color: #17130e; border-color: #C99B5C;
}

/* ─── Card content ─── */
.pf-item-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 19px 20px 20px;
}
.pf-card-meta {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 5px 12px;
  margin-bottom: 9px;
  color: #805c32;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.pf-card-meta span:last-child {
  color: #716b62;
  font-weight: 600;
  text-align: right;
  text-transform: none;
}
.pf-item-title {
  margin: 0 0 6px;
  color: #17130e;
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.14;
}
.pf-item-tagline {
  display: -webkit-box;
  min-height: 42px;
  margin: 0 0 13px;
  overflow: hidden;
  color: #514b42;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}
.pf-item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  margin: 0 0 16px;
}
.pf-item-tag {
  padding: 0;
  color: #746e65;
  font-size: 10.5px;
  font-weight: 700;
}

.pf-card-actions {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 13px;
  border-top: 1px solid #eee9e0;
}
.pf-case-study-link {
  display: inline-flex;
  flex: 1 1 120px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  border: 1.5px solid #9a886f;
  border-radius: 8px;
  background: #fffdf8;
  color: #17130e;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.pf-case-study-link:hover { color: #805c32; border-color: #805c32; transform: translateY(-1px); }
.pf-case-study-link span { color: #89633a; font-size: 16px; transition: transform 0.2s ease; }
.pf-case-study-link:hover span { transform: translate(2px,-2px); }

.pf-project-details-link {
  display: inline-flex;
  flex: 1 1 135px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 10px;
  border: 1.5px solid #17130e;
  border-radius: 8px;
  background: #17130e;
  color: #fffdf8;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.pf-project-details-link:hover { transform: translateY(-1px); background: #33291d; }
.pf-project-details-link span { color: #e6c48b; font-size: 15px; }

/* ─── DETAIL OVERLAY (unchanged behaviour — only inherits visual refresh below) ─── */
.pf-overlay {
  position: fixed; inset: 0; z-index: 200;
  visibility: hidden; pointer-events: none;
}
.pf-overlay.pf-open { visibility: visible; pointer-events: auto; }

.pf-overlay-bg {
  position: absolute; inset: 0;
  background: rgba(250,248,243,0.96);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  opacity: 0; transition: opacity 0.45s ease;
}
.pf-overlay.pf-open .pf-overlay-bg { opacity: 1; }

.pf-close {
  position: fixed; top: 22px; right: 22px; z-index: 210;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid #e6dfd3;
  background: #fffdf8;
  color: #17130e;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0; transform: scale(0.75) rotate(-45deg);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(.34,1.56,.64,1), border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.pf-overlay.pf-open .pf-close { opacity: 1; transform: scale(1) rotate(0deg); }
.pf-close:hover { border-color: #C99B5C; box-shadow: 0 4px 20px rgba(201,155,92,0.2); }

.pf-detail {
  position: relative; z-index: 205;
  height: 100%; overflow-y: auto; overflow-x: hidden;
  padding: 72px 0 120px;
  scroll-behavior: smooth;
  contain: content;
  -webkit-overflow-scrolling: touch;
}
.pf-detail-inner { width: min(1080px, 90%); margin: 0 auto; }

.pf-detail-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  min-height: 72vh;
  padding: 0 0 72px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s cubic-bezier(.16,.84,.44,1), transform 0.85s cubic-bezier(.16,.84,.44,1);
}
.pf-detail-hero.pf-reveal-visible { opacity: 1; transform: none; }

.pf-detail-hero-media { position: relative; perspective: 1200px; }
.pf-float-wrap {
  position: relative;
  animation: pfFloat 4.5s ease-in-out infinite;
  transform-style: preserve-3d;
  will-change: transform;
}
.pf-float-wrap img {
  width: 100%; display: block;
  border-radius: 14px;
  border: 1px solid #e6dfd3;
  box-shadow: 0 32px 72px rgba(23,19,14,0.16), 0 8px 24px rgba(23,19,14,0.08);
  background: #f4efe4;
}
.pf-float-shadow {
  position: absolute; left: 10%; right: 10%; bottom: -24px;
  height: 32px;
  background: radial-gradient(ellipse at center, rgba(23,19,14,0.18), transparent 70%);
  filter: blur(6px);
  animation: pfShadow 4.5s ease-in-out infinite;
}
@keyframes pfFloat {
  0%, 100% { transform: translateY(0) rotateY(-3deg) rotateX(1.5deg); }
  50%       { transform: translateY(-14px) rotateY(3deg) rotateX(-1.5deg); }
}
@keyframes pfShadow {
  0%, 100% { transform: scale(1);    opacity: 0.5; }
  50%       { transform: scale(0.82); opacity: 0.25; }
}

.pf-cover--detail {
  position: relative;
  aspect-ratio: 1.2;
  border: 1px solid #e6dfd3;
  border-radius: 14px;
  box-shadow: 0 32px 72px rgba(23,19,14,0.16), 0 8px 24px rgba(23,19,14,0.08);
  color: #FAF8F5;
  padding: 26px;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
  background-color: #183B39;
  background-image:
    linear-gradient(135deg, transparent 49.5%, rgba(255,255,255,0.08) 50%, transparent 50.5%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 24px);
}
.pf-cover--mobile.pf-cover--detail { background-color: #315E4B; }
.pf-cover--web.pf-cover--detail { background-color: #235568; }
.pf-cover--ai.pf-cover--detail { background-color: #4E493A; }
.pf-cover--fintech.pf-cover--detail { background-color: #365044; }
.pf-cover-category { position: relative; z-index: 1; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.pf-cover-mark {
  position: absolute; top: 50%; left: 50%;
  color: rgba(255,255,255,0.17);
  font-family: 'Outfit', sans-serif;
  font-size: 112px; font-weight: 800; line-height: 1;
  transform: translate(-50%, -55%);
}
.pf-cover-copy { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 4px; }
.pf-cover-copy strong { font-family: 'Outfit', sans-serif; font-size: 21px; line-height: 1.15; }
.pf-cover-copy span { color: rgba(255,255,255,0.72); font-size: 12px; }

.pf-product-preview {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 380px;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  padding: 20px;
  border: 1px solid #e6dfd3;
  border-radius: 12px;
  background: #fffdf8;
  box-shadow: 0 26px 56px rgba(23,19,14,0.11);
  color: #17130e;
  font-family: 'Inter', sans-serif;
}
.pf-product-preview::after {
  position: absolute; right: -45px; bottom: -75px;
  width: 190px; height: 190px;
  border: 1px solid rgba(201,155,92,0.2);
  border-radius: 50%; content: ''; pointer-events: none;
}
.pf-preview-windowbar,
.pf-preview-actions,
.pf-preview-list > div,
.pf-preview-table > div,
.pf-preview-plans,
.pf-preview-market-head {
  position: relative; z-index: 1;
  animation: pfPreviewIn 0.55s cubic-bezier(.16,.84,.44,1) both;
}
.pf-preview-windowbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pf-preview-windowbar > span:first-child { font-family: 'Outfit', sans-serif; font-size: 12px; font-weight: 900; letter-spacing: 0.08em; }
.pf-preview-network,
.pf-preview-user { padding: 7px 10px; border: 1px solid #e6dfd3; border-radius: 4px; background: #fff; color: #514b42; font-size: 10px; font-weight: 700; }
.pf-preview-network b { margin-left: 8px; color: #805c32; }
.pf-preview-balance {
  display: flex; flex-direction: column; gap: 5px;
  padding: 18px;
  border: 1px solid rgba(201,155,92,0.26);
  border-radius: 7px;
  background: linear-gradient(135deg,#f7f0e4,#fffdf8);
  animation: pfPreviewIn 0.55s 0.08s cubic-bezier(.16,.84,.44,1) both;
}
.pf-preview-balance span, .pf-preview-balance small { color: #716b62; font-size: 10px; font-weight: 600; }
.pf-preview-balance strong { font-family: 'Outfit', sans-serif; font-size: 28px; font-weight: 800; }
.pf-preview-actions { display: grid; grid-template-columns: repeat(4,1fr); gap: 6px; animation-delay: 0.16s; }
.pf-preview-actions span { padding: 9px 3px; border: 1px solid #e6dfd3; border-radius: 4px; background: #fff; color: #514b42; font-size: 9px; font-weight: 700; text-align: center; }
.pf-preview-list { display: grid; gap: 7px; }
.pf-preview-list > div { display: flex; align-items: center; gap: 9px; padding: 8px 9px; border: 1px solid #eee9e0; border-radius: 5px; background: #fff; }
.pf-preview-list > div:nth-child(1) { animation-delay: 0.22s; }
.pf-preview-list > div:nth-child(2) { animation-delay: 0.3s; }
.pf-preview-list > div:nth-child(3) { animation-delay: 0.38s; }
.pf-preview-list > div > span { display: flex; flex: 1; flex-direction: column; gap: 2px; }
.pf-preview-list b { font-size: 10px; }
.pf-preview-list small { color: #716b62; font-size: 9px; }
.pf-preview-list > div > strong { font-size: 10px; }
.pf-coin { display: grid; width: 27px; height: 27px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: #fff; font-size: 11px; font-style: normal; font-weight: 800; }
.pf-coin--gold { background: #b5813f; }
.pf-coin--green { background: #51846c; }
.pf-coin--blue { background: #6684a5; }
.pf-preview-market-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; animation-delay: 0.08s; }
.pf-preview-market-head span { font-family: 'Outfit', sans-serif; font-size: 18px; font-weight: 800; }
.pf-preview-market-head b { color: #805c32; font-size: 10px; }
.pf-preview-search { display: flex; align-items: center; gap: 9px; padding: 11px; border: 1px solid #ded6c8; border-radius: 5px; background: #fff; color: #716b62; font-size: 10px; }
.pf-preview-search span { color: #805c32; font-size: 17px; }
.pf-preview-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.pf-preview-filters span { padding: 6px 9px; border: 1px solid #e6dfd3; border-radius: 4px; background: #f7f3eb; color: #514b42; font-size: 9px; font-weight: 700; }
.pf-preview-table { display: grid; gap: 6px; }
.pf-preview-table > div { display: grid; grid-template-columns: 1.25fr .85fr .8fr; align-items: center; gap: 5px; padding: 10px 8px; border-bottom: 1px solid #eee9e0; font-size: 8.5px; }
.pf-preview-table > div:nth-child(2) { animation-delay: 0.2s; }
.pf-preview-table > div:nth-child(3) { animation-delay: 0.28s; }
.pf-preview-table-head { color: #716b62; font-size: 8px !important; font-weight: 800; text-transform: uppercase; }
.pf-preview-table > div > span { color: #514b42; }
.pf-preview-table > div > i { justify-self: start; padding: 4px 5px; border-radius: 3px; background: #e8f1e9; color: #315e42; font-size: 8px; font-style: normal; font-weight: 700; }
.pf-preview-table > div > i.is-review { background: #f4eddf; color: #805c32; }
.pf-preview-host-head { display: flex; flex-direction: column; gap: 5px; padding: 10px 0; animation: pfPreviewIn 0.55s 0.08s cubic-bezier(.16,.84,.44,1) both; }
.pf-preview-host-head small { color: #805c32; font-size: 8px; font-weight: 800; letter-spacing: 0.08em; }
.pf-preview-host-head strong { font-family: 'Outfit', sans-serif; font-size: 22px; font-weight: 800; }
.pf-preview-host-head > span { color: #716b62; font-size: 10px; line-height: 1.5; }
.pf-preview-plans { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; animation-delay: 0.16s; }
.pf-preview-plans > div { display: flex; min-height: 155px; flex-direction: column; align-items: flex-start; gap: 8px; padding: 10px 8px; border: 1px solid #e6dfd3; border-radius: 5px; background: #fff; }
.pf-preview-plans > div.is-featured { border-color: #b78a50; background: #f8f1e6; }
.pf-preview-plans i { color: #805c32; font-size: 8px; font-style: normal; font-weight: 800; }
.pf-preview-plans > div > b { font-family: 'Outfit', sans-serif; font-size: 11px; font-weight: 800; }
.pf-preview-plans > div > span, .pf-preview-plans > div > small { color: #716b62; font-size: 8px; line-height: 1.35; }
.pf-preview-plans em { display: flex; align-items: center; gap: 4px; margin-top: auto; color: #17130e; font-size: 8px; font-style: normal; font-weight: 800; }
.pf-preview-caption { position: relative; z-index: 1; margin-top: auto; color: #716b62; font-size: 9px; font-weight: 600; }
@keyframes pfPreviewIn { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }

.pf-detail-label {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #805c32;
  margin-bottom: 12px;
}
.pf-detail-title {
  font-family: 'Outfit', sans-serif; font-weight: 800;
  font-size: clamp(30px, 3.4vw, 46px);
  letter-spacing: -0.02em;
  color: #17130e;
  margin-bottom: 8px;
}
.pf-detail-tagline {
  font-family: 'Outfit', sans-serif;
  font-size: 16px; font-weight: 700;
  color: #805c32;
  margin-bottom: 16px;
}
.pf-detail-desc {
  color: #514b42; font-size: 16px; font-weight: 500; line-height: 1.78;
  margin-bottom: 22px; max-width: 460px;
}
.pf-pair-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 24px; }
.pf-pill {
  font-size: 11.5px; padding: 5px 13px; border-radius: 20px;
  border: 1px solid #e6dfd3;
  background: rgba(201,155,92,0.06);
  color: #514b42;
}

.pf-detail-cs-link {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Outfit', sans-serif;
  font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.03em;
  color: #805c32;
  border: 1.5px solid rgba(201,155,92,0.38);
  background: rgba(201,155,92,0.07);
  padding: 11px 22px;
  border-radius: 40px;
  text-decoration: none;
  margin-bottom: 14px;
  cursor: pointer;
  transition: all 0.22s ease;
}
.pf-detail-cs-link:hover {
  background: rgba(201,155,92,0.14);
  border-color: #C99B5C;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,155,92,0.18);
}

.btn.ghost.pf-back-btn {
  font-size: 13px; font-weight: 600;
  color: #514b42;
  border: 1px solid #e6dfd3;
  background: transparent;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Outfit', sans-serif;
}
.btn.ghost.pf-back-btn:hover { color: #17130e; border-color: #17130e; background: #fff; }

.pf-view-cs-section {
  background: linear-gradient(135deg, rgba(201,155,92,0.08) 0%, rgba(201,155,92,0.03) 100%);
  border: 1.5px solid rgba(201,155,92,0.2);
  border-radius: 14px;
  padding: 26px 30px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin: 0 0 40px;
}
.pf-view-cs-text h4 { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 16px; color: #17130e; margin-bottom: 3px; }
.pf-view-cs-text p { font-size: 13px; color: #514b42; }
.pf-view-cs-btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Outfit', sans-serif;
  font-size: 12.5px; font-weight: 800;
  color: #17130E;
  background: #C99B5C;
  border: 1.5px solid #17130e;
  padding: 12px 22px;
  border-radius: 40px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.22s ease;
}
.pf-view-cs-btn:hover { background: #DEB06E; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(201,155,92,0.3); }

.pf-section-block {
  padding: 56px 0;
  border-top: 1px solid #e6dfd3;
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(.16,.84,.44,1), transform 0.8s cubic-bezier(.16,.84,.44,1);
}
.pf-section-block.pf-reveal-visible { opacity: 1; transform: none; }
.pf-section-label-row { display: flex; align-items: center; gap: 18px; margin-bottom: 36px; }
.pf-section-eyebrow {
  font-family: 'Outfit', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #514b42;
  white-space: nowrap;
}
.pf-label-line { flex: 1; height: 1px; background: #e6dfd3; }

.pf-zig-wrap { display: flex; flex-direction: column; gap: 64px; }
.pf-zig-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.16,.84,.44,1);
}
.pf-zig-row.pf-reveal-visible { opacity: 1; transform: none; }
.pf-zig-imgR .pf-zig-media { order: 2; } .pf-zig-imgR .pf-zig-text { order: 1; }
.pf-zig-imgL .pf-zig-media { order: 1; } .pf-zig-imgL .pf-zig-text { order: 2; }
.pf-zig-media {
  border-radius: 12px; overflow: hidden;
  border: 1px solid #e6dfd3;
  background: #f4efe4;
  box-shadow: 0 20px 48px rgba(23,19,14,0.1);
}
.pf-zig-media img { width: 100%; display: block; object-fit: cover; }
.pf-zig-text { display: flex; flex-direction: column; gap: 12px; }
.pf-zig-text p, .pf-step-detail { font-size: 15px; font-weight: 500; color: #514b42; line-height: 1.75; max-width: 400px; }

.pf-zig-wrap--plain { gap: 0; }
.pf-zig-wrap--plain .pf-proc-row { padding: 20px 0; border-bottom: 1px solid #e6dfd3; grid-template-columns: 1fr; }
.pf-zig-wrap--plain .pf-proc-row:last-child { border-bottom: none; }

.pf-step-icon {
  font-family: 'Outfit', sans-serif; font-weight: 800;
  font-size: 12px; letter-spacing: 0.04em;
  color: #805c32;
  width: 36px; height: 36px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 9px;
  border: 1.5px solid rgba(201,155,92,0.25);
  background: rgba(201,155,92,0.06);
  margin-bottom: 6px;
}
.pf-step-phase { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 18px; color: #17130e; margin-bottom: 4px; }

.pf-tech-stack-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.pf-tech-stack-grid li {
  display: flex; min-height: 44px; align-items: center; padding: 10px 12px;
  border: 1.5px solid #ded4c4; border-radius: 5px; background: #fff;
  color: #312c25; font-size: 12px; font-weight: 700;
}

.pf-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 20px; list-style: none; padding: 0; margin: 0; }
.pf-feature-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14.5px; font-weight: 600; color: #514b42; line-height: 1.55;
  padding: 14px 0; border-bottom: 1px solid #e6dfd3;
}
.pf-feature-tick {
  color: #805c32; font-size: 12px; flex-shrink: 0;
  width: 20px; height: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(201,155,92,0.28); border-radius: 50%;
  background: rgba(201,155,92,0.07);
  margin-top: 1px;
}

.pf-detail-footer { padding: 56px 0 24px; border-top: 1px solid #e6dfd3; display: flex; align-items: center; gap: 16px; }

.pf-flying { position: fixed; z-index: 300; border-radius: 12px; overflow: hidden; pointer-events: none; box-shadow: 0 32px 72px rgba(23,19,14,0.18); }
.pf-flying img { width: 100%; height: 100%; object-fit: cover; display: block; }

body.pf-modal-open .pf-grain { display: none; }
.pf-detail { will-change: scroll-position; }
.pf-float-wrap { will-change: transform; }

/* ─── Start-a-Project CTA — scoped lift for this page only ─── */
#startProject.sap-section {
  position: relative;
  background: linear-gradient(180deg, #fffdf8 0%, #f5efe4 100%);
  overflow: hidden;
}
#startProject .sap-inner {
  position: relative;
  border: 1px solid rgba(201,155,92,0.22);
  box-shadow: 0 30px 70px rgba(23,19,14,0.08);
}

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
  .pf-item { transition: opacity 0.3s ease; transform: none !important; }
  .pf-cover, .pf-cover-sheen, .pf-cover-orb, .pf-cover-mono, .pf-cover-icon { transition: none !important; }
  .pf-float-wrap, .pf-float-shadow { animation: none; }
  .pf-section-block, .pf-detail-hero, .pf-zig-row { transition: opacity 0.3s ease; transform: none !important; }
  .pf-hero::before { animation: none; }
  .pf-product-preview > * { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* ─── Shared site footer ─── */
.footer-grid-upgraded { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 48px; padding-bottom: 40px; }
.footer-col-brand .footer-brand { display: inline-block; margin-bottom: 14px; color: #FAF8F5; font-family: 'Outfit', sans-serif; font-size: 15px; font-weight: 700; letter-spacing: 0.14em; text-decoration: none; }
.footer-tagline { max-width: 320px; margin-bottom: 20px; color: rgba(245,239,224,0.68); font-size: 13.5px; line-height: 1.6; }
.footer-meta-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid rgba(245,239,224,0.14); border-radius: 20px; background: rgba(245,239,224,0.05); color: rgba(245,239,224,0.68); font-size: 12px; }
.footer-meta-pill .meta-dot { width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: #C99B5C; }
.footer-heading { display: block; margin-bottom: 18px; color: #FAF8F5; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.footer-links-list, .footer-contact-details { display: flex; flex-direction: column; gap: 12px; }
.footer-links-list { margin: 0; padding: 0; list-style: none; }
.footer-links-list a, .footer-link-highlight { color: rgba(245,239,224,0.68); font-size: 13.5px; text-decoration: none; transition: color 0.2s ease, transform 0.2s ease; }
.footer-link-highlight { color: #FAF8F5; font-weight: 500; }
.footer-links-list a:hover, .footer-link-highlight:hover { color: #C99B5C; }
.footer-links-list a:hover { transform: translateX(3px); }
.footer-reply-badge { color: rgba(245,239,224,0.5); font-size: 12px; }

@media (max-width: 992px) {
  .footer-grid-upgraded { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-col-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .footer-grid-upgraded { grid-template-columns: 1fr; gap: 28px; }
  .footer-col-brand { grid-column: auto; }
  .footer-meta-pill { align-items: flex-start; }
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .pf-hero-inner { grid-template-columns: 1fr; gap: 26px; }
  .pf-hero-right { justify-content: flex-start; }
  .pf-bento { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .pf-features-grid { grid-template-columns: repeat(2, 1fr); }
  .pf-detail-hero { min-height: auto; }
}
@media (max-width: 768px) {
  .pf-hero { padding-top: 102px; }
  .pf-title { font-size: 52px; }
  .pf-hero-right { gap: 12px; }
  .pf-hero-stat { min-width: 96px; padding: 11px 14px; }
  .pf-grid-section { padding: 58px 0 76px; }
  .pf-bento { gap: 16px; }
  .pf-item-content { padding: 16px; }
  .pf-item-title { font-size: 20px; }
  .pf-tech-stack-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .pf-detail-hero { grid-template-columns: 1fr; gap: 32px; }
  .pf-zig-row { grid-template-columns: 1fr; gap: 20px; }
  .pf-view-cs-section { flex-direction: column; align-items: flex-start; }
  .pf-features-grid { grid-template-columns: 1fr 1fr; }
  .pf-detail-footer { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .pf-hero .container, .pf-grid-section .container { width: calc(100% - 40px); }
  .pf-hero { padding: 96px 0 44px; }
  .pf-title { font-size: 40px; line-height: 1.04; }
  .pf-sub { font-size: 14px; }
  .pf-filters { display: flex; width: 100%; overflow-x: auto; scrollbar-width: none; margin-top: 26px; }
  .pf-filters::-webkit-scrollbar { display: none; }
  .pf-filter-pill { padding: 9px 13px; font-size: 11px; white-space: nowrap; }
  .pf-hero-right { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; width: 100%; }
  .pf-hero-stat { min-width: 0; padding: 10px 10px; align-items: flex-start; }
  .pf-hero-stat strong { font-size: 22px; }
  .pf-grid-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .pf-grid-heading h2 { font-size: 28px; }
  .pf-bento { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .pf-card-media { aspect-ratio: 1.55; }
  .pf-cover-mono { font-size: 96px; }
  .pf-item-content { padding: 16px 17px 15px; }
  .pf-item-tagline { min-height: 0; }
  .pf-item-tags { margin-bottom: 12px; }
  .pf-tech-stack-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pf-features-grid { grid-template-columns: 1fr; }
  .pf-detail-inner { width: calc(100% - 40px); }
  .pf-detail-title { font-size: 32px; }
  .pf-detail-desc { font-size: 15px; }
  .pf-product-preview { min-height: 350px; padding: 14px; }
  .pf-preview-balance { padding: 14px; }
  .pf-preview-balance strong { font-size: 25px; }
  .pf-preview-plans > div { min-height: 145px; padding: 9px 6px; }
  .pf-preview-plans > div > b { font-size: 10px; }
  .pf-preview-table > div { font-size: 8px; }
  #startProject .sap-inner { width: calc(100% - 36px); padding: 42px 22px; }
}

/* ─── CASE STUDY — full-bleed view inside the same popup ─── */
.pf-detail.pf-detail--cs {
  padding: 0;
  overflow: hidden;
}
.pf-detail--cs .pf-detail-inner { display: none; }
.pf-cs-view {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
}
.pf-cs-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 70px 16px 22px;
  background: #fffdf8;
  border-bottom: 1px solid #e6dfd3;
  flex: 0 0 auto;
}
.pf-cs-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 700 13px 'Inter', sans-serif;
  color: #514b42;
  background: transparent;
  border: 1.5px solid #e6dfd3;
  border-radius: 999px;
  padding: 9px 16px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.pf-cs-back:hover { border-color: #C99B5C; color: #17130e; background: rgba(201,155,92,0.08); }
.pf-cs-bar-title {
  font: 600 14px 'Outfit', sans-serif;
  color: #17130e;
  letter-spacing: 0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pf-cs-bar-title em { font-style: normal; color: #9c7a54; }
.pf-cs-frame {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}
@media (max-width: 640px) {
  .pf-cs-bar { padding: 14px 60px 14px 16px; gap: 10px; }
  .pf-cs-bar-title { font-size: 12.5px; }
  .pf-cs-back span { display: none; }
}

/* ─── SINGLE BACK BUTTON ───
   In case study view the only control is the Back button (top left),
   so the round close button on the right is hidden. */
.pf-overlay.pf-cs-mode .pf-close { display: none; }
.pf-cs-bar { padding-right: 22px; }

/* ─── EMBEDDED MODE ───
   portfolio.html?project=xxx&embed=1 is what the case study overlay on
   every other page loads. Only the project itself is visible; the page
   chrome and every in page close/back control are hidden because the
   host page supplies the one Back button (top left). */
html.pf-embed, html.pf-embed body { background: #fffdf8 !important; overflow: hidden !important; }
html.pf-embed body > *:not(.pf-overlay) { visibility: hidden !important; pointer-events: none !important; }
html.pf-embed .pf-overlay-bg { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fffdf8; }
html.pf-embed .pf-close,
html.pf-embed .pf-cs-back,
html.pf-embed .pf-back-btn { display: none !important; }
html.pf-embed .pf-cs-bar { padding-left: 132px; min-height: 68px; box-sizing: border-box; }
html.pf-embed .pf-detail-inner { padding-top: 72px; }

/* ==========================================================================
   Source: portfolio-landing.css
   ========================================================================== */
/* =============================================
   ELYVEN — PORTFOLIO LANDING v2.0
   Compact hero · two-row opposite marquee of
   project cards (homepage clients-marquee style)
   ============================================= */

/* ─── HERO (compact) ─── */
.plh {
  position: relative;
  overflow: hidden;
  padding: 124px 0 72px;
  background: linear-gradient(180deg, #fffdf8 0%, #f7f1e7 100%);
}
.plh-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}
.plh-copy { min-width: 0; }
.plh-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #805c32;
  animation: plFade 0.8s 0.1s both;
}
.plh-eyebrow::before {
  content: '';
  width: 48px;
  height: 1px;
  background: #C99B5C;
  transform-origin: left center;
  animation: plLine 1.1s 0.2s both cubic-bezier(0.2, 0.7, 0.2, 1);
}
.plh-title {
  margin: 18px 0 0;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(40px, 4.9vw, 72px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #17130e;
}
.plh-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}
.plh-line > span {
  display: inline-block;
  transform: translateY(110%);
  animation: plRise 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.plh-line:nth-child(2) > span { animation-delay: 0.14s; }
.plh-title em {
  position: relative;
  font-style: italic;
  font-weight: 700;
  color: #C99B5C;
  padding-right: 0.06em;
}
.plh-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-top: 28px;
  animation: plFade 0.9s 0.5s both;
}
.plh-sub {
  max-width: 480px;
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.65;
  color: #514b42;
}
.plh-ring {
  position: relative;
  flex: 0 0 auto;
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  color: #17130e;
  text-decoration: none;
}
.plh-ring svg.plh-ring-text {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: plSpin 16s linear infinite;
}
.plh-ring text {
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  fill: #805c32;
}
.plh-ring-core {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #17130e;
  color: #C99B5C;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), background 0.4s ease;
}
.plh-ring:hover .plh-ring-core {
  transform: scale(1.12);
  background: #C99B5C;
  color: #17130e;
}

/* ─── WORK SECTION ─── */
.pl-work {
  position: relative;
  padding: 96px 0 110px;
  background: #fff;
  overflow: hidden;
}
.pl-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 48px;
}
.pl-eyebrow {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #805c32;
}
.pl-head h2 {
  margin: 12px 0 0;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(30px, 3.8vw, 48px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: #17130e;
}
.pl-hint {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #716b62;
}

/* ─── Two-row opposite marquee (same mechanics as homepage clients wall) ─── */
.pl-marquee {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  isolation: isolate;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.pl-marquee.is-in {
  opacity: 1;
  transform: none;
}
.pl-marquee-row {
  overflow: hidden;
  padding: 14px 0;
}
.pl-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
  animation: plMqLeft 44s linear infinite;
}
.pl-marquee-row--right .pl-marquee-track {
  animation-name: plMqRight;
  animation-duration: 50s;
}
.pl-marquee-track:hover { animation-play-state: paused; }

/* margin-right (not gap) keeps both halves identical, so the loop wraps seamlessly */
@keyframes plMqLeft {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 12px)); }
}
@keyframes plMqRight {
  from { transform: translateX(calc(-50% - 12px)); }
  to   { transform: translateX(0); }
}

.pl-card {
  position: relative;
  flex: 0 0 auto;
  width: 280px;
  margin: 0 24px 0 0;
  padding: 0;
  display: block;
  overflow: hidden;
  white-space: normal;
  text-align: left;
  color: #17130e;
  background: #fffdf8;
  border: 1px solid rgba(26, 20, 14, 0.08);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(23, 19, 14, 0.03);
  cursor: pointer;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.pl-card:hover {
  border-color: rgba(201, 155, 92, 0.4);
  box-shadow: 0 14px 32px -10px rgba(201, 155, 92, 0.28), 0 2px 8px rgba(23, 19, 14, 0.06);
  transform: translateY(-4px);
  z-index: 5;
}
.pl-card:focus-visible {
  outline: 2px solid #C99B5C;
  outline-offset: 3px;
}
.pl-card-media {
  position: relative;
  height: 148px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--cbg, #f1e7d6);
  transition: background 0.4s ease;
}
.pl-card-num {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--num, #805c32);
}
.pl-card-short {
  font-family: 'Outfit', sans-serif;
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--ink, #17130e);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.pl-card:hover .pl-card-short { transform: translateX(6px); }
.pl-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 20px 18px;
}
.pl-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #17130e;
}
.pl-card-tag {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #716b62;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ─── Keyframes ─── */
@keyframes plRise { to { transform: translateY(0); } }
@keyframes plFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes plLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes plUnder { to { transform: scaleX(1); } }
@keyframes plSpin { to { transform: rotate(360deg); } }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .plh-foot { flex-direction: column; align-items: flex-start; gap: 22px; }
}
@media (max-width: 760px) {
  .plh { padding: 104px 0 56px; }
  .plh .container, .pl-work .container { width: calc(100% - 40px); }
  .pl-work { padding: 72px 0 84px; }
  .pl-head { margin-bottom: 32px; }
  .pl-hint { display: none; }
  .pl-card { width: 232px; margin-right: 18px; }
  .pl-card-media { height: 124px; padding: 14px 16px; }
  .pl-card-short { font-size: 40px; }
  .pl-card-body { padding: 14px 16px 16px; }
  .pl-marquee { gap: 14px; }
}

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
  .plh-eyebrow, .plh-eyebrow::before, .plh-line > span,
 .plh-foot, .plh-ring svg.plh-ring-text,
  .pl-marquee-track {
    animation: none !important;
  }
  .plh-line > span { transform: none; }
  .plh-eyebrow::before { transform: scaleX(1); }
  .pl-marquee { opacity: 1; transform: none; transition: none; }
  .pl-card, .pl-card-short { transition: none; }
}


/* ─── Unique hero extras (v2.1) ─── */
.plh-dots { position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: radial-gradient(rgba(128,92,50,.16) 1.2px, transparent 1.4px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 78% 40%, #000, transparent 75%); mask-image: radial-gradient(ellipse 60% 70% at 78% 40%, #000, transparent 75%); }
.plh-vis { position: relative; min-width: 0; padding: 30px 0 52px; animation: plFade .9s .3s both; }
.plh-vis-blob { position: absolute; width: 78%; aspect-ratio: 1; right: -6%; top: -4%; border-radius: 50%; background: radial-gradient(circle, rgba(232,208,168,.55), transparent 68%); }
.plh-vis-ring { position: absolute; width: 62%; aspect-ratio: 1; left: -2%; bottom: -8%; border-radius: 50%; border: 1px solid rgba(201,155,92,.45); }
.plh-win { position: relative; background: #fff; border: 1px solid rgba(23,19,14,.09); border-radius: 22px; box-shadow: 0 34px 70px -34px rgba(23,19,14,.45); transform: rotate(-2.2deg); overflow: hidden; animation: plFloat 7s ease-in-out infinite; }
.plh-win-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; background: #17130e; }
.plh-win-bar i { width: 9px; height: 9px; border-radius: 50%; background: #C99B5C; opacity: .85; }
.plh-win-bar i:nth-child(2) { opacity: .55; } .plh-win-bar i:nth-child(3) { opacity: .3; }
.plh-win-bar span { margin-left: 10px; font: 600 11px 'Inter', sans-serif; letter-spacing: .08em; color: rgba(255,255,255,.55); }
.plh-win-list { list-style: none; margin: 0; padding: 8px 10px 12px; }
.plh-win-list li { display: flex; align-items: center; gap: 16px; padding: 14px 12px; border-radius: 14px; transition: background .3s ease, transform .3s ease; }
.plh-win-list li:hover { background: #faf4e8; transform: translateX(4px); }
.plh-win-list li + li { border-top: 1px solid rgba(23,19,14,.06); }
.plh-win-list b { flex: none; font: 800 13px 'Outfit', sans-serif; color: #C99B5C; letter-spacing: .05em; }
.plh-win-list div { flex: 1; min-width: 0; }
.plh-win-list strong { display: block; font: 700 16px/1.2 'Outfit', sans-serif; color: #17130e; }
.plh-win-list small { display: block; margin-top: 3px; font: 500 12.5px 'Inter', sans-serif; color: #6b655b; }
.plh-tag { flex: none; padding: 5px 11px; border-radius: 99px; background: #f4eddf; font: 700 10.5px 'Inter', sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #805c32; }
.plh-chip { position: absolute; display: flex; flex-direction: column; gap: 2px; padding: 14px 20px; background: #17130e; color: #fff; border-radius: 18px; box-shadow: 0 22px 44px -20px rgba(23,19,14,.6); animation: plFloat 6s ease-in-out infinite; }
.plh-chip strong { font: 800 30px/1 'Outfit', sans-serif; color: #C99B5C; }
.plh-chip span { font: 600 11px 'Inter', sans-serif; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.plh-chip-a { right: -14px; top: 0; animation-delay: -1.5s; }
.plh-chip-b { left: -22px; bottom: 0; background: #C99B5C; animation-delay: -3s; }
.plh-chip-b strong { color: #17130e; } .plh-chip-b span { color: rgba(23,19,14,.75); }
@keyframes plFloat { 0%,100% { translate: 0 0; } 50% { translate: 0 -9px; } }
@media (max-width: 900px) {
  .plh-inner { grid-template-columns: 1fr; gap: 48px; }
  .plh-vis { max-width: 520px; width: 100%; margin: 0 auto; }
}
@media (max-width: 480px) {
  .plh-chip-a { right: -4px; } .plh-chip-b { left: -4px; }
  .plh-win-list li { padding: 12px 8px; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { .plh-vis, .plh-win, .plh-chip { animation: none !important; } }
.plh-copy .plh-foot { justify-content: flex-start; align-items: center; gap: 28px; margin-top: 34px; }
@media (max-width: 480px) { .plh-copy .plh-foot { flex-direction: row; align-items: center; gap: 18px; } .plh-sub { font-size: 14px; } }

/* ==========================================================================
   Source: site-redesign.css
   ========================================================================== */
/* =============================================================
   SITE REDESIGN PASS — clients/testimonials, development process,
   services alignment (navbar + CTA live in shared.css)
   Loaded last so it safely overrides styles.css / mobile-fix.css
   ============================================================= */

/* ─────────────────────────────────────────────
   2) CLIENT TESTIMONIALS — "What They Say"
   redesigned from a plain generic card into a
   framed, editorial panel with a visible lead-in
   from the marquee above it
   ───────────────────────────────────────────── */
.clt-wrap {
  margin-top: 104px !important;
  padding-top: 54px;
  position: relative;
}
.clt-wrap::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(560px, 78%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,155,92,.55), transparent);
}
.clt-wrap::after {
  content: "";
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  width: 7px; height: 7px; border-radius: 50%;
  background: #C99B5C;
  box-shadow: 0 0 0 5px rgba(201,155,92,.16);
}
.clt-header { margin-bottom: 52px; }
.clt-heading { font-size: clamp(28px, 3.4vw, 40px); }

.clt-viewport { padding: 6px 0 2px; }

.clt-card-inner {
  position: relative;
  padding: 54px 58px 46px;
  background: linear-gradient(160deg, #FFFDF8 0%, #FBF1DD 100%);
  border: 1px solid rgba(201,155,92,.26);
  border-radius: 28px;
  box-shadow: 0 34px 80px -34px rgba(23,19,14,.28), inset 0 1px 0 rgba(255,255,255,.7);
  overflow: hidden;
}
.clt-card-inner::before {
  content: "\201C";
  position: absolute;
  top: -44px; right: 20px;
  font-family: 'Outfit', sans-serif;
  font-size: 200px;
  font-weight: 800;
  line-height: 1;
  color: rgba(201,155,92,.10);
  pointer-events: none;
}
.clt-card-inner::after {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0; width: 5px;
  background: linear-gradient(180deg, #E6C48B, #C99B5C);
}
.clt-quote { position: relative; z-index: 1; }
.clt-text { position: relative; z-index: 1; font-size: 17.5px; color: #2E2620; }
.clt-footer {
  position: relative; z-index: 1;
  border-top: 1px dashed rgba(201,155,92,.4);
}
.clt-avatar { box-shadow: 0 0 0 4px rgba(201,155,92,.18); }
.clt-project {
  display: inline-block;
  background: rgba(201,155,92,.14);
  padding: 3px 10px;
  border-radius: 7px;
  margin-bottom: 2px;
}
.clt-arrow:hover { background: #C99B5C; border-color: #C99B5C; color: #17130E; }

@media (max-width: 768px) {
  .clt-wrap { margin-top: 70px !important; padding-top: 38px; }
  .clt-card-inner { padding: 38px 26px 32px; border-radius: 22px; }
  .clt-card-inner::before { font-size: 140px; top: -30px; right: 8px; }
}

/* ─────────────────────────────────────────────
   3) DEVELOPMENT PROCESS — light cream/gold theme
   matching the rest of the site. Vertical rail that
   fills with gold, white cards, animated nodes.
   ───────────────────────────────────────────── */
.dproc-section {
  background: linear-gradient(175deg, #F5ECE0 0%, #FBF8F3 34%, #FFFFFF 100%) !important;
  color: #17130E !important;
}
.dproc-blob-1 { background: radial-gradient(circle, rgba(201,155,92,.20) 0%, transparent 70%) !important; }
.dproc-blob-2 { background: radial-gradient(circle, rgba(201,155,92,.12) 0%, transparent 70%) !important; }

/* header + footer were waiting on a script that no longer exists — always visible now */
.dproc-header, .dproc-footer-cta { opacity: 1 !important; transform: none !important; }

.dproc-eyebrow {
  color: #B07F3F !important;
  background: rgba(201,155,92,.10) !important;
  border-color: rgba(201,155,92,.30) !important;
  font-weight: 800 !important;
}
.dproc-title { color: #17130E !important; font-weight: 800 !important; }
.dproc-title em { color: #C99B5C !important; }
.dproc-subtitle { color: rgba(23,19,14,.62) !important; font-weight: 500 !important; }

.dproc-body { margin-top: 64px; position: relative; }
.dproc-steps { position: relative; max-width: 920px; margin: 0 auto; }

/* rail */
.dproc-steps::before {
  content: ""; position: absolute; left: 35px; top: 34px; bottom: 34px; width: 3px;
  border-radius: 3px; background: rgba(201,155,92,.20); transform: none; z-index: 0;
}
.dproc-steps::after {
  content: ""; position: absolute; left: 35px; top: 34px; width: 3px;
  max-height: calc(100% - 68px);
  height: var(--rail-fill, 0%);
  border-radius: 3px; transform: none; z-index: 0;
  background: linear-gradient(180deg, #F0D9AC, #C99B5C);
  box-shadow: 0 0 14px rgba(201,155,92,.55);
  transition: height .7s cubic-bezier(.22,1,.36,1);
}

.dproc-step {
  position: relative;
  display: grid; grid-template-columns: 72px 1fr; column-gap: 26px; align-items: start;
  padding: 14px 0; z-index: 1;
  opacity: 0; transform: translateX(40px);
  transition: opacity .75s cubic-bezier(.16,1,.3,1), transform .75s cubic-bezier(.16,1,.3,1);
}
.dproc-step.is-in { opacity: 1; transform: translateX(0); }

/* node */
.dproc-step-node {
  grid-column: 1; position: relative; z-index: 2;
  width: 72px; height: 72px; border-radius: 24px;
  background: #fff; border: 2px solid rgba(201,155,92,.40); color: #B07F3F;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px -12px rgba(120,80,20,.35);
  transition: background .5s ease, color .5s ease, border-color .5s ease, transform .5s cubic-bezier(.34,1.56,.64,1), box-shadow .5s ease;
}
.dproc-step-node svg { width: 28px; height: 28px; }
.dproc-step.is-in .dproc-step-node {
  background: linear-gradient(145deg, #E6C48B, #C99B5C);
  border-color: #C99B5C; color: #17130E;
  animation: dprocNodePop .8s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes dprocNodePop { 0% { transform: scale(.6) rotate(-14deg); } 100% { transform: scale(1) rotate(0); } }

/* card */
.dproc-step-card,
.dproc-step:nth-child(odd) .dproc-step-card,
.dproc-step:nth-child(even) .dproc-step-card {
  grid-column: 2; text-align: left;
  position: relative; overflow: hidden; z-index: 1;
  background: linear-gradient(155deg, #FFFFFF 0%, #FCF8F0 100%);
  border: 1.5px solid rgba(201,155,92,.24);
  border-radius: 24px; padding: 28px 150px 28px 32px;
  box-shadow: 0 22px 50px -30px rgba(90,60,15,.30);
  backdrop-filter: none;
  transition: transform .45s cubic-bezier(.22,1,.36,1), box-shadow .45s ease, border-color .45s ease;
}
.dproc-step-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: linear-gradient(180deg, #E6C48B, #C99B5C);
  transform: scaleY(0); transform-origin: top; transition: transform .7s cubic-bezier(.22,1,.36,1) .2s;
}
.dproc-step.is-in .dproc-step-card::before { transform: scaleY(1); }
.dproc-step-card::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.75), transparent);
  transform: skewX(-18deg); transition: left .9s ease; pointer-events: none;
}
.dproc-step-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201,155,92,.6);
  box-shadow: 0 30px 60px -28px rgba(120,80,20,.42);
}
.dproc-step-card:hover::after { left: 130%; }
.dproc-step:hover .dproc-step-node { transform: scale(1.07) rotate(-4deg); }

/* big outline number */
.dproc-step-num,
.dproc-step:nth-child(odd) .dproc-step-num,
.dproc-step:nth-child(even) .dproc-step-num {
  position: absolute; left: auto; right: 30px; top: 50%; transform: translateY(-50%);
  z-index: 3; font-family: 'Outfit', sans-serif; font-size: 96px; font-weight: 900; line-height: 1;
  color: transparent; -webkit-text-stroke: 2px rgba(201,155,92,.38);
  pointer-events: none; transition: -webkit-text-stroke-color .4s ease, transform .5s cubic-bezier(.22,1,.36,1);
}
.dproc-step:hover .dproc-step-num { -webkit-text-stroke-color: #C99B5C; transform: translateY(-50%) scale(1.06); }

.dproc-step-tag {
  display: inline-block; font-family: 'Inter', sans-serif; font-size: 10.5px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  color: #8A5E22; background: rgba(201,155,92,.16); border: 1px solid rgba(201,155,92,.32);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 12px;
}
.dproc-step-title { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 22px; color: #17130E; margin-bottom: 9px; }
.dproc-step-desc { font-family: 'Inter', sans-serif; font-weight: 500; font-size: 14.5px; line-height: 1.7; color: rgba(23,19,14,.62); }
.dproc-step-pills,
.dproc-step:nth-child(even) .dproc-step-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; justify-content: flex-start; }
.dproc-step-pill {
  font-family: 'Inter', sans-serif; font-size: 11.5px; font-weight: 700; color: #17130E;
  background: #FBF3E3; border: 1px solid rgba(201,155,92,.30);
  padding: 5px 12px; border-radius: 999px;
  transition: background .25s ease, transform .25s ease, border-color .25s ease;
}
.dproc-step-card:hover .dproc-step-pill { background: #fff; border-color: rgba(201,155,92,.6); }
.dproc-step-pill:hover { transform: translateY(-2px); }

/* footer CTA panel */
.dproc-footer-cta {
  margin-top: 56px !important; padding: 26px 30px !important;
  border: 1.5px solid rgba(201,155,92,.30) !important;
  border-radius: 26px; background: linear-gradient(155deg, #fff, #FBF3E3);
  box-shadow: 0 24px 50px -32px rgba(90,60,15,.3);
}
.dproc-footer-text { color: rgba(23,19,14,.62) !important; }
.dproc-footer-text strong { color: #17130E !important; }

@media (max-width: 760px) {
  .dproc-body { margin-top: 44px; }
  .dproc-steps::before, .dproc-steps::after { left: 25px; top: 26px; }
  .dproc-steps::after { max-height: calc(100% - 52px); }
  .dproc-step { grid-template-columns: 52px 1fr; column-gap: 14px; }
  .dproc-step-node { width: 52px; height: 52px; border-radius: 17px; }
  .dproc-step-node svg { width: 22px; height: 22px; }
  .dproc-step-card, .dproc-step:nth-child(odd) .dproc-step-card, .dproc-step:nth-child(even) .dproc-step-card { padding: 22px 20px; border-radius: 20px; }
  .dproc-step-num, .dproc-step:nth-child(odd) .dproc-step-num, .dproc-step:nth-child(even) .dproc-step-num { top: 14px; right: 16px; transform: none; font-size: 40px; -webkit-text-stroke-width: 1.5px; }
  .dproc-step:hover .dproc-step-num { transform: none; }
  .dproc-step-title { font-size: 19px; padding-right: 48px; }
  .dproc-footer-cta { padding: 22px 20px !important; }
}

/* ─────────────────────────────────────────────
   4) SERVICES — "Perfect For" block sits at the same
   spot on every card (tech + perfect-for pinned to the
   bottom, fixed row heights) instead of jumping up/down
   ───────────────────────────────────────────── */
.svc-card-body { display: flex; flex-direction: column; }
.svc-card-desc { margin-bottom: 18px; }
.svc-reveal-divider { margin-top: auto !important; margin-bottom: 16px; }
.svc-reveal-tags { min-height: 0; align-content: flex-start; margin-bottom: 18px; }
.svc-reveal-pf {
  display: grid !important; grid-template-columns: 1fr 1fr; gap: 9px 14px;
  align-content: start; min-height: 44px;
}
.svc-reveal-pf-item { align-items: flex-start; line-height: 1.3; }
.svc-reveal-pf-item::before { margin-top: 5px; }
@media (max-width: 520px) {
  .svc-reveal-tags { min-height: 0; }
  .svc-reveal-pf { grid-template-columns: 1fr; min-height: 0; }
}

/* ==========================================================================
   Source: portfolio-zigzag.css
   ========================================================================== */
/* =============================================
   ELYVEN — PORTFOLIO ZIG-ZAG v1.0
   1. Brand logo marquee under the hero (same endless loop as homepage)
   2. Plain-language intro
   3. Zig-zag project rows — each row fills the screen
   ============================================= */

:root {
  --pz-ink: #17130e;
  --pz-mut: #5d5952;
  --pz-gold: #c99b5c;
  --pz-brown: #805c32;
  --pz-cream: #fbf8f2;
  --pz-line: rgba(23, 19, 14, 0.11);
  --pz-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─────────── 1. BRAND MARQUEE (inside hero) ─────────── */
.plh { padding-bottom: 0; }
.plh .plh-inner { padding-bottom: 56px; }
.pz-strip {
  position: relative;
  z-index: 2;
  overflow: hidden;
  height: 110px;
  display: flex;
  align-items: center;
  background: transparent;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}
.pz-strip-track {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  width: max-content;
  white-space: nowrap;
  animation: pzStrip 40s linear infinite;   /* two identical halves = seamless -50% loop */
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  will-change: transform;
}
.pz-logo-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 0 34px;               /* padding (not gap) keeps the loop seamless */
}
.pz-logo-item img {
  display: block;
  height: 38px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  pointer-events: none;
}
@keyframes pzStrip { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

/* ─────────── 2. INTRO ─────────── */
.pz-intro {
  position: relative;
  padding: 96px 0 40px;
  background: linear-gradient(180deg, #f7f1e7 0%, #fffdf8 60%, #fbf8f2 100%);
}
.pz-intro-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.pz-eyebrow {
  display: inline-block;
  font: 800 12px 'Outfit', sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pz-brown);
  margin-bottom: 14px;
}
.pz-intro-copy h2 {
  margin: 0 0 18px;
  font: 800 clamp(30px, 3.8vw, 48px)/1.08 'Outfit', sans-serif;
  letter-spacing: -0.03em;
  color: var(--pz-ink);
}
.pz-intro-copy p {
  margin: 0;
  max-width: 560px;
  font: 400 17px/1.8 'Inter', sans-serif;
  color: var(--pz-mut);
}
.pz-intro-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.pz-intro-points li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--pz-line);
  border-radius: 20px;
  box-shadow: 0 18px 40px -28px rgba(23, 19, 14, 0.4);
  font: 400 15px/1.65 'Inter', sans-serif;
  color: var(--pz-mut);
  transition: transform 0.4s var(--pz-ease), box-shadow 0.4s var(--pz-ease), border-color 0.3s;
}
.pz-intro-points li:hover {
  transform: translateX(8px);
  border-color: rgba(201, 155, 92, 0.55);
  box-shadow: 0 24px 46px -26px rgba(23, 19, 14, 0.45);
}
.pz-intro-points b {
  flex: none;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: #f4eddf;
  color: var(--pz-brown);
  font: 800 14px 'Outfit', sans-serif;
}
.pz-intro-points strong { display: block; color: var(--pz-ink); font: 700 16px 'Outfit', sans-serif; margin-bottom: 2px; }

[data-pz-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 0.9s var(--pz-ease), transform 0.9s var(--pz-ease); }
[data-pz-reveal].is-in { opacity: 1; transform: none; }
.pz-intro-points[data-pz-reveal] { transition-delay: 0.12s; }

/* ─────────── 3. ZIG-ZAG ROWS ───────────
   Same look and motion as the Services page:
   media slides in from its side · picture wipes open · slow zoom + scroll drift ·
   cursor tilt + glare · floating chips · content fades up in order */
.pz-work { background: #fbf8f2; overflow-x: clip; }
.pz-list {
  width: min(1240px, 90vw);
  margin: 0 auto;
  padding: 28px 0 56px;
  display: flex;
  flex-direction: column;
}

.pz-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 56px 0;
  border-bottom: 1px dashed var(--pz-line);
}
.pz-row:last-child { border-bottom: none; }
.pz-row--flip { flex-direction: row-reverse; }

/* media side */
.pz-media {
  flex: 1 1 46%;
  min-width: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(-70px);
  transition: opacity 0.9s var(--pz-ease), transform 0.9s var(--pz-ease);
  will-change: transform;
}
.pz-row--flip .pz-media { transform: translateX(70px); }
.pz-row.is-in .pz-media { opacity: 1; transform: none; }

.pz-thumb {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font: inherit;
  text-align: left;
}
.pz-thumb:focus-visible { outline: 3px solid var(--pa); outline-offset: 8px; border-radius: 34px; }

.pz-art {
  --rx: 0deg; --ry: 0deg; --py: 0px; --gx: 50%; --gy: 40%;
  position: relative;
  display: block;
  width: 100%;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--pz-line);
  border-radius: 32px;
  box-shadow: 0 40px 70px -34px rgba(23, 19, 14, 0.42), 0 0 0 1px var(--pz-line);
  transform: perspective(1300px) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform 0.45s var(--pz-ease), box-shadow 0.5s var(--pz-ease);
}
.pz-art::before {                       /* soft glow in the project colour, behind the card */
  content: '';
  position: absolute;
  inset: -14%;
  z-index: 0;
  background: radial-gradient(closest-side, var(--pa), transparent 72%);
  opacity: 0.28;
  filter: blur(30px);
  pointer-events: none;
  animation: pzPhotoGlow 7s ease-in-out infinite;
}
@keyframes pzPhotoGlow { 0%, 100% { transform: scale(0.96); opacity: 0.22; } 50% { transform: scale(1.06); opacity: 0.38; } }
.pz-thumb:hover .pz-art {
  transform: perspective(1300px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-6px);
  box-shadow: 0 54px 84px -34px rgba(23, 19, 14, 0.5), 0 0 0 1px var(--pa);
}

.pz-frame {
  position: relative;
  z-index: 1;
  display: block;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;                      /* same as the card, so a sub-pixel gap can never show as a dark line */
  /* wipe reveal: odd rows open from the left, even rows from the right */
  clip-path: inset(0 100% 0 0 round 24px);
  transition: clip-path 1.25s var(--pz-ease) 0.1s;
}
.pz-row--flip .pz-frame { clip-path: inset(0 0 0 100% round 24px); }
.pz-row.is-in .pz-frame { clip-path: inset(0 0 0 0 round 24px); }

.pz-frame:has(> .pz-shot) { aspect-ratio: 3 / 2; }   /* fallback preview only */
.pz-img {
  position: relative;
  display: block;
  width: calc(100% + 2px);               /* 2px overscan hides the sub-pixel seam on the right edge */
  max-width: none;
  height: auto;                          /* frame takes the picture's own ratio, so nothing is ever cropped */
  transform: scale(1.06);
  transform-origin: center;
}
.pz-row.is-in .pz-img { animation: pzImgSettle 1.7s var(--pz-ease) both; }   /* gentle zoom-out, ends at the full uncropped image */
@keyframes pzImgSettle { from { transform: scale(1.06); } to { transform: scale(1); } }

/* glare that follows the cursor */
.pz-glare {
  position: absolute;
  inset: 10px;
  z-index: 2;
  border-radius: 24px;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--gx) var(--gy), rgba(255, 255, 255, 0.5), transparent 55%);
  mix-blend-mode: soft-light;
  opacity: 0;
  transition: opacity 0.35s;
}
.pz-thumb:hover .pz-glare { opacity: 1; }

/* floating chips: pop in after the picture opens, then bob forever */
.pz-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  border: 1px solid var(--pz-line);
  box-shadow: 0 16px 30px -14px rgba(23, 19, 14, 0.45);
  font: 700 12.5px 'Inter', sans-serif;
  color: var(--pz-ink);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(16px) scale(0.82);
  transition: opacity 0.6s var(--pz-ease), transform 0.8s var(--pz-ease);
  transition-delay: calc(0.95s + var(--k) * 0.18s);
  animation: pzChipBob 5s ease-in-out infinite;
  animation-delay: calc(var(--k) * -1.4s);
}
.pz-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--pa); box-shadow: 0 0 0 4px color-mix(in srgb, var(--pa) 22%, transparent); }
.pz-row.is-in .pz-chip { opacity: 1; transform: none; }
.pz-chip--1 { left: -14px;  top: 14%; }
.pz-chip--2 { right: -14px; top: 46%; }
.pz-chip--3 { left: 12%;    bottom: -14px; }
.pz-row--flip .pz-chip--1 { left: auto; right: -14px; }
.pz-row--flip .pz-chip--2 { right: auto; left: -14px; }
.pz-row--flip .pz-chip--3 { left: auto; right: 12%; }
@keyframes pzChipBob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
.pz-thumb:hover .pz-chip { transform: translateZ(40px) scale(1.06); }

/* "View case study" pill on hover */
.pz-open {
  position: absolute;
  z-index: 4;
  right: 22px; top: 22px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--pz-ink);
  color: #fff;
  font: 700 12.5px 'Inter', sans-serif;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.35s, transform 0.45s var(--pz-ease);
  pointer-events: none;
}
.pz-open i { font-style: normal; color: var(--pz-gold); }
.pz-thumb:hover .pz-open, .pz-thumb:focus-visible .pz-open { opacity: 1; transform: none; }

/* fallback preview (only used if a thumbnail file is missing) */
.pz-shot { position: absolute; inset: 0; display: block; overflow: hidden; background: #fff; }
.pz-shot--visual { display: grid; place-items: center; padding: 22px; background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--pa) 30%, #fff), #fffdf8 70%); }
.pz-shot--visual > * { max-width: 100%; max-height: 100%; }

/* content side */
.pz-body > * {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s var(--pz-ease), transform 0.9s var(--pz-ease);
}
.pz-row.is-in .pz-body > * { opacity: 1; transform: none; }
.pz-row.is-in .pz-body > :nth-child(1) { transition-delay: 0.18s; }
.pz-row.is-in .pz-body > :nth-child(2) { transition-delay: 0.26s; }
.pz-row.is-in .pz-body > :nth-child(3) { transition-delay: 0.34s; }
.pz-row.is-in .pz-body > :nth-child(4) { transition-delay: 0.42s; }
.pz-row.is-in .pz-body > :nth-child(5) { transition-delay: 0.5s; }
.pz-row.is-in .pz-body > :nth-child(6) { transition-delay: 0.58s; }
.pz-row.is-in .pz-body > :nth-child(7) { transition-delay: 0.66s; }

.pz-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.pz-count { font: 800 13px 'Outfit', sans-serif; letter-spacing: 0.1em; color: rgba(23, 19, 14, 0.42); }
.pz-sub {
  padding: 7px 14px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--pa) 18%, #fff);
  border: 1px solid color-mix(in srgb, var(--pa) 45%, transparent);
  font: 700 11.5px 'Inter', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pz-brown);
}
.pz-title {
  margin: 0 0 12px;
  font: 800 clamp(34px, 4.4vw, 60px)/1.04 'Outfit', sans-serif;
  letter-spacing: -0.035em;
  color: var(--pz-ink);
}
.pz-tagline {
  margin: 0 0 18px;
  font: 600 clamp(17px, 1.5vw, 21px)/1.45 'Outfit', sans-serif;
  color: var(--pz-brown);
}
.pz-desc {
  margin: 0 0 22px;
  max-width: 540px;
  font: 400 16px/1.8 'Inter', sans-serif;
  color: var(--pz-mut);
}
.pz-points { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.pz-points li { display: flex; gap: 12px; align-items: flex-start; font: 500 14.5px/1.55 'Inter', sans-serif; color: var(--pz-ink); }
.pz-points li::before {
  content: '';
  flex: none;
  width: 20px; height: 20px; margin-top: 1px;
  border-radius: 50%;
  background: var(--pa) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2317130e' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3.2L15 6.8'/%3E%3C/svg%3E") center/12px no-repeat;
}
.pz-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.pz-tags span {
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--pz-line);
  font: 600 12.5px 'Inter', sans-serif;
  color: var(--pz-ink);
  transition: transform 0.25s, background 0.25s, color 0.25s;
}
.pz-tags span:hover { transform: translateY(-3px); background: var(--pz-ink); color: #fff; }

.pz-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pz-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1.5px solid var(--pz-ink);
  background: var(--pz-ink);
  color: #fff;
  font: 700 14.5px 'Inter', sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--pz-ease), box-shadow 0.25s, background 0.25s, color 0.25s, border-color 0.25s;
}
.pz-btn i { font-style: normal; transition: transform 0.3s var(--pz-ease); }
.pz-btn:hover { transform: translateY(-3px); background: var(--pz-gold); border-color: var(--pz-gold); color: var(--pz-ink); box-shadow: 0 16px 30px -12px rgba(201, 155, 92, 0.7); }
.pz-btn:hover i { transform: translateX(5px); }
.pz-btn--ghost { background: transparent; color: var(--pz-ink); border-color: rgba(23, 19, 14, 0.25); }
.pz-btn--ghost:hover i { transform: translate(3px, -3px); }

/* ─────────── Reviews on this page ─────────── */
#reviews.clients-section { background: linear-gradient(180deg, #fbf8f2 0%, #fffdf8 100%); }

/* ─────────── Responsive ─────────── */
@media (max-width: 980px) {
  .pz-intro-inner { grid-template-columns: 1fr; gap: 36px; }
  .pz-row, .pz-row--flip { flex-direction: column; align-items: stretch; gap: 30px; padding: 44px 0; }
  .pz-media, .pz-row--flip .pz-media { flex: 1 1 100%; transform: translateY(50px); }
  .pz-row.is-in .pz-media { transform: none; }
  .pz-body { flex: 1 1 100%; }
}
@media (max-width: 640px) {
  .pz-strip { height: 80px; }
  .pz-strip-track { animation-duration: 30s; }
  .pz-logo-item { padding: 0 22px; }
  .pz-logo-item img { height: 28px; max-width: 110px; }
  .pz-intro { padding: 64px 0 24px; }
  .pz-art { padding: 7px; border-radius: 24px; }
  .pz-frame, .pz-glare { border-radius: 18px; }
  .pz-frame { clip-path: inset(0 100% 0 0 round 18px); }
  .pz-row--flip .pz-frame { clip-path: inset(0 0 0 100% round 18px); }
  .pz-row.is-in .pz-frame { clip-path: inset(0 0 0 0 round 18px); }
  .pz-chip { font-size: 11.5px; padding: 7px 12px; }
  .pz-chip--1 { left: -6px; } .pz-chip--2 { right: -6px; }
  .pz-row--flip .pz-chip--1 { right: -6px; } .pz-row--flip .pz-chip--2 { left: -6px; }
  .pz-actions .pz-btn { width: 100%; justify-content: space-between; }
  .pz-open { display: none; }
}
@media (hover: none) { .pz-open { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .pz-strip-track, .pz-art::before, .pz-chip { animation: none !important; }
  .pz-media, .pz-body > *, [data-pz-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .pz-frame, .pz-row--flip .pz-frame { clip-path: none !important; transition: none !important; }
  .pz-img, .pz-row.is-in .pz-img { animation: none !important; transform: none; }
  .pz-chip { opacity: 1; transform: none; transition: none; }
}

/* built-in cover card should fill the whole thumbnail frame */
.pz-shot--visual:has(> .pf-cover) { padding: 0; }
.pz-shot--visual > .pf-cover { width: 100%; height: 100%; max-height: none; min-height: 0; aspect-ratio: auto; border-radius: 0; }
.pz-shot--visual > .pf-product-preview { width: 100%; max-width: 520px; margin: 0 auto; transform: none; }

/* =============================================================
   RESPONSIVE FIXES (work / portfolio page)
   ============================================================= */
/* the global .container loses its side padding under 480px, so give the intro + work areas their own gutter */
@media (max-width: 760px) {
  .pz-intro .container, .pz-work .container, .clients-section .container { width: calc(100% - 40px); max-width: 100%; padding-left: 0; padding-right: 0; box-sizing: border-box; }
  .pz-intro-inner .pz-intro-copy h2 { font-size: clamp(26px, 7.4vw, 34px); }
  .pz-intro-points li { padding: 16px; gap: 14px; }
  .pz-row, .pz-row--flip { padding: 34px 0; gap: 22px; }
  .pz-body h2, .pz-body h3 { overflow-wrap: break-word; }
  .pz-body p { font-size: 15px; line-height: 1.7; }
  .pz-chip { max-width: 70%; white-space: nowrap; }
}

/* tablet (641 – 980px): readable line length, media and text lined up, hero text aligned */
@media (min-width: 641px) and (max-width: 980px) {
  .pz-media, .pz-row--flip .pz-media { width: 100%; max-width: 640px; margin: 0 auto; }
  .pz-body { width: 100%; max-width: 640px; margin: 0 auto; }
  .pz-intro-inner { max-width: 720px; margin-left: auto; margin-right: auto; }
  .plh-copy { max-width: 640px; }
  .plh-sub { text-align: left; margin-left: 0; margin-right: 0; max-width: 52ch; }
  .plh-copy .plh-foot { flex-direction: row; justify-content: flex-start; align-items: center; gap: 28px; }
  .plh-copy .plh-sub { flex: 1 1 auto; }
  .plh-vis { max-width: 560px; }
}

/* phones: hero stays compact and inside the screen */
@media (max-width: 600px) {
  .plh { padding: 96px 0 44px; }
  .plh-inner { gap: 34px; }
  .plh-title { font-size: clamp(34px, 10.4vw, 46px); }
  .plh-vis { padding: 22px 0 40px; max-width: 100%; }
  .plh-win { transform: rotate(-1.4deg); }
  .plh-win-list strong { font-size: 14.5px; }
  .plh-win-list small { font-size: 11.5px; }
  .plh-tag { font-size: 9.5px; padding: 4px 9px; }
  .plh-chip { padding: 10px 14px; border-radius: 14px; }
  .plh-chip strong { font-size: 24px; }
  .pz-strip { max-width: 100vw; overflow: hidden; }
  .pz-actions { flex-direction: column; gap: 10px; }
}
@media (max-width: 360px) {
  .pz-intro .container, .pz-work .container, .clients-section .container { width: calc(100% - 28px); }
  .plh .container { width: calc(100% - 28px); }
  .plh-win-list li { gap: 8px; padding: 10px 6px; }
  .pz-chip { font-size: 10.5px; padding: 6px 10px; }
}

/* ==========================================================================
   Source: mega.css
   ========================================================================== */
/* ==========================================================================
   ELYVEN — MEGA MENU & SERVICE LANDING PAGE STYLES
   Bold Typography · Toned-down Gradients · Bidirectional Scroll Animations
   ========================================================================== */

/* ── MEGA MENU DROPDOWN ── */
.mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid var(--border, rgba(23, 19, 14, 0.1));
  box-shadow: 0 45px 80px -25px rgba(23, 19, 14, 0.35);
  clip-path: inset(0 0 100% 0);
  opacity: 0;
  pointer-events: none;
  transition: clip-path 0.42s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  z-index: 999;
}
.mega.open {
  clip-path: inset(0);
  opacity: 1;
  pointer-events: auto;
}
.site-header.mega-open {
  background: #ffffff !important;
  border-bottom-color: transparent !important;
}
.mega-in {
  display: grid;
  grid-template-columns: 310px 1fr;
  min-height: 440px;
}
.mg-l {
  padding: 24px 0;
  border-right: 1px solid var(--border, rgba(23, 19, 14, 0.1));
  background: #FAFAF8;
}
.ml {
  display: block;
  position: relative;
  padding: 12px 28px 12px 50px;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #17130E;
  text-decoration: none;
  transition: color 0.2s, padding 0.25s, background 0.2s;
}
.ml::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: #C99B5C;
  transform: scale(0);
  transition: transform 0.25s ease;
}
.ml.on {
  font-weight: 700;
  padding-left: 56px;
  color: #17130E;
  background: #ffffff;
}
.ml.on::before {
  transform: scale(1);
}
.mg-stack {
  display: grid;
  background: #ffffff;
}
.mg-p {
  grid-area: 1/1;
  display: grid;
  grid-template-columns: 1fr 400px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s, visibility 0s 0.25s;
}
.mg-p.on {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.3s ease;
}
.mg-m {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 36px;
  padding: 38px 46px;
  align-content: start;
}
.mg-m a {
  text-decoration: none;
  color: #17130E;
  opacity: 0;
  transform: translateY(12px);
  transition: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.mg-p.on .mg-m a {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--j) * 45ms);
}
.mg-m b {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #17130E;
  transition: color 0.2s;
}
.mg-m a:hover b {
  color: hsl(var(--h), 75%, 40%);
}
.mg-m span {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 1.55;
  color: #646460;
  font-weight: 400;
}
.mg-r {
  background: #F7F5F0;
  padding: 36px 30px;
  border-left: 1px solid var(--border, rgba(23, 19, 14, 0.08));
}
.mg-r small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #8c887b;
  margin-bottom: 14px;
}
.mg-r ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(108px, 1fr));
  gap: 9px 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  color: #17130E;
}
.mg-r ul li {
  position: relative;
  padding-left: 13px;
  line-height: 1.35;
}
.mg-r ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #C99B5C;
  flex-shrink: 0;
}

/* ── MOBILE SERVICES ACCORDION & CHEVRON ── */
.nav-services-chevron {
  display: none;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  margin-left: 6px;
  vertical-align: middle;
  opacity: 0.65;
}
.nav-mobile-services {
  display: none;
}

@media (max-width: 960px) {
  .mega { display: none !important; }

  /* "Services" text and the little arrow now sit side by side: tapping the
     word goes straight to the services page, tapping the arrow expands
     the list in place. */
  .nav li.nav-services-li {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
  }
  .nav li.nav-services-li > a.nav-link {
    flex: 1 1 auto !important;
  }
  .nav-mobile-services {
    flex-basis: 100% !important;
    width: 100% !important;
  }

  .nav-services-chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-left: 4px;
    border-radius: 50%;
    border: none;
    background: rgba(23, 19, 14, 0.05);
    color: #17130E;
    cursor: pointer;
    flex: none;
  }
  .nav-services-chevron:active {
    background: rgba(201, 155, 92, 0.18);
  }
  .nav li.nms-open .nav-services-chevron {
    transform: rotate(180deg);
    opacity: 1;
    color: #C99B5C;
  }
  .nav li.nms-open > a {
    color: #C99B5C !important;
  }
  .nav-mobile-services {
    display: block;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.38s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease, margin 0.25s ease;
    margin: 0;
  }
  .nav li.nms-open .nav-mobile-services {
    max-height: 600px;
    opacity: 1;
    margin: 8px 0 14px;
    overflow-y: auto;
  }
  .nms-list {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 10px 10px 10px 14px;
    background: rgba(23, 19, 14, 0.04);
    border-radius: 14px;
    border-left: 3px solid #C99B5C;
    margin-left: 10px;
  }
  .nms-item {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 10px 12px !important;
    border-radius: 10px !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #2b2723 !important;
    text-decoration: none !important;
    line-height: 1.35 !important;
    background: transparent !important;
    transition: background 0.18s, color 0.18s, transform 0.18s !important;
  }
  .nms-item:active, .nms-item:hover {
    background: rgba(201, 155, 92, 0.12) !important;
    color: #C99B5C !important;
    transform: translateX(3px);
  }
  .nms-item.on {
    color: #C99B5C !important;
    font-weight: 700 !important;
    background: rgba(201, 155, 92, 0.14) !important;
  }
  .nms-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #C99B5C;
    flex-shrink: 0;
    opacity: 0.6;
    transition: transform 0.2s, opacity 0.2s;
  }
  .nms-item.on .nms-dot {
    opacity: 1;
    transform: scale(1.4);
    box-shadow: 0 0 6px rgba(201, 155, 92, 0.6);
  }
  .nms-title {
    flex: 1;
  }
  .nms-all {
    margin-top: 4px;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    color: #C99B5C !important;
    padding-top: 9px !important;
    border-top: 1px dashed rgba(23, 19, 14, 0.12) !important;
    letter-spacing: 0.02em;
  }
}


/* Link to the full Services page inside the mega dropdown */
.mg-all { display:block; margin-top:10px; padding:12px 16px; border-radius:12px; font:700 14px 'Outfit',sans-serif; text-decoration:none; color:#17130E; background:rgba(201,155,92,.18); transition:background .2s, transform .2s; }
.mg-all:hover { background:rgba(201,155,92,.32); transform:translateX(3px); }

/* ── Services popup: light, transparent glass background ── */
.mega {
  background: rgba(255, 255, 255, 0.78) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
          backdrop-filter: blur(16px) saturate(1.15);
}
.mg-stack, .mg-p { background: transparent !important; }

/* ==========================================================================
   Source: shared.css
   ========================================================================== */
/* =============================================================
   SHARED — navbar + CTA ("Start a Project") used on every page
   Lightweight: no infinite animations on the CTA, entrance and
   hover transitions only, so scrolling stays smooth.
   ============================================================= */

/* ── NAVBAR: white pill shape, see-through frosted-glass background ── */
.site-header,
.site-header.scrolled {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}
.site-header::after { content: none !important; }

.header-inner {
  background: rgba(255,255,255,.55) !important;
  border: 1px solid rgba(255,255,255,.75) !important;
  border-radius: 999px !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  box-shadow: 0 8px 28px rgba(23,19,14,.08), inset 0 1px 0 rgba(255,255,255,.85) !important;
}
.site-header.scrolled .header-inner {
  background: rgba(255,255,255,.68) !important;
  box-shadow: 0 10px 32px rgba(23,19,14,.11), inset 0 1px 0 rgba(255,255,255,.9) !important;
}
@media (max-width: 768px) {
  .site-header.scrolled { background: transparent !important; }
  .site-header.scrolled .header-inner {
    background: rgba(255,255,255,.72) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
  }
}

/* ── CTA SECTION: static look, one-time staggered entrance, simple hovers ── */
.sap-pattern, .sap-glow-1, .sap-badge-dot, .sap-title em,
.sap-btn-primary, .sap-btn-primary svg { animation: none !important; }

.sap-inner { isolation: isolate; }
.sap-badge { display: flex; width: fit-content; margin-left: auto; margin-right: auto; }
.sap-eyebrow { display: flex; justify-content: center; }

.sap-inner:not([data-fx]) > * { opacity: 0; transform: translateY(22px); }
.sap-inner.sap-in:not([data-fx]) > * {
  opacity: 1; transform: none;
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}
.sap-inner.sap-in:not([data-fx]) > :nth-child(1) { transition-delay: .05s; }
.sap-inner.sap-in:not([data-fx]) > :nth-child(2) { transition-delay: .12s; }
.sap-inner.sap-in:not([data-fx]) > :nth-child(3) { transition-delay: .19s; }
.sap-inner.sap-in:not([data-fx]) > :nth-child(4) { transition-delay: .26s; }
.sap-inner.sap-in:not([data-fx]) > :nth-child(5) { transition-delay: .33s; }
.sap-inner.sap-in:not([data-fx]) > :nth-child(6) { transition-delay: .40s; }

.sap-title em { color: #C99B5C; }

/* buttons: plain hover only (lift + colour), no shimmer / pulse / magnet */
.sap-btn-primary, .dproc-cta-btn, .sap-btn-secondary {
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
}
.sap-btn-primary:hover { background: #C99B5C !important; border-color: #C99B5C !important; color: #17130E !important; transform: translateY(-3px); box-shadow: 0 12px 26px rgba(23,19,14,.16); }
.sap-btn-secondary:hover { border-color: #C99B5C; background: rgba(201,155,92,.14); transform: translateY(-3px); }
.dproc-cta-btn:hover { background: #C99B5C !important; color: #17130E !important; }

/* ── FOOTER: "View all …" buttons under Services / Technologies ── */
.footer-viewall {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px; padding: 9px 16px; white-space: nowrap; align-self: flex-start;
  font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .02em;
  color: #E6C48B !important; text-decoration: none;
  background: rgba(201,155,92,.10); border: 1px solid rgba(201,155,92,.34);
  border-radius: 999px;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.footer-viewall svg { flex-shrink: 0; transition: transform .25s ease; }
.footer-viewall:hover { background: #C99B5C; border-color: #C99B5C; color: #17130E !important; transform: translateY(-2px); }
.footer-viewall:hover svg { transform: translateX(3px); }
#technology { scroll-margin-top: 20px; }

/* ── Service names are links to their own service page ── */
a.cap-item { text-decoration: none; color: #17130E; cursor: pointer; }
.svc-card-title .svc-title-link { color: inherit; text-decoration: none; }
.svc-card-title .svc-title-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-links-list a[href^="service.html"] { text-decoration: none; }


/* ── NAVBAR: smaller gap from the top (desktop) ── */
@media (min-width: 769px) {
  .site-header { padding-top: 10px !important; }
}

/* ── NAVBAR: transparent glass background (all screen sizes, scrolled or not) ── */
.site-header .header-inner,
.site-header.scrolled .header-inner {
  background: rgba(255,255,255,.14) !important;
  border: 1px solid rgba(23,19,14,.09) !important;
  backdrop-filter: blur(18px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(160%) !important;
  box-shadow: 0 6px 22px rgba(23,19,14,.06) !important;
}

/* ── BRAND-STRIP MARQUEE wrapper (used on pages where the strip isn't part of a hero) ── */
.svc-brand-wrap { position: relative; height: 86px; }
@media (max-width: 860px) { .svc-brand-wrap { height: 60px; } }

/* ── MAILTO TOAST — confirms the "Email Us Directly" style buttons worked,
   even on devices/browsers with no default mail client configured ── */
.mailto-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(16px);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #17130E;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  padding: 13px 20px;
  border-radius: 999px;
  box-shadow: 0 16px 36px rgba(23,19,14,.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
  max-width: calc(100vw - 32px);
  text-align: center;
}
.mailto-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.mailto-toast svg { flex-shrink: 0; color: #C99B5C; }


/* ===== Inline field errors (drawer forms + contact form) ===== */
.ep-err-msg {
  display: flex; align-items: flex-start; gap: 6px; margin: 2px 0 0; font: 600 12.5px/1.4 'Inter', sans-serif; color: #ff8f8f;
  animation: epErrIn .28s ease both;
}
.ep-err-msg::before {
  content: '!'; flex: none; width: 15px; height: 15px; margin-top: 1px; border-radius: 50%; background: #ff6b6b; color: #170b0b;
  font: 800 10px/15px 'Inter', sans-serif; text-align: center;
}
@keyframes epErrIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.ep-shake { animation: epNudge .36s ease; }
@keyframes epNudge { 20% { transform: translateX(-5px); } 45% { transform: translateX(5px); } 70% { transform: translateX(-3px); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .ep-shake, .ep-err-msg { animation: none; } }

/* ==========================================================================
   Source: eli-avatar.css
   ========================================================================== */
/* ══════════════════════════════════════════════════════════════
   ELY — funny site guide avatar  (v2 · dark theme)
   Dark body + glowing gold/cream eyes & mouth, thought-bubble chat,
   floating "z" bubbles, dizzy stars, confetti, sweat, steam.
   ══════════════════════════════════════════════════════════════ */

#eli-root {
  position: fixed;
  top: 0;
  left: 0;
  width: 84px;
  height: 84px;
  z-index: 2147480;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  will-change: transform;
  opacity: 0;
  transform-origin: 50% 82%;
  pointer-events: none;
  --eli-glow: rgba(201, 155, 92, .38);
}
#eli-root.eli-ready { opacity: 1; }
#eli-root.eli-hidden { display: none !important; }
/* only the round head is clickable/draggable (empty corners never block the page) */
#eli-hit {
  position: absolute;
  left: 15%;
  top: 15%;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  pointer-events: none;
  cursor: grab;
  touch-action: none;
}
#eli-root.eli-interactive #eli-hit { pointer-events: auto; }
#eli-root.eli-dragging #eli-hit { cursor: grabbing; }

#eli-stage {
  position: relative;
  width: 100%;
  height: 100%;
}

#eli-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  filter: drop-shadow(0 0 14px var(--eli-glow)) drop-shadow(0 6px 10px rgba(0, 0, 0, .45));
  transition: filter .6s ease;
}

#eli-shadow {
  position: absolute;
  left: 50%;
  bottom: 9px;
  width: 72px;
  height: 15px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, .42) 0%, rgba(0, 0, 0, 0) 72%);
  border-radius: 50%;
  pointer-events: none;
  transition: opacity .25s ease;
}

/* ── pulse ring (typing in a form) ── */
.eli-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(255, 210, 122, .65);
  opacity: 0;
  pointer-events: none;
}
.eli-pulse.eli-pulse-run { animation: eli-pulse-anim .9s ease-out; }
@keyframes eli-pulse-anim {
  0%   { opacity: .8; transform: scale(.82); }
  100% { opacity: 0;  transform: scale(1.25); }
}

/* ── sleeping "z" bubbles that come out of the mouth and drift away ── */
.eli-z {
  position: absolute;
  left: 56%;
  top: 56%;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 800 14px/1 'Inter', ui-sans-serif, system-ui, sans-serif;
  color: #3A2A12;
  background: #FFF6E3;
  border: 1px solid rgba(201, 155, 92, .55);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .35), 0 0 12px rgba(255, 210, 122, .35);
  pointer-events: none;
  opacity: 0;
  animation: eli-z-float 3.1s ease-in-out forwards;
}
.eli-z::after {
  content: "";
  position: absolute;
  left: -7px;
  bottom: -5px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FFF6E3;
  border: 1px solid rgba(201, 155, 92, .55);
}
.eli-z.eli-z-md { width: 32px; height: 32px; font-size: 17px; }
.eli-z.eli-z-lg { width: 40px; height: 40px; font-size: 21px; }
@keyframes eli-z-float {
  0%   { opacity: 0; transform: translate(0, 8px) scale(.4) rotate(-8deg); }
  15%  { opacity: 1; transform: translate(6px, -4px) scale(.9) rotate(-4deg); }
  55%  { opacity: 1; transform: translate(22px, -34px) scale(1.05) rotate(6deg); }
  100% { opacity: 0; transform: translate(40px, -70px) scale(1.15) rotate(10deg); }
}

/* ── dizzy stars ── */
.eli-stars {
  position: absolute;
  left: 50%;
  top: 6px;
  width: 0;
  height: 0;
  pointer-events: none;
}
.eli-stars i {
  position: absolute;
  left: -8px;
  top: -8px;
  width: 16px;
  height: 16px;
  color: #FFD27A;
  font-style: normal;
  font-size: 16px;
  line-height: 16px;
  text-align: center;
  text-shadow: 0 0 8px rgba(255, 210, 122, .8);
  animation: eli-star-orbit 1.1s linear infinite;
}
.eli-stars i:nth-child(2) { animation-delay: -.37s; }
.eli-stars i:nth-child(3) { animation-delay: -.74s; }
@keyframes eli-star-orbit {
  0%   { transform: translate(-42px, 0) scale(.8); opacity: .6; }
  25%  { transform: translate(0, 10px) scale(1.15); opacity: 1; }
  50%  { transform: translate(42px, 0) scale(.8); opacity: .6; }
  75%  { transform: translate(0, -10px) scale(.6); opacity: .35; }
  100% { transform: translate(-42px, 0) scale(.8); opacity: .6; }
}

/* ── sweat drop ── */
.eli-sweat {
  position: absolute;
  right: 22%;
  top: 22%;
  width: 11px;
  height: 16px;
  background: linear-gradient(180deg, #CFE8FF, #6FB4FF);
  border-radius: 60% 60% 70% 70% / 35% 35% 65% 65%;
  pointer-events: none;
  animation: eli-sweat-fall 1.3s ease-in forwards;
  box-shadow: 0 0 8px rgba(111, 180, 255, .55);
}
@keyframes eli-sweat-fall {
  0%   { opacity: 0; transform: translateY(-4px) scale(.5); }
  20%  { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(42px) scale(.9); }
}

/* ── angry steam puffs ── */
.eli-steam {
  position: absolute;
  top: 8%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(190, 182, 176, .65), rgba(120, 112, 108, 0) 70%);
  filter: blur(2px);
  pointer-events: none;
  animation: eli-steam-up 1s ease-out forwards;
}
@keyframes eli-steam-up {
  0%   { opacity: .9; transform: translateY(6px) scale(.5); }
  100% { opacity: 0;  transform: translateY(-46px) scale(1.7); }
}

/* ── hearts / sparkles (happy bursts) ── */
.eli-spark {
  position: absolute;
  left: 50%;
  top: 40%;
  font-size: 18px;
  pointer-events: none;
  animation: eli-spark-fly 1.2s ease-out forwards;
  text-shadow: 0 0 10px rgba(255, 210, 122, .8);
}
@keyframes eli-spark-fly {
  0%   { opacity: 0; transform: translate(0, 0) scale(.4); }
  15%  { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--sx, 30px), var(--sy, -60px)) scale(1.2) rotate(var(--sr, 20deg)); }
}

/* ── confetti (full-page celebration) ── */
.eli-confetti {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 14px;
  z-index: 2147479;
  pointer-events: none;
  will-change: transform, opacity;
  border-radius: 2px;
}

/* ══════════ bubble (thought-cloud chat) ══════════ */
.eli-bubble {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2147481;
  width: max-content;
  max-width: min(272px, calc(100vw - 24px));
  pointer-events: none;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  will-change: transform;
}
.eli-bubble.eli-open { pointer-events: auto; }
.eli-card {
  position: relative;
  background: #FFF8EA;
  color: #1B1826;
  border: 1px solid rgba(201, 155, 92, .55);
  border-radius: 24px 24px 24px 24px;
  padding: 13px 14px 12px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .45), 0 0 0 3px rgba(255, 210, 122, .10), 0 0 28px rgba(255, 210, 122, .18);
  opacity: 0;
  transform: scale(.72) translateY(10px);
  transform-origin: var(--ox, 20%) var(--oy, 100%);
  transition: opacity .22s ease, transform .34s cubic-bezier(.2, 1.5, .4, 1);
}
.eli-bubble.eli-open .eli-card { opacity: 1; transform: scale(1) translateY(0); }

/* clean speech-bubble tail (replaces the old dotted trail that sat on top of Ely's head) */
.eli-trail { display: none !important; }
.eli-card::after {
  content: "";
  position: absolute;
  left: calc(var(--ox, 40px) - 8px);
  width: 16px;
  height: 16px;
  background: #FFF8EA;
  border: 1px solid rgba(201, 155, 92, .55);
  transform: rotate(45deg);
  z-index: -1;
  pointer-events: none;
}
.eli-bubble[data-tail="bottom"] .eli-card::after { bottom: -8px; border-top: 0; border-left: 0; border-radius: 0 0 6px 0; }
.eli-bubble[data-tail="top"] .eli-card::after { top: -8px; border-bottom: 0; border-right: 0; border-radius: 6px 0 0 0; }
/* the chat bubble keeps one fixed width so it never reflows while Ely types */
.eli-chat { width: min(272px, calc(100vw - 24px)); }
/* options are laid out from the start (so the bubble has its final size) but stay hidden until typing ends */
.eli-opts.eli-wait .eli-opt { animation: none; opacity: 0; transform: translateY(6px); pointer-events: none; }

.eli-head-row { display: flex; align-items: center; justify-content: space-between; margin: 0 0 6px; }
.eli-tag {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #A8762F;
}
.eli-x {
  appearance: none;
  border: 0;
  background: rgba(27, 24, 38, .07);
  color: #1B1826;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.eli-x:hover { background: rgba(27, 24, 38, .16); }
.eli-q { font-size: 14.5px; font-weight: 700; line-height: 1.35; margin: 0 0 10px; min-height: 20px; }
.eli-q::after { content: ""; display: inline-block; width: 2px; height: 1em; background: #A8762F; margin-left: 2px; vertical-align: -2px; animation: eli-caret .7s steps(1) infinite; opacity: 0; }
.eli-q.eli-typing::after { opacity: 1; }
@keyframes eli-caret { 50% { opacity: 0; } }

.eli-opts { display: flex; flex-direction: column; gap: 6px; }
.eli-opt {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  background: #1B1826;
  border: 1px solid #1B1826;
  color: #FFF1CF;
  font: 600 13px/1.25 'Inter', ui-sans-serif, system-ui, sans-serif;
  text-align: left;
  padding: 9px 12px;
  border-radius: 14px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(6px);
  animation: eli-opt-in .34s cubic-bezier(.2, 1.3, .4, 1) forwards;
  transition: background .18s ease, border-color .18s ease, color .18s ease, translate .18s ease;
}
.eli-opt:hover, .eli-opt:focus-visible {
  background: #FFD27A;
  border-color: #FFD27A;
  color: #1B1826;
  translate: 3px 0;
  outline: none;
}
.eli-opt svg { flex: none; opacity: .7; }
@keyframes eli-opt-in { to { opacity: 1; transform: none; } }
.eli-more {
  appearance: none;
  background: none;
  border: 0;
  margin: 9px 0 0 2px;
  padding: 0;
  font: 700 11.5px/1 'Inter', ui-sans-serif, system-ui, sans-serif;
  color: #A8762F;
  cursor: pointer;
}
.eli-more:hover { text-decoration: underline; }

/* small one-liner / two-liner bubble (reactions / guides / greetings) */
.eli-say { max-width: min(300px, calc(100vw - 24px)); }
.eli-say .eli-card { padding: 11px 15px; border-radius: 20px; }
.eli-say .eli-line { font-size: 13.5px; font-weight: 600; line-height: 1.38; white-space: pre-line; }

@media (max-width: 680px) {
  #eli-root { width: 66px; height: 66px; }
  .eli-z { width: 22px; height: 22px; font-size: 12px; }
  .eli-z.eli-z-md { width: 27px; height: 27px; font-size: 14px; }
  .eli-z.eli-z-lg { width: 33px; height: 33px; font-size: 17px; }
  .eli-q { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .eli-z, .eli-stars i, .eli-sweat, .eli-steam, .eli-spark, .eli-pulse.eli-pulse-run { animation-duration: .01s !important; }
}


/* phones / tablets: a finger is bigger than a cursor, so the whole round body is the tap target
   (a tap near his edge no longer falls through to the button underneath) */
@media (pointer: coarse) {
  #eli-hit { left: 0; top: 0; width: 100%; height: 100%; }
}
#eli-root, #eli-hit { -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; }

/* ═══════════════════════════════════════════════════════════════════
   PORTFOLIO ENHANCEMENTS — Tech tags under thumbnail & Mockup Window
   ═══════════════════════════════════════════════════════════════════ */

/* Tech stack tags strictly under thumbnail */
.pz-media-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  justify-content: flex-start;
}
.pz-row--flip .pz-media-tags {
  justify-content: flex-start;
}
.pz-media-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(23, 19, 14, 0.1);
  font: 600 12px/1.3 'Inter', sans-serif;
  color: var(--pz-ink, #17130e);
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px rgba(23, 19, 14, 0.04);
  transition: transform 0.25s, background 0.25s, color 0.25s, border-color 0.25s;
}
.pz-media-tag:hover {
  transform: translateY(-2px);
  background: var(--pz-ink, #17130e);
  border-color: var(--pz-ink, #17130e);
  color: #fff;
}
@media (max-width: 900px) {
  .pz-media-tags {
    margin-top: 14px;
    justify-content: center;
  }
}

/* Detail overlay stats bar (Salasa OMS luxury style) */
.pf-detail-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 36px 0 44px;
  padding: 24px 28px;
  border-radius: 20px;
  background: #14110E;
  border: 1px solid rgba(201, 155, 92, 0.25);
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.4);
}
.pf-dstat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pf-dstat-num {
  font: 800 clamp(22px, 2.6vw, 32px)/1.1 'Outfit', sans-serif;
  color: #C99B5C;
  letter-spacing: -0.02em;
}
.pf-dstat-label {
  font: 500 13px/1.3 'Inter', sans-serif;
  color: rgba(255, 255, 255, 0.65);
}
@media (max-width: 768px) {
  .pf-detail-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 14px;
    padding: 20px;
  }
}

/* Browser mockup window frame for showcase previews & process screenshots */
.pf-mock-window {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #120F0D;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.pf-mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.pf-mock-bar i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}
.pf-mock-bar i:nth-child(1) { background: #FF5F56; }
.pf-mock-bar i:nth-child(2) { background: #FFBD2E; }
.pf-mock-bar i:nth-child(3) { background: #27C93F; }
.pf-mock-bar span {
  margin-left: 8px;
  font: 600 11px/1 'JetBrains Mono', monospace;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pf-mock-body {
  position: relative;
  background: #000;
  line-height: 0;
}
.pf-mock-body img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.pf-mock-window--sm {
  border-radius: 14px;
  box-shadow: 0 16px 40px -14px rgba(0, 0, 0, 0.35);
}
.pf-mock-window--sm .pf-mock-bar {
  padding: 8px 12px;
}
