* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background-color: #0b0704;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  width: 100%;
  min-height: 100vh;
  background-color: #0b0704;
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
  touch-action: manipulation;
}

/* Fixed Fullscreen Canvas Background */
#hero-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  display: block;
  pointer-events: none;
}

/* Minimal Smooth Loader */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #0b0704;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-bar-container {
  width: 180px;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  overflow: hidden;
}

.loader-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #ff8c00, #ff5500);
  border-radius: 4px;
  transition: width 0.1s linear;
}

.loader-text {
  font-size: 13px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

/* FULL EDGE-TO-EDGE PURE TRANSPARENT NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.navbar .logo {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #ffffff;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
}

.navbar .nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.navbar .nav-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  transition: color 0.3s ease, transform 0.3s ease;
}

.navbar .nav-links a:hover {
  color: #ff9d3b;
  transform: translateY(-1px);
}

.btn-all-works-nav {
  background: #ff9d3b;
  color: #0b0704;
  border: none;
  padding: 8px 18px;
  border-radius: 20px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-all-works-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 157, 59, 0.6);
}

/* CONTENT OVERLAY CONTAINER */
.content-overlay {
  position: relative;
  z-index: 10;
  width: 100%;
  pointer-events: auto;
  background: transparent;
}

/* HERO SECTION */
.hero-section {
  width: 100%;
  max-width: 100%;
  padding: 140px 48px 50px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  height: 100vh;
  background: transparent !important;
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  width: 100%;
  height: 100%;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-self: flex-start;
  margin-top: 10px;
}

.hero-meta .meta-tag {
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.5;
  border-left: 2px solid #ff9d3b;
  padding-left: 14px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

.hero-title-container {
  align-self: flex-end;
}

.btn-open-gallery {
  background: rgba(11, 7, 4, 0.7);
  color: #ff9d3b;
  border: 1px solid rgba(255, 157, 59, 0.6);
  padding: 10px 20px;
  border-radius: 30px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  cursor: pointer;
  align-self: flex-start;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.btn-open-gallery:hover {
  background: #ff9d3b;
  color: #0b0704;
  transform: translateY(-2px);
}

.giant-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(3.5rem, 11vw, 9.5rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.9);
  max-width: 100%;
  overflow-wrap: break-word;
}

/* SUBTLE HIGH-TRANSPARENCY GLASS BACKDROP BELOW HERO */
.sections-container-below {
  width: 92vw;
  max-width: 1360px;
  margin: 40px auto 80px auto;
  background: rgba(11, 7, 4, 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 157, 59, 0.3);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

/* SECTIONS INSIDE SUB-CONTAINER */
.section:not(.hero-section) {
  width: 100%;
  min-height: auto;
  padding: 60px 48px 50px 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  background: transparent !important;
  border-bottom: 2px solid rgba(255, 157, 59, 0.3);
}

.section:last-child {
  border-bottom: none;
}

.section-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 157, 59, 0.25);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ff9d3b;
  font-weight: 800;
  margin-bottom: 20px;
}

.btn-preview-section {
  background: rgba(255, 157, 59, 0.15);
  color: #ff9d3b;
  border: 1px solid rgba(255, 157, 59, 0.6);
  padding: 6px 14px;
  border-radius: 20px;
  font-family: inherit;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
}

.btn-preview-section:hover {
  background: #ff9d3b;
  color: #0b0704;
}

/* VIBRANT ACCENT COLOR FOR BIG TITLES */
.section-big-heading {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.2rem, 4.8vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #ffc575 0%, #ff8c00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 6px 0 20px 0;
  filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.9));
  max-width: 100%;
  overflow-wrap: break-word;
}

.giant-heading {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #ffffff 0%, #ffb356 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 0.95;
  filter: drop-shadow(0 6px 25px rgba(0, 0, 0, 0.9));
  max-width: 100%;
  overflow-wrap: break-word;
}

/* UNIFORM 3-COLUMN WORK CARDS GRID */
.works-grid-standard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 10px;
  width: 100%;
}

.work-card-uniform {
  background: rgba(18, 12, 7, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.work-card-uniform:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 157, 59, 0.7);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8);
}

.work-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.video-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 5;
  background: rgba(255, 157, 59, 0.95);
  color: #0b0704;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.work-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.work-card-uniform:hover .work-card-media img {
  transform: scale(1.05);
}

.work-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.work-card-cat {
  font-size: 9px;
  letter-spacing: 2px;
  font-weight: 800;
  color: #ff9d3b;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.work-card-body h4 {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  color: #ffffff;
}

.work-card-body p {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

/* Contact Section */
.contact-section {
  padding-top: 50px;
}

.contact-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}

.contact-header .meta-tag {
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.5;
  text-align: right;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.contact-form-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 40px auto;
  background: rgba(18, 12, 7, 0.6);
  backdrop-filter: blur(12px);
  padding: 36px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.form-title {
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}

.form-group input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding: 12px 0;
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  letter-spacing: 1px;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1px;
}

.form-group input:focus {
  border-bottom-color: #ff9d3b;
}

.form-submit-row {
  display: flex;
  justify-content: flex-end;
}

.btn-submit {
  background: #ffffff;
  color: #0b0704;
  border: none;
  padding: 14px 40px;
  border-radius: 40px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background: #ff9d3b;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 157, 59, 0.4);
}

/* Footer */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 1px;
  display: flex;
  flex-direction: column;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.footer-info {
  font-size: 12px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.footer-info .info-title {
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.footer-copyright {
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

/* ========================================================= */
/* UNIFIED POPUP MODAL & LIGHTBOX WITH STABLE FIXED DIMENSIONS*/
/* ========================================================= */

.artwork-modal, .single-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
  padding: 16px;
}

.artwork-modal.active, .single-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop, .lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 5, 3, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.modal-container {
  position: relative;
  z-index: 2;
  width: 90vw;
  pointer-events: auto;
}

.modal-container, .lightbox-container {
  position: relative;
  width: 100%;
  max-width: 1080px;
  max-height: 90vh;
  background: rgba(14, 9, 5, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 157, 59, 0.4);
  border-radius: 20px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.95);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  overscroll-behavior: contain;
  overscroll-behavior-y: contain;
}

.modal-header {
  padding: 20px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(11, 7, 4, 0.85);
  flex-shrink: 0;
}

.modal-tag {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 800;
  color: #ff9d3b;
  text-transform: uppercase;
  margin-bottom: 4px;
  display: block;
}

.modal-title {
  font-family: 'Syne', sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #ffffff;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 22px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.modal-close-btn:hover {
  background: #ff9d3b;
  color: #0b0704;
  transform: rotate(90deg);
}

.modal-tabs {
  display: flex;
  gap: 10px;
  padding: 14px 28px;
  background: rgba(11, 7, 4, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  flex-shrink: 0;
}

.modal-tab {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
  padding: 8px 16px;
  border-radius: 20px;
  font-family: inherit;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.modal-tab.active, .modal-tab:hover {
  background: #ff9d3b;
  color: #0b0704;
  border-color: #ff9d3b;
}

.modal-gallery-grid {
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex-grow: 1;
  align-content: start;
  overscroll-behavior: contain;
  overscroll-behavior-y: contain;
}

.modal-art-card {
  background: rgba(24, 16, 10, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 320px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.modal-art-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 157, 59, 0.7);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.modal-art-card.highlight-selected {
  border-color: #ff9d3b !important;
  box-shadow: 0 0 30px rgba(255, 157, 59, 0.9), 0 10px 30px rgba(0, 0, 0, 0.8) !important;
  transform: translateY(-4px);
  animation: pulseHighlight 2.5s ease-out forwards;
}

@keyframes pulseHighlight {
  0% {
    box-shadow: 0 0 40px rgba(255, 157, 59, 1), 0 10px 30px rgba(0, 0, 0, 0.8);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 157, 59, 0.6), 0 10px 30px rgba(0, 0, 0, 0.8);
  }
  100% {
    box-shadow: 0 0 30px rgba(255, 157, 59, 0.9), 0 10px 30px rgba(0, 0, 0, 0.8);
  }
}

.modal-art-media {
  position: relative;
  width: 100%;
  height: 180px;
  min-height: 180px;
  flex-shrink: 0;
  overflow: hidden;
  background: #0b0704;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-art-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.modal-art-card:hover .modal-art-media img {
  transform: scale(1.05);
}

.modal-art-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.modal-art-cat {
  font-size: 9px;
  letter-spacing: 2px;
  font-weight: 800;
  color: #ff9d3b;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.modal-art-body h4 {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
  line-height: 1.25;
}

.modal-art-body p {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
}

/* LIGHTBOX STACKED LAYOUT (MEDIA TOP, TITLE & COMMENTAIRE DOWN BELOW) */
.lightbox-body {
  padding: 20px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 16px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex-grow: 1;
  width: 100%;
  overscroll-behavior: contain;
  overscroll-behavior-y: contain;
}

.lightbox-media-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(18, 12, 7, 0.85);
  border: 1px solid rgba(255, 157, 59, 0.6);
  color: #ff9d3b;
  font-size: 36px;
  line-height: 1;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8);
}

.lightbox-nav-btn.prev-btn {
  left: 12px;
}

.lightbox-nav-btn.next-btn {
  right: 12px;
}

.lightbox-nav-btn:hover {
  background: #ff9d3b;
  color: #0b0704;
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 8px 30px rgba(255, 157, 59, 0.7);
}

.lightbox-media {
  width: 100%;
  max-height: 52vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  overflow: hidden;
  background: #000000;
  border: 1px solid rgba(255, 157, 59, 0.4);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.9);
  padding: 4px;
  flex-shrink: 0;
}

.lightbox-media video {
  width: 100%;
  height: 100%;
  max-height: 50vh;
  object-fit: contain;
  display: block;
  border-radius: 10px;
  outline: none;
}

.lightbox-media img, .lightbox-media iframe {
  width: 100%;
  height: 100%;
  max-height: 50vh;
  object-fit: contain;
  display: block;
}

.lightbox-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.lightbox-info h3 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
}

.lightbox-info p {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #0b0704;
}
::-webkit-scrollbar-thumb {
  background: #332014;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #55331e;
}

/* ========================================================= */
/* COMPREHENSIVE RESPONSIVE MOBILE OPTIMIZATIONS             */
/* ========================================================= */

@media (max-width: 1024px) {
  .hero-section {
    padding: 120px 24px 40px 24px;
  }
  .sections-container-below {
    width: 94vw;
  }
  .giant-title {
    font-size: clamp(3rem, 11vw, 8rem);
  }
  .works-grid-standard, .modal-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 16px 20px;
  }
  
  .navbar .nav-links {
    display: none;
  }
  
  .navbar .btn-all-works-nav {
    display: block;
  }

  .hero-section {
    padding: 80px 20px 30px 20px;
    min-height: 100vh;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .hero-content {
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    height: 100%;
    min-height: calc(100vh - 120px);
  }

  .hero-meta {
    align-self: flex-start;
    margin-top: 10px;
    gap: 10px;
  }

  .hero-meta .meta-tag {
    font-size: 10px;
    letter-spacing: 1.5px;
    line-height: 1.4;
    padding-left: 10px;
    border-left: 2px solid #ff9d3b;
  }

  .btn-open-gallery {
    padding: 8px 16px;
    font-size: 10px;
  }

  .hero-title-container {
    align-self: flex-start;
    margin-bottom: 20px;
  }

  .giant-title {
    font-size: clamp(2rem, 9.5vw, 3.4rem);
    letter-spacing: -0.01em;
    line-height: 0.92;
    max-width: 100%;
    word-wrap: break-word;
  }

  .sections-container-below {
    width: 95vw;
    border-radius: 16px;
    margin: 50px auto 60px auto;
  }

  .section:not(.hero-section) {
    padding: 40px 16px 28px 16px;
  }

  .section-top-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 10px;
  }

  .btn-preview-section {
    align-self: flex-start;
  }

  .section-big-heading {
    font-size: clamp(1.6rem, 7vw, 2.8rem);
    letter-spacing: -0.01em;
    line-height: 1.05;
    max-width: 100%;
    word-wrap: break-word;
  }

  .giant-heading {
    font-size: clamp(1.8rem, 7.5vw, 3rem);
    line-height: 1.02;
    max-width: 100%;
    word-wrap: break-word;
  }

  .works-grid-standard, .modal-gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-header {
    flex-direction: column;
    gap: 16px;
  }

  .contact-header .meta-tag {
    text-align: left;
  }

  .contact-form .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  /* Mobile Popup Modal Adaptations */
  .modal-container, .lightbox-container {
    width: 95vw;
    height: 88vh;
    min-height: auto;
  }

  .modal-header {
    padding: 16px 20px;
  }

  .modal-title {
    font-size: 16px;
  }

  .modal-tabs {
    padding: 10px 16px;
    gap: 8px;
  }

  .modal-tab {
    font-size: 9px;
    padding: 6px 12px;
  }

  .modal-gallery-grid {
    padding: 16px;
    gap: 16px;
  }

  .lightbox-body {
    padding: 16px;
    gap: 14px;
  }
}
