/* ═══════════════════════════════════════════════
   poject.html — About Project styles
   ═══════════════════════════════════════════════ */

/* ── Nav: dark text over white page-hero ── */
.site-nav:not(.scrolled) .nav-links a {
  color: #222;
}
.site-nav:not(.scrolled) .nav-logo-img {
  filter: none;
}

/* ── Hero label visible on white bg ── */
.page-hero .hero-label {
  color: #bbb;
}

/* ═══════════════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════════════ */
.animate {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate.visible {
  opacity: 1;
  transform: none;
}
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .animate {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ═══════════════════════════════════════════════
   PAGE HERO
   ═══════════════════════════════════════════════ */
.page-hero {
  padding: 108px 24px 68px;
  background: #fff;
  text-align: center;
  border-bottom: 1px solid #ebebeb;
  opacity: 1;
}

.page-hero-content {
  max-width: 760px;
  margin: 0 auto;
}

.page-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 300;
  color: #1a1a1a;
  line-height: 1.22;
  letter-spacing: -0.025em;
  margin-top: 18px;
  margin-bottom: 28px;
}

.page-hero-desc {
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  font-weight: 300;
  color: #888;
  line-height: 1.85;
}

/* Decorative underline after hero */
.page-hero-content::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: #ffa44f;
  margin: 36px auto 0;
  border-radius: 2px;
}

/* ═══════════════════════════════════════════════
   SECTION WRAPPERS
   ═══════════════════════════════════════════════ */
.pj-section {
  background: #fff;
}
.pj-gray {
  background: #f5f5f3;
}
.pj-cta-section {
  background: #fff;
}

/* Sections that end with a full-bleed grid: remove bottom padding */
.pj-people,
.pj-madeira {
  padding-bottom: 0;
}

/* ═══════════════════════════════════════════════
   PHOTO TILES (shared hover treatment)
   ═══════════════════════════════════════════════ */
.photo-tile {
  overflow: hidden;
  border-radius: 10px;
  background: #e8e8e6;
  display: block;
}
.photo-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.photo-tile:hover img {
  transform: scale(1.06);
}

/* ═══════════════════════════════════════════════
   PEOPLE GRID — full-bleed, portrait tiles
   ═══════════════════════════════════════════════ */
.people-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  margin-top: 48px;
}
.people-grid .photo-tile {
  aspect-ratio: 3 / 4;
  border-radius: 0;
}

/* ═══════════════════════════════════════════════
   MADEIRA MOSAIC — full-bleed, fixed-height rows
   ═══════════════════════════════════════════════ */
.madeira-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 390px 390px;
  gap: 3px;
  margin-top: 48px;
}
.madeira-grid .photo-tile {
  border-radius: 0;
}
.madeira-grid .photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: unset;
}
.madeira-tall {
  grid-row: 1 / 3;
}

/* ═══════════════════════════════════════════════
   INFO CARDS
   ═══════════════════════════════════════════════ */
.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}
.info-card {
  background: #fff;
  border-radius: 14px;
  padding: 36px 28px 32px;
  border-top: 3px solid #ffa44f;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}
.info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.09);
}
.info-card-num {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #ffa44f;
  margin-bottom: 16px;
}
.info-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 14px;
}
.info-card-text {
  font-size: 0.88rem;
  color: #777;
  line-height: 1.8;
}
.info-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.info-card-list li {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.6;
  padding-left: 14px;
  position: relative;
}
.info-card-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: #ffa44f;
}
.info-card-note {
  font-size: 0.78rem;
  color: #aaa;
  line-height: 1.7;
  margin-top: 14px;
  font-style: italic;
}

/* ═══════════════════════════════════════════════
   SACRED FOREST — full-bleed split screen
   ═══════════════════════════════════════════════ */
.pj-forest-section {
  /* no extra padding — forest-layout fills edge to edge */
}
.forest-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 540px;
  align-items: stretch;
}
.forest-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px clamp(32px, 5vw, 80px);
  padding-left: clamp(32px, calc((100vw - 960px) / 2 + 48px), 240px);
}
.forest-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ffa44f;
  margin-bottom: 20px;
}
.forest-heading {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  color: #1a1a1a;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0;
}
.forest-body {
  font-size: 1rem;
  font-weight: 300;
  color: #555;
  line-height: 1.9;
  margin-top: 24px;
}
.forest-alive {
  font-style: italic;
  color: #444;
  margin-top: 20px;
  border-left: 2px solid #ffa44f;
  padding-left: 16px;
}
.forest-photo {
  overflow: hidden;
  border-radius: 0;
}
.forest-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: unset;
}

/* ═══════════════════════════════════════════════
   DREAMS — wider, outside container
   ═══════════════════════════════════════════════ */
.dream-list {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin: 64px auto 0;
  max-width: 1060px;
  padding: 0 40px;
}
.dream-item {
  display: grid;
  grid-template-columns: 56% 44%;
  gap: 64px;
  align-items: center;
}
.dream-item--flip .dream-media {
  order: 2;
}
.dream-item--flip .dream-text {
  order: 1;
}
.dream-media {
  border-radius: 16px;
  overflow: hidden;
}
.dream-media img {
  aspect-ratio: 4 / 3;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.dream-media:hover img {
  transform: scale(1.05);
}
.dream-num {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #ffa44f;
  margin-bottom: 18px;
}
.dream-title {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 300;
  color: #1a1a1a;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.dream-subtitle {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 14px;
  margin-top: -8px;
}
.dream-desc {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.9;
  font-weight: 400;
}
.dream-list-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dream-list-specs li {
  font-size: 0.93rem;
  color: #555;
  line-height: 1.6;
  padding-left: 16px;
  position: relative;
}
.dream-list-specs li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #ffa44f;
  font-size: 0.8rem;
}

/* ═══════════════════════════════════════════════
   CTA / CONTACT
   ═══════════════════════════════════════════════ */
.cta-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 72px;
  align-items: start;
}
.cta-heading {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 300;
  color: #1a1a1a;
  line-height: 1.22;
  letter-spacing: -0.025em;
  margin-top: 12px;
  margin-bottom: 28px;
}
.cta-body {
  font-size: 0.95rem;
  font-weight: 300;
  color: #666;
  line-height: 1.9;
  margin-bottom: 18px;
}
.cta-subheading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffa44f;
  margin-bottom: 10px;
  margin-top: 28px;
}

/* ── Contact card ── */
.contact-card {
  background: linear-gradient(145deg, #1c311f 0%, #0f1f12 100%);
  border-radius: 20px;
  padding: 40px 36px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 160px;
  height: 160px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  pointer-events: none;
}
.contact-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 12px;
}
.contact-name {
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 11px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  margin-top: 24px;
}
.contact-links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}
.contact-links a:hover {
  color: #fff;
}

/* ═══════════════════════════════════════════════
   TAGLINE
   ═══════════════════════════════════════════════ */
.future-tagline {
  background: #f5f5f3;
  padding: 100px 32px;
  text-align: center;
}
.future-tagline p {
  font-size: clamp(1.8rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(0, 0, 0, 0.07);
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 960px) {
  .info-cards {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  .forest-layout {
    grid-template-columns: 1fr;
    min-height: unset;
  }
  .forest-text {
    padding: 56px 32px;
    padding-left: 32px;
  }
  .forest-photo {
    min-height: 360px;
  }
  .cta-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .dream-item,
  .dream-item--flip {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .dream-item--flip .dream-media,
  .dream-item--flip .dream-text {
    order: unset;
  }
  .dream-list {
    gap: 64px;
    padding: 0 24px;
  }
}

@media (max-width: 700px) {
  .people-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .madeira-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 220px 220px 220px;
  }
  .madeira-tall {
    grid-row: unset;
    grid-column: 1 / -1;
  }
  .page-hero {
    padding: 110px 24px 64px;
  }
  .contact-card {
    padding: 32px 24px;
  }
  .dream-list {
    padding: 0 16px;
  }
}
