/* ===== PROJECT PAGE ===== */

.project-main {
     padding-top: 80px;
}

/* Back link */
.back-link-wrap {
     max-width: 1200px;
     margin: 0 auto;
     padding: 2rem 5% 0;
}

.back-link {
     font-size: 0.8rem;
     font-weight: 500;
     letter-spacing: 0.05em;
     color: var(--ink-muted);
     transition: var(--transition);
}

.back-link:hover {
     color: var(--ink);
}


/* Project Hero */
.project-hero {
     max-width: 1200px;
     margin: 0 auto;
     padding: 3rem 5% 4rem;
     display: flex;
     flex-direction: column;
     gap: 3rem;
}

.project-hero-inner {
     display: flex;
     align-items: flex-end;
     justify-content: space-between;
     flex-wrap: wrap;
     gap: 2rem;
}

.project-hero-text .section-label {
     margin-bottom: 0.75rem;
}

.project-title {
     font-family: var(--font-display);
     font-size: clamp(3.5rem, 8vw, 7rem);
     font-weight: 300;
     line-height: 0.95;
     color: var(--ink);
     margin-bottom: 0.5rem;
}

.project-client {
     font-size: 0.9rem;
     color: var(--ink-muted);
     font-weight: 400;
     margin: 0;
}

.project-meta {
     display: flex;
     gap: 2.5rem;
     flex-wrap: wrap;
}

.meta-item {
     display: flex;
     flex-direction: column;
     gap: 4px;
}

.meta-label {
     font-size: 0.65rem;
     font-weight: 500;
     letter-spacing: 0.15em;
     text-transform: uppercase;
     color: var(--ink-muted);
}

.meta-value {
     font-size: 0.85rem;
     font-weight: 400;
     color: var(--ink);
}

.project-hero-image {
     width: 100%;
     border-radius: var(--radius);
     overflow: hidden;
     aspect-ratio: 21/9;
     background-color: var(--ink);
}

.project-hero-image img {
     width: 100%;
     height: 100%;
     object-fit: cover;
}


/* Project Sections */
.project-section {
     padding: 80px 5%;
     border-top: 1px solid rgba(25, 26, 30, 0.1);
}

.project-section-inner {
     max-width: 1200px;
     margin: 0 auto;
}

.two-col {
     display: flex;
     gap: 5rem;
     flex-wrap: wrap;
}

.col-label {
     flex: 0 0 160px;
     padding-top: 4px;
}

.col-content {
     flex: 1;
     min-width: 280px;
}

.col-content h2 {
     font-family: var(--font-display);
     font-size: clamp(1.6rem, 2.5vw, 2.2rem);
     font-weight: 300;
     margin-bottom: 1.5rem;
     line-height: 1.2;
}

.col-content p {
     line-height: 1.8;
     margin-bottom: 1rem;
}


/* Section backgrounds */
.overview-section {
     background-color: var(--off-white);
}

.reel-section-project {
     background-color: var(--beige);
}

.personas-section {
     background-color: var(--off-white);
}

.strategy-section {
     background-color: var(--beige);
}

.content-examples-section {
     background-color: var(--off-white);
}


/* Content Calendar image — constrained and centered */
.col-content .calendar-img {
     display: block;
     width: 100%;
     max-width: 600px;
     margin-top: 1.5rem;
     border-radius: var(--radius);
     box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}


/* Strategy grid */
.strategy-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
     gap: 1.5rem;
     margin-top: 0.5rem;
}

.strategy-item {
     padding: 1.5rem;
     background: var(--beige-light);
     border-radius: var(--radius);
}

.strategy-item h4 {
     font-family: var(--font-display);
     font-size: 1.1rem;
     font-weight: 600;
     margin-bottom: 0.6rem;
}

.strategy-item p {
     font-size: 0.85rem;
     line-height: 1.7;
     margin: 0;
}


/* Personas — uniform height, same size */
.personas-grid {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     gap: 1.5rem;
     margin-top: 1.5rem;
}

.persona-item {
     display: flex;
     flex-direction: column;
     gap: 0.5rem;
}

.persona-item img {
     width: 100%;
     aspect-ratio: 16/10;
     object-fit: cover;
     object-position: top;
     border-radius: var(--radius);
     box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.content-caption {
     font-size: 0.75rem;
     color: var(--ink-muted);
     margin: 0;
     text-align: center;
     letter-spacing: 0.05em;
}


/* ===== VIDEO CAROUSEL ===== */
.video-carousel {
     margin-top: 1.5rem;
     width: 100%;
     max-width: 360px;
     margin-left: auto;
     margin-right: auto;
}

.carousel-track-wrapper {
     overflow: hidden;
     border-radius: var(--radius);
     width: 100%;
}

.carousel-track {
     display: flex;
     transition: transform 0.4s ease;
}

.carousel-slide {
     min-width: 100%;
     display: flex;
     flex-direction: column;
     gap: 0.75rem;
}

.carousel-slide video {
     width: 100%;
     aspect-ratio: 9/16;
     object-fit: cover;
     border-radius: var(--radius);
     display: block;
     background: var(--ink);
}

.carousel-controls {
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 1.5rem;
     margin-top: 1.25rem;
}

.carousel-btn {
     background: var(--ink);
     color: var(--white);
     border: none;
     width: 38px;
     height: 38px;
     border-radius: 50%;
     font-size: 1rem;
     cursor: pointer;
     transition: var(--transition);
     display: flex;
     align-items: center;
     justify-content: center;
}

.carousel-btn:hover {
     background: var(--beige-dark);
     color: var(--ink);
}

.carousel-dots {
     display: flex;
     gap: 8px;
     align-items: center;
}

.carousel-dot {
     width: 8px;
     height: 8px;
     border-radius: 50%;
     border: none;
     background: var(--beige-dark);
     cursor: pointer;
     transition: var(--transition);
     padding: 0;
}

.carousel-dot.active {
     background: var(--ink);
     width: 10px;
     height: 10px;
}

.carousel-caption {
     text-align: center;
     font-size: 0.8rem;
     color: var(--ink-muted);
     margin-top: 0.5rem;
}


/* Next project */
.next-project-section {
     background-color: var(--ink);
     padding: 80px 5%;
}

.next-project-link {
     display: block;
     max-width: 1200px;
     margin: 0 auto;
     color: var(--white);
     transition: var(--transition);
}

.next-project-section .section-label {
     color: rgba(255,255,255,0.4);
     margin-bottom: 0.75rem;
}

.next-project-link h2 {
     font-family: var(--font-display);
     font-size: clamp(2.5rem, 6vw, 5rem);
     font-weight: 300;
     color: var(--white);
     line-height: 1;
}

.next-project-link h2 span {
     display: inline-block;
     transition: transform 0.3s;
     opacity: 0.5;
}

.next-project-link:hover h2 span {
     transform: translateX(10px);
     opacity: 1;
}
/* ================================
   HARD FIX: PROJECT ALIGNMENT
   ================================ */

/* CONTENT CALENDAR — FORCE 2 COLUMN */
.calendar-layout {
     display: flex !important;
     flex-direction: row !important;
     justify-content: space-between;
     align-items: flex-start;
     gap: 3rem;
}

/* LEFT TEXT */
.calendar-layout .cal-text {
     flex: 1;
}

/* RIGHT IMAGE */
.calendar-layout .calendar-img {
     flex: 1;
     max-width: 50%;
     height: auto;
     object-fit: cover;
}

/* ================================
   REEL SECTION FIX
   ================================ */

.reel-layout {
     display: flex !important;
     flex-direction: row !important;
     justify-content: space-between;
     align-items: flex-start;
     gap: 3rem;
}

/* LEFT TEXT */
.reel-layout .reel-text {
     flex: 1;
}

/* RIGHT CAROUSEL */
.reel-layout .video-carousel {
     flex: 0 0 280px;
}

/* MOBILE STACK FIX */
@media (max-width: 800px) {

     .calendar-layout,
     .reel-layout {
          flex-direction: column !important;
     }

     .calendar-layout .calendar-img,
     .reel-layout .video-carousel {
          max-width: 100%;
          flex: 1;
     }
}
/* ================================
   SWAP: STRATEGY + CONTENT EXAMPLES
   ================================ */

/* STRATEGY → OFF WHITE */
.strategy-section {
     background-color: var(--off-white) !important;
}

/* CONTENT EXAMPLES (REELS) → BEIGE */
.content-examples-section {
     background-color: var(--beige) !important;
}