/* ═══════════════════════════════════════════
   PORTFOLIO REDESIGN - PREMIUM MODERN STYLES
   Inspired by Apple, Framer, and Netflix
   ═══════════════════════════════════════════ */

:root {
  --glow-color: rgba(45, 212, 191, 0.15);
  --accent-teal: #2dd4bf;
  --accent-cyan: #39d0ff;
  --bg-dark: #070b12;
  --bg-glass: rgba(13, 20, 35, 0.6);
  --border-glass: rgba(255, 255, 255, 0.08);
}

/* Base sections container */
.portfolio-redesign-container {
  background-color: var(--bg-dark);
  color: #fff;
  font-family: 'Poppins', 'Cairo', sans-serif;
  overflow: hidden;
}

/* ─────────────────────────────────
   HERO PROJECT SECTION
   ───────────────────────────────── */
.portfolio-hero-section {
  position: relative;
  width: 100%;
  height: 90vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
  border-bottom: 1px solid var(--border-glass);
}

.portfolio-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.portfolio-hero-bg img,
.portfolio-hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: brightness(0.4) contrast(1.05);
  transition: transform 12s ease;
}

.portfolio-hero-section:hover .portfolio-hero-bg img {
  transform: scale(1.08);
}

.portfolio-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(7, 11, 18, 0) 40%, rgba(7, 11, 18, 0.95) 95%);
  z-index: 2;
  pointer-events: none;
}

.portfolio-hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 900px;
  padding: 40px;
  margin-bottom: 60px;
  text-align: left;
}

.portfolio-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(45, 212, 191, 0.15);
  border: 1px solid rgba(45, 212, 191, 0.3);
  border-radius: 100px;
  color: var(--accent-teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.portfolio-hero-title {
  font-family: 'Syne', 'Cairo', sans-serif;
  font-size: clamp(32px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 15px;
  letter-spacing: -0.02em;
}

.portfolio-hero-desc {
  font-size: clamp(16px, 2vw, 22px);
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 30px;
  font-weight: 400;
  max-width: 700px;
  line-height: 1.65;
}

.portfolio-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 35px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.portfolio-hero-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.portfolio-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  background: #fff;
  color: #000;
  border-radius: 100px;
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
  transition: transform 0.25s, box-shadow 0.25s, background-color 0.25s;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.portfolio-hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(255, 255, 255, 0.2);
  background-color: var(--accent-teal);
  color: #000;
}

/* ─────────────────────────────────
   STAT COUNTER STRIP
   ───────────────────────────────── */
.portfolio-stats-strip {
  position: relative;
  z-index: 10;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  padding: 40px 0;
  margin-bottom: 100px;
}

.portfolio-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}

.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 20%;
  right: 0;
  width: 1px;
  height: 60%;
  background: var(--border-glass);
}

@media (max-width: 768px) {
  .stat-item:not(:last-child)::after {
    display: none;
  }
}

.stat-number {
  font-family: 'Syne', sans-serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ─────────────────────────────────
   SECTION HEADERS
   ───────────────────────────────── */
.portfolio-sec-header {
  margin-bottom: 40px;
  padding: 0 40px;
}

.portfolio-sec-subtitle {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-teal);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: 10px;
  display: block;
}

.portfolio-sec-title {
  font-family: 'Syne', 'Cairo', sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* ─────────────────────────────────
   HORIZONTAL PROJECT CARDS
   ───────────────────────────────── */
.portfolio-horizontal-cards {
  padding: 0 40px;
  margin-bottom: 120px;
}

.portfolio-h-card {
  display: flex;
  flex-direction: row;
  min-height: 480px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 60px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.portfolio-h-card:hover {
  border-color: rgba(45, 212, 191, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transform: translateY(-4px);
}

.portfolio-h-media {
  flex: 1.2;
  position: relative;
  overflow: hidden;
  min-height: 320px;
}

.portfolio-h-media img,
.portfolio-h-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.portfolio-h-card:hover .portfolio-h-media img {
  transform: scale(1.05);
}

.portfolio-h-info {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(90deg, rgba(13, 20, 35, 0.4) 0%, rgba(7, 11, 18, 0.2) 100%);
}

.portfolio-h-tag-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.portfolio-h-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 100px;
}

.portfolio-h-tag.gov {
  background: rgba(45, 212, 191, 0.12);
  color: var(--accent-teal);
  border: 1px solid rgba(45, 212, 191, 0.24);
}

.portfolio-h-tag.commercial {
  background: rgba(57, 208, 255, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(57, 208, 255, 0.24);
}

.portfolio-h-tag.personal {
  background: rgba(167, 139, 250, 0.12);
  color: #a78bfa;
  border: 1px solid rgba(167, 139, 250, 0.24);
}

.portfolio-h-tag.award {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.24);
}

.portfolio-h-title {
  font-family: 'Syne', 'Cairo', sans-serif;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}

.portfolio-h-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 25px;
  line-height: 1.75;
}

.portfolio-h-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  border-top: 1px solid var(--border-glass);
  padding-top: 25px;
  margin-bottom: 30px;
}

.portfolio-h-meta-item {
  font-size: 12px;
}

.portfolio-h-meta-label {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 4px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.portfolio-h-meta-val {
  color: #fff;
  font-weight: 600;
}

.portfolio-h-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-teal);
  text-decoration: none;
  transition: transform 0.2s, color 0.2s;
  align-self: flex-start;
}

.portfolio-h-btn i {
  transition: transform 0.2s;
}

.portfolio-h-card:hover .portfolio-h-btn i {
  transform: translateX(4px);
}

.portfolio-h-card:hover .portfolio-h-btn {
  color: #fff;
}

@media (max-width: 991px) {
  .portfolio-h-card {
    flex-direction: column;
  }
  .portfolio-h-media {
    min-height: 280px;
  }
}

/* ─────────────────────────────────
   NETFLIX CAROUSEL ROW
   ───────────────────────────────── */
.portfolio-netflix-row {
  margin-bottom: 100px;
  position: relative;
}

.netflix-swiper-container {
  width: 100%;
  padding: 10px 40px 30px 40px !important;
  overflow: visible !important;
}

.netflix-slide {
  width: 320px;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  position: relative;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s;
}

.netflix-slide:hover {
  transform: scale(1.05) translateY(-5px);
  z-index: 10;
  border-color: var(--accent-teal);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.netflix-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65);
  transition: filter 0.3s;
}

.netflix-slide:hover .netflix-slide-img {
  filter: brightness(0.85);
}

.netflix-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(7, 11, 18, 0.9) 0%, rgba(7, 11, 18, 0) 60%);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 2;
}

.netflix-slide-title {
  font-family: 'Syne', 'Cairo', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.netflix-slide-meta {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

/* Swiper navigation tweaks */
.swiper-button-next,
.swiper-button-prev {
  color: #fff !important;
  background: rgba(13, 20, 35, 0.7);
  width: 44px !important;
  height: 44px !important;
  border-radius: 50%;
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  transition: transform 0.2s, background-color 0.2s;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 16px !important;
  font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: var(--accent-teal);
  color: #000 !important;
  transform: scale(1.1);
}

.swiper-button-prev {
  left: 10px !important;
}

.swiper-button-next {
  right: 10px !important;
}

/* ─────────────────────────────────
   CURRENTLY BUILDING SECTION
   ───────────────────────────────── */
.portfolio-building-section {
  padding: 0 40px;
  margin-bottom: 120px;
}

.building-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.building-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 30px;
  text-decoration: none;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  display: block;
}

.building-card:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 15px 35px rgba(57, 208, 255, 0.15);
  transform: translateY(-4px);
}

.building-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(57, 208, 255, 0.12);
  border: 1px solid rgba(57, 208, 255, 0.24);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
}

.building-card:hover .building-icon {
  background: var(--accent-cyan);
  color: #000;
}

.building-title {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.building-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

/* ─────────────────────────────────
   TIMELINE SECTION
   ───────────────────────────────── */
.portfolio-timeline-section {
  padding: 0 40px;
  margin-bottom: 80px;
  display:none;
}

.timeline-wrap {
  position: relative;
  max-width: 800px;
  margin: 40px auto 0 auto;
  padding-left: 30px;
}

.timeline-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 6px;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-teal), var(--accent-cyan));
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-dot {
  position: absolute;
  top: 6px;
  left: -29px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 3px solid var(--accent-teal);
  box-shadow: 0 0 10px var(--accent-teal);
}

.timeline-item:nth-child(even) .timeline-dot {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
}

.timeline-year {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 5px;
}

.timeline-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-teal);
  margin-bottom: 6px;
}

.timeline-item:nth-child(even) .timeline-title {
  color: var(--accent-cyan);
}

.timeline-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
}

/* ─────────────────────────────────
   PREMIUM BOTTOM CTA
   ───────────────────────────────── */
.portfolio-cta-section {
  padding: 100px 40px;
  text-align: center;
  background: radial-gradient(circle at center, rgba(45, 212, 191, 0.08) 0%, transparent 70%);
  border-top: 1px solid var(--border-glass);
}

.portfolio-cta-title {
  font-family: 'Syne', 'Cairo', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 15px;
}

.portfolio-cta-subtitle {
  font-size: clamp(14px, 1.8vw, 18px);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 35px;
  font-weight: 500;
}

.portfolio-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 40px;
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-cyan));
  color: #000;
  border-radius: 100px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(45, 212, 191, 0.25);
  transition: transform 0.25s, box-shadow 0.25s;
}

.portfolio-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(45, 212, 191, 0.4);
  color: #000;
}

/* ─────────────────────────────────
   CLASS ARCHIVE MASONRY GRID
   ───────────────────────────────── */
.portfolio-archive-grid {
  display: none; /* Shown only when a category pill is selected */
  padding: 0 40px;
  margin-bottom: 60px;
}

.portfolio-archive-grid.active {
  display: block;
}

/* Transition utility */
.redesign-fade-in {
  animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* ─────────────────────────────────
   INLINE STYLES MIGRATION
   ───────────────────────────────── */
.ph-caption-description {
  max-width: 650px !important;
  margin-top: 20px !important;
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
}

.ph-meta {
  margin-top: 25px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  padding-top: 20px !important;
  max-width: 650px !important;
}

.ph-meta-item {
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
  color: var(--accent-teal) !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 15px !important;
  align-items: center !important;
}

.ph-meta-item span.ph-meta-cats {
  color: rgba(255, 255, 255, 0.78) !important;
}

.pf-filter-outer {
  border: none !important;
  background: transparent !important;
  margin-bottom: 20px !important;
  padding: 40px 40px 10px 40px !important;
}

.pf-filter-bar {
  justify-content: center !important;
  padding-right: 0 !important;
  gap: 12px !important;
}

.pf-filter-label {
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 12px !important;
}

#no-results-msg {
  width: 100% !important;
  text-align: center !important;
  padding: 40px 0 !important;
  display: none !important;
}

#no-results-msg i {
  font-size: 36px !important;
  opacity: 0.3 !important;
  display: block !important;
  margin-bottom: 15px !important;
}

#no-results-msg p {
  color: rgba(255, 255, 255, 0.75) !important;
}


/* ═══════════════════════════════════════════
   LIGHT MODE OVERRIDES
   body.tt-light-style-on — covers all portfolio redesign components
   ═══════════════════════════════════════════ */

/* ── CSS variable overrides for light mode ── */
body.tt-light-style-on {
  --bg-dark: #f4f6f9;
  --bg-glass: rgba(255, 255, 255, 0.75);
  --border-glass: rgba(19, 39, 70, 0.1);
  --glow-color: rgba(45, 212, 191, 0.08);
}

/* ── Base container ── */
body.tt-light-style-on .portfolio-redesign-container {
  background-color: #f4f6f9;
  color: #132746;
}

/* ── Hero Section ── */
body.tt-light-style-on .portfolio-hero-overlay {
  background: linear-gradient(180deg, rgba(244, 246, 249, 0) 30%, rgba(244, 246, 249, 0.85) 90%);
}

body.tt-light-style-on .portfolio-hero-title {
  color: #fff; /* stays white — image still covers behind */
}

body.tt-light-style-on .portfolio-hero-desc {
  color: rgba(255, 255, 255, 0.92);
}

body.tt-light-style-on .portfolio-hero-meta {
  color: rgba(255, 255, 255, 0.82);
}

body.tt-light-style-on .portfolio-hero-btn {
  background: #fff;
  color: #132746;
  box-shadow: 0 10px 30px rgba(19, 39, 70, 0.15);
}

body.tt-light-style-on .portfolio-hero-btn:hover {
  background-color: var(--accent-teal);
  color: #000;
  box-shadow: 0 15px 35px rgba(45, 212, 191, 0.3);
}

body.tt-light-style-on .portfolio-hero-badge {
  background: rgba(45, 212, 191, 0.12);
  border-color: rgba(45, 212, 191, 0.25);
}

/* ── Stats Strip ── */
body.tt-light-style-on .portfolio-stats-strip {
  background: rgba(255, 255, 255, 0.8);
  border-top-color: rgba(19, 39, 70, 0.08);
  border-bottom-color: rgba(19, 39, 70, 0.08);
  backdrop-filter: blur(20px);
}

body.tt-light-style-on .stat-item:not(:last-child)::after {
  background: rgba(19, 39, 70, 0.1);
}

body.tt-light-style-on .stat-label {
  color: rgba(19, 39, 70, 0.6);
}

/* ── Section Headers ── */
body.tt-light-style-on .portfolio-sec-title {
  color: #132746;
}

body.tt-light-style-on .portfolio-sec-subtitle {
  color: var(--accent-teal);
}

/* ── Horizontal Cards ── */
body.tt-light-style-on .portfolio-h-card {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(19, 39, 70, 0.1);
  box-shadow: 0 4px 20px rgba(19, 39, 70, 0.06);
}

body.tt-light-style-on .portfolio-h-card:hover {
  border-color: rgba(45, 212, 191, 0.4);
  box-shadow: 0 20px 40px rgba(19, 39, 70, 0.12);
}

body.tt-light-style-on .portfolio-h-info {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.6) 0%, rgba(244, 246, 249, 0.3) 100%);
}

body.tt-light-style-on .portfolio-h-title {
  color: #132746;
}

body.tt-light-style-on .portfolio-h-desc {
  color: rgba(19, 39, 70, 0.72);
}

body.tt-light-style-on .portfolio-h-meta-grid {
  border-top-color: rgba(19, 39, 70, 0.1);
}

body.tt-light-style-on .portfolio-h-meta-label {
  color: rgba(19, 39, 70, 0.55);
}

body.tt-light-style-on .portfolio-h-meta-val {
  color: #132746;
}

body.tt-light-style-on .portfolio-h-btn {
  color: var(--accent-teal);
}

body.tt-light-style-on .portfolio-h-card:hover .portfolio-h-btn {
  color: #132746;
}

/* Tag badges inside cards */
body.tt-light-style-on .portfolio-h-tag.government {
  background: rgba(45, 212, 191, 0.1);
  border-color: rgba(45, 212, 191, 0.25);
  color: #0e9f8a;
}

body.tt-light-style-on .portfolio-h-tag.commercial,
body.tt-light-style-on .portfolio-h-tag.year,
body.tt-light-style-on .portfolio-h-tag.ui-ux-badge {
  background: rgba(57, 208, 255, 0.1);
  border-color: rgba(57, 208, 255, 0.25);
  color: #0a7fb5;
}

body.tt-light-style-on .portfolio-h-tag.photo-badge,
body.tt-light-style-on .portfolio-h-tag.personal {
  background: rgba(167, 139, 250, 0.1);
  border-color: rgba(167, 139, 250, 0.25);
  color: #7c4dff;
}

body.tt-light-style-on .portfolio-h-tag.branding-badge {
  background: rgba(255, 143, 61, 0.1);
  border-color: rgba(255, 143, 61, 0.25);
  color: #c0570a;
}

body.tt-light-style-on .portfolio-h-tag.formula-e,
body.tt-light-style-on .portfolio-h-tag.award {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.25);
  color: #b45309;
}

/* ── Featured card (pfc) ── */
body.tt-light-style-on .portfolio-featured-card {
  border-color: rgba(19, 39, 70, 0.1);
  box-shadow: 0 10px 30px rgba(19, 39, 70, 0.08);
}

body.tt-light-style-on .portfolio-featured-card:hover {
  border-color: rgba(45, 212, 191, 0.35);
  box-shadow: 0 30px 60px rgba(45, 212, 191, 0.12);
}

body.tt-light-style-on .pfc-overlay {
  background: radial-gradient(circle, rgba(244, 246, 249, 0.1) 0%, rgba(19, 39, 70, 0.7) 90%);
}

body.tt-light-style-on .pfc-desc {
  color: var(--accent-teal);
}

body.tt-light-style-on .pfc-btn {
  background: #fff;
  color: #132746;
  box-shadow: 0 10px 20px rgba(19, 39, 70, 0.12);
}

body.tt-light-style-on .pfc-btn:hover {
  background-color: var(--accent-teal);
  color: #000;
}

/* ── Netflix / Swiper Rows ── */
body.tt-light-style-on .netflix-slide {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(19, 39, 70, 0.1);
  box-shadow: 0 4px 16px rgba(19, 39, 70, 0.06);
}

body.tt-light-style-on .netflix-slide:hover {
  border-color: var(--accent-teal);
  box-shadow: 0 15px 30px rgba(19, 39, 70, 0.15);
}

body.tt-light-style-on .netflix-slide-img {
  filter: brightness(0.82);
}

body.tt-light-style-on .netflix-slide:hover .netflix-slide-img {
  filter: brightness(1);
}

body.tt-light-style-on .netflix-slide-title {
  color: #fff; /* on image overlay stays white */
}

body.tt-light-style-on .netflix-slide-meta {
  color: rgba(255, 255, 255, 0.85);
}

body.tt-light-style-on .netflix-slide-overlay {
  background: linear-gradient(0deg, rgba(19, 39, 70, 0.88) 0%, rgba(19, 39, 70, 0) 65%);
}

/* Swiper Arrows */
body.tt-light-style-on .swiper-button-next,
body.tt-light-style-on .swiper-button-prev {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(19, 39, 70, 0.12);
  color: #132746 !important;
  box-shadow: 0 2px 10px rgba(19, 39, 70, 0.1);
}

body.tt-light-style-on .swiper-button-next:hover,
body.tt-light-style-on .swiper-button-prev:hover {
  background-color: var(--accent-teal);
  color: #000 !important;
}

/* ── Currently Building Cards ── */
body.tt-light-style-on .building-card {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(19, 39, 70, 0.1);
  box-shadow: 0 4px 16px rgba(19, 39, 70, 0.05);
}

body.tt-light-style-on .building-card:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 15px 35px rgba(57, 208, 255, 0.12);
}

body.tt-light-style-on .building-title {
  color: #132746;
}

body.tt-light-style-on .building-desc {
  color: rgba(19, 39, 70, 0.6);
}

/* ── CTA Section ── */
body.tt-light-style-on .portfolio-cta-section {
  background: radial-gradient(circle at center, rgba(45, 212, 191, 0.06) 0%, transparent 70%);
  border-top-color: rgba(19, 39, 70, 0.08);
}

body.tt-light-style-on .portfolio-cta-title {
  color: #132746;
}

body.tt-light-style-on .portfolio-cta-subtitle {
  color: rgba(19, 39, 70, 0.68);
}

/* ── Archive Grid items ── */
body.tt-light-style-on .portfolio-grid-item .pgi-title a {
  color: #132746;
}

body.tt-light-style-on .portfolio-grid-item .pgi-category {
  color: rgba(19, 39, 70, 0.55);
}

body.tt-light-style-on .portfolio-card-hover-overlay {
  background: rgba(244, 246, 249, 0.88);
}

body.tt-light-style-on .pch-role {
  color: var(--accent-teal);
}

body.tt-light-style-on .pch-impact {
  color: rgba(19, 39, 70, 0.82);
}

body.tt-light-style-on .pch-link {
  color: #132746;
  border-bottom-color: rgba(19, 39, 70, 0.3);
}

body.tt-light-style-on .portfolio-grid-item:hover .pch-link {
  border-color: #132746;
}

/* Archive grid tags */
body.tt-light-style-on .portfolio-h-tag-wrap .portfolio-h-tag {
  color: rgba(19, 39, 70, 0.7);
  border-color: rgba(19, 39, 70, 0.15);
}

/* ── Page Header (ph) overrides for light mode ── */
body.tt-light-style-on .ph-caption-description {
  color: rgba(19, 39, 70, 0.78) !important;
}

body.tt-light-style-on .ph-meta {
  border-top-color: rgba(19, 39, 70, 0.1) !important;
}

body.tt-light-style-on .ph-meta-item {
  color: var(--accent-teal) !important;
}

body.tt-light-style-on .ph-meta-item span.ph-meta-cats {
  color: rgba(19, 39, 70, 0.65) !important;
}

/* ── Filter bar overrides ── */
body.tt-light-style-on .pf-filter-label {
  color: rgba(19, 39, 70, 0.55) !important;
}

/* ── No-results message ── */
body.tt-light-style-on #no-results-msg p {
  color: rgba(19, 39, 70, 0.55) !important;
}

body.tt-light-style-on #no-results-msg i {
  color: rgba(19, 39, 70, 0.25);
}

/* ── Timeline (if shown) ── */
body.tt-light-style-on .timeline-year {
  color: #132746;
}

body.tt-light-style-on .timeline-desc {
  color: rgba(19, 39, 70, 0.6);
}

body.tt-light-style-on .timeline-dot {
  background: #f4f6f9;
}

/* ── Misc ── */
body.tt-light-style-on .portfolio-hero-section {
  border-bottom-color: rgba(19, 39, 70, 0.08);
}
