* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #f4f4f6;
  color: #111111;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}

/* Hero Section */
.hero {
  padding: 5rem 3rem 2rem 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-tag {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #777777;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  max-width: 900px;
  color: #000000;
}

.hero-title span.accent-text {
  color: #FF8C02 !important;
}

/* Portfolio Layout */
.portfolio {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 3rem 6rem 3rem;
}

/* Filter Navigation Container */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

/* Modern Pill Button Styling & Reset */
button.filter-btn {
  appearance: none;
  -webkit-appearance: none;
  background-color: transparent;
  border: 1px solid #d0d0d5;
  outline: none;
  padding: 0.65rem 1.4rem;
  border-radius: 40px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: #444444;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-block;
  line-height: 1;
}

button.filter-btn:hover {
  border-color: #000000;
  color: #000000;
  background-color: rgba(0, 0, 0, 0.03);
}

button.filter-btn.active {
  background-color: #000000;
  color: #ffffff;
  border-color: #000000;
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 2rem;
}

.grid-item {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.grid-item.hide {
  display: none !important;
}

.image-wrapper {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #e5e5e7;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.grid-item:hover .image-wrapper img {
  transform: scale(1.04);
}

.item-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 1rem;
}

.item-meta h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: #000000;
}

.item-meta span {
  font-size: 0.85rem;
  color: #777777;
}

/* Fullscreen Lightbox Modal Overlay */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.active {
  display: flex !important;
  opacity: 1 !important;
}

.modal-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
  max-height: 90vh;
}

.modal-container img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.modal-caption {
  margin-top: 1.25rem;
  color: #ffffff;
  font-size: 1.1rem;
  text-align: center;
  letter-spacing: -0.2px;
}

.modal-caption strong {
  color: #ffffff;
  font-weight: 700;
}

.modal-caption span {
  color: #FF8C02;
  margin-left: 0.75rem;
}

.modal-close {
  position: absolute;
  top: 2rem;
  right: 2.5rem;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 3rem;
  font-weight: 300;
  cursor: pointer;
  line-height: 1;
  z-index: 2020;
  transition: color 0.2s ease, transform 0.2s ease;
}

.modal-close:hover {
  color: #FF8C02;
  transform: scale(1.1);
}

/* Navigation Buttons (Left / Right) */
.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
  z-index: 2010;
  transition: all 0.25s ease;
  user-select: none;
}

.modal-prev {
  left: 2.5rem;
}

.modal-next {
  right: 2.5rem;
}

.modal-nav:hover {
  background-color: #FF8C02;
  border-color: #FF8C02;
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .hero {
    padding: 3rem 1.5rem 2rem 1.5rem;
  }

  .portfolio {
    padding: 1rem 1.5rem 4rem 1.5rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .modal-close {
    top: 1rem;
    right: 1.5rem;
  }

  .modal-prev {
    left: 0.75rem;
  }

  .modal-next {
    right: 0.75rem;
  }

  .modal-nav {
    font-size: 1.2rem;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.5);
  }
}



/* Play Icon Overlay on Grid Items */
.image-wrapper.video-item {
  position: relative;
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: background 0.3s ease, transform 0.3s ease;
}

.grid-item:hover .play-icon {
  background: #FF8C02;
  transform: translate(-50%, -50%) scale(1.1);
}
/* Responsive Modal Video Container */
.video-responsive-wrapper {
  position: relative;
  width: 90vw;
  max-width: 960px;
  max-height: 75vh;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000000;
  border-radius: 8px;
  overflow: hidden;
}

.video-responsive-wrapper iframe,
.video-responsive-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: none;
  outline: none;
}










/* ===================================================
   About Page Layout & Cards
   =================================================== */
.about-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem 6rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.sub-tag {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #FF8C02;
  margin-bottom: 0.5rem;
}

/* Bio Section Layout */
.about-bio-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: stretch;
}

.bio-card {
  background: #ffffff;
  padding: 3rem;
  border-radius: 12px;
  border: 1px solid #e5e5e7;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bio-card h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

.bio-card .lead-text {
  font-size: 1.15rem;
  line-height: 1.6;
  font-weight: 500;
  color: #222222;
  margin-bottom: 1rem;
}

.bio-card p {
  font-size: 1rem;
  line-height: 1.65;
  color: #555555;
  margin-bottom: 2rem;
}

.bio-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Buttons */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-primary {
  background-color: #000000;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #FF8C02;
  color: #ffffff;
}

.btn-secondary {
  background-color: transparent;
  border: 1px solid #d0d0d5;
  color: #111111;
}

.btn-secondary:hover {
  border-color: #000000;
  background-color: rgba(0, 0, 0, 0.04);
}

/* Stats Grid */
.bio-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.stat-card {
  background: #000000;
  color: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: #FF8C02;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #aaaaaa;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Work Ethic Pillars */
.section-title-wrap {
  margin-bottom: 2rem;
}

.section-title-wrap h2 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pillar-card {
  background: #ffffff;
  padding: 2.2rem;
  border-radius: 12px;
  border: 1px solid #e5e5e7;
}

.pillar-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.pillar-card p {
  color: #666666;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: #ffffff;
  padding: 2.5rem 2rem;
  border-radius: 12px;
  border: 1px solid #e5e5e7;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: #000000;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.service-icon {
  font-size: 2.2rem;
  color: #FF8C02;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #000000;
}

.service-card p {
  font-size: 0.9rem;
  color: #666666;
  line-height: 1.5;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .about-bio-grid {
    grid-template-columns: 1fr;
  }
  .pillars-grid, .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .about-container {
    padding: 0 1.5rem 4rem 1.5rem;
    gap: 3.5rem;
  }
  .bio-card {
    padding: 2rem 1.5rem;
  }
  .bio-stats-grid {
    grid-template-columns: 1fr;
  }
  .pillars-grid, .services-grid {
    grid-template-columns: 1fr;
  }
}