/* ========================================
   Project template — global layout & rhythm
   ======================================== */

.project-page {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.section-spacing {
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.section-spacing-top { margin-top: 3rem; }
.section-spacing-bottom { margin-bottom: 3rem; }


/* ========================================
   Hero
   ======================================== */

.project-title {
  font-size: 3.2rem;
  font-weight: 300;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.project-meta {
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.6;
  margin: 0;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.project-meta .small {
  font-size: 0.9rem;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .project-title { font-size: 1.8rem; }
  .project-meta { font-size: 1rem; }
}

.project-hero {
  background-position: center center;
  background-size: cover;
  width: 100%;
  height: 100vh;
  min-height: 400px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

.project-hero-text {
  position: absolute;
  color: #fff;
  width: 90%;
  max-width: 800px;
  text-align: center;
}

.scroll-indicator {
    position: absolute;
    bottom: -5rem;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 50;
}

.scroll-arrow {
    display: block;
    width: 28px;
    height: 28px;
    border-right: 2px solid rgba(255,255,255,0.95);
    border-bottom: 2px solid rgba(255,255,255,0.95);
    transform: rotate(45deg);
    animation: scrollArrowPulse 2.2s ease-in-out infinite;
    filter: drop-shadow(0 0 6px rgba(255,255,255,0.6));
}

@keyframes scrollArrowPulse {
    0%   { transform: translateY(0) rotate(45deg); opacity: 0.6; }
    50%  { transform: translateY(12px) rotate(45deg); opacity: 1; }
    100% { transform: translateY(0) rotate(45deg); opacity: 0.6; }
}


/* ========================================
   Narrative (right column)
   ======================================== */

.project-narrative {
    max-width: 620px;
    margin-left: 0;
    padding-right: 0;
}

.project-intro-text {
    font-size: 0.95rem;        /* refined, readable */
    line-height: 1.7;          /* airy, architectural */
    font-weight: 300;          /* light, elegant */
    letter-spacing: 0.01em;    /* subtle spacing */
    color: #222;               /* softer than pure black */
    opacity: 0.9;              /* matches sidebar tone */
    padding: 1rem 0;           /* vertical breathing room */
}


.narrative-inner {
    max-width: 620px;
}


/* ========================================
   Sidebar panels (Facts)
   ======================================== */

.project-facts-panel {
  width: 100%;
  background: #f7f7f7;
  border-radius: 6px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.05);
}

.project-facts-panel h5 {
  font-size: 0.8rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
  color: #222;
}

.fact-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #555;
  margin-bottom: 0.25rem;
}

.project-facts-list li {
  margin-bottom: 1.2rem;
  font-size: 0.85rem;
  line-height: 1.4;
}


/* ========================================
   Tabs
   ======================================== */

#projectTabs { margin-bottom: 2rem; }

.nav-tabs .nav-link {
  font-weight: 300;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #111 !important;
  background: transparent !important;
  border: none !important;
  padding: 0.75rem 1.25rem;
}

.nav-tabs .nav-link.active {
  border-bottom: 2px solid #111 !important;
}

.nav-tabs {
  border-bottom: 1px solid #ddd;
}

.nav-tabs .nav-link:hover {
  color: #000 !important;
}


/* ========================================
   Gallery cards
   ======================================== */

#project-gallery-row > div,
#project-design-row > div {
  padding: 10px;
}

.square-card {
  position: relative;
  width: 100%;
  padding-top: 100%;
  overflow: hidden;
  border-radius: 6px;
  background: #f8f8f8;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.square-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
	cursor: zoom-in;
}

.square-card:hover img {
  transform: scale(1.03);
}


/* ========================================
   Plans / Progress / Testimonials
   ======================================== */

#project-plans img {
  margin-bottom: 1.5rem;
  border-radius: 4px;
}

#project-progress p {
  font-style: italic;
}

#project-testimonial blockquote {
  border-left: 3px solid #ddd;
  padding-left: 1rem;
}

#project-testimonial blockquote p {
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.6;
}

#project-testimonial blockquote footer {
  font-weight: 300;
  opacity: 0.8;
  margin-top: 0.5rem;
}


/* ========================================
   Footer spacing
   ======================================== */

#site-footer {
  margin-top: 1rem;
}


/* ========================================
   Timeline
   ======================================== */

.project-timeline {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.timeline-track {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.5rem;
    gap: 2rem;
    border-top: none; /* removed the line */
}


.timeline-step {
    text-align: center;
    max-width: 140px;
}

.timeline-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #444;
    margin-bottom: 0.25rem;
}

.timeline-name {
    display: block;
    font-size: 0.75rem;
    font-weight: 300;
    color: #666;
    line-height: 1.3;
}

.timeline-chevron {
    font-size: 1rem;
    color: #aaa;
    font-weight: 300;
    margin-top: -0.3rem;
}

.project-intro-text {
    font-family: inherit;
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.7;
    letter-spacing: 0.01em;
    color: #222;
    opacity: 0.9;
}

/* Wrapper to constrain width */
.project-timeline-wrapper {
    max-width: 900px;     /* not full width */
    margin: 0 auto;       /* center it */
    margin-top: 3rem;
    margin-bottom: 3rem;
}

/* Heading above timeline */
.timeline-heading {
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #444;
    margin-bottom: 1.25rem;
    text-align: left;
}

/* Timeline (line removed) */
.project-timeline {
    margin-top: 0;
    margin-bottom: 0;
}

.timeline-track {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.5rem;
    gap: 2rem;
    border-top: none; /* removed line */
}


/* Match Project Facts text to Timeline text */

.project-facts-panel h5 {
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #444;
    margin-bottom: 1.25rem;
}

.fact-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #444;
    margin-bottom: 0.25rem;
}

.project-facts-list li {
    font-size: 0.75rem;
    font-weight: 300;
    color: #666;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.project-intro-row .col-lg-9 {
    padding-left: 2rem; /* adds space between Facts and Narrative */
	margin-top: 2.2rem
}

.narrative-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-narrative {
    flex-grow: 0;
}

.project-timeline-wrapper {
    flex-grow: 0;
    margin-top: 2rem;
}

.project-timeline-wrapper {
    padding-left: 2rem; /* matches the narrative column offset */
}

.project-timeline-wrapper {
    margin-top: 2.2rem; /* tuned to match narrative baseline */
}

.project-narrative {
    flex-grow: 0;
}

.project-timeline-wrapper {
    flex-grow: 0;
}

/* Make the right column a single editorial block */
.narrative-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-left: 2rem; /* spacing from Facts */
}

/* Align narrative and timeline heading on the same left edge */
.project-narrative,
.project-timeline-wrapper {
    padding-left: 0; /* remove any accidental offsets */
}





/* Tighten the narrative → timeline connection */
.project-narrative {
    margin-bottom: 1rem; /* was too loose */
}

/* Perfect baseline alignment for the timeline heading */
.timeline-heading {
    margin-top: 0.1rem;     /* tiny nudge up */
    margin-bottom: 0.8rem;  /* slightly tighter */
    font-size: 0.75rem;      /* reduces visual weight */
    letter-spacing: 0.06em; /* calmer */
	
}

/* Slightly narrow the narrative column for better measure */
.project-narrative {
    max-width: 560px; /* was 620px */
}

.project-facts-panel h5 {
    margin-bottom: 1.4rem;
}



.floorplan-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
	cursor: zoom-in;
}

.floorplan-img:hover {
  transform: scale(1.015);
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

/* MOBILE: vertical timeline with notches */
@media (max-width: 576px) {

  /* Use a left border as the vertical line */
  .project-timeline .timeline-track {
    border-left: 2px solid #e0e0e0;
    padding-left: 14px;      /* space between line and text */
    display: block;          /* kill horizontal flex layout */
    margin: 0;
  }

  .timeline-step {
    position: relative;
    margin: 0 0 1rem 0;
    padding: 0;
    border: none;
    text-align: left;
  }

  /* Notch on the line for each step */
  .timeline-step::before {
    content: "";
    position: absolute;
    left: -14px;             /* sits on the border-left */
    top: 0.45rem;            /* adjust vertically to taste */
    width: 8px;
    height: 1px;
    background: #000;
  }

  .timeline-step * {
    text-align: left !important;
  }

  .timeline-chevron {
    display: none !important;
  }
}

.project-intro-outer {
  margin-bottom: 3rem;
}

.design-video-wrapper {
  width: 100%;
  position: relative;
}

.design-card {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.design-video {
  width: 100%;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
  background: #000;
}




