@import url('https://fonts.googleapis.com/css2?family=DM+Mono&family=Manrope:wght@400;600;700;800&display=swap');

:root {
  --black: #050505;
  --white: #f4f4f2;
  --gray: #a7a7a4;
  --dark: #1b1b1b;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--white);
  background: var(--black);
  font-family: Manrope, Arial, sans-serif;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-left: -0.08em;
  font-size: clamp(4.2rem, 12.7vw, 13.5rem);
  font-weight: 800;
  line-height: 0.78;
  letter-spacing: -0.105em;
}

h2 {
  font-size: clamp(2.6rem, 5.6vw, 6.4rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.dot { color: var(--gray); }
.section-pad { padding: clamp(5rem, 11vw, 11rem) 0; }
.eyebrow-row, .section-label, .eyebrow { font: 11px 'DM Mono'; letter-spacing: .04em; text-transform: uppercase; }

.hero-section {
  position: relative;
  min-height: 620px;
  height: 100svh;
  background: url('../images/hero-trama.webp') center / cover;
}
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .86), rgba(0, 0, 0, .26)); }
.hero-content { position: relative; z-index: 1; height: 100%; padding-top: 25px; padding-bottom: 45px; }
.eyebrow-row { display: flex; justify-content: space-between; }
.hero-copy { max-width: 300px; font-size: 1.05rem; line-height: 1.45; }
.round-link { display: flex; align-items: center; justify-content: center; width: 105px; height: 105px; margin-top: 38px; color: var(--white); border: 1px solid var(--white); border-radius: 50%; font: 10px 'DM Mono'; text-decoration: none; text-transform: uppercase; }

.lead-copy { max-width: 620px; margin: 50px 0 0; color: #d0d0ce; font-size: clamp(1.1rem, 1.8vw, 1.55rem); line-height: 1.55; }
.intro-section, .institutions-section { background: var(--black); }

.timeline-section { overflow: hidden; background: var(--dark); }
.timeline-head { display: flex; justify-content: space-between; margin-bottom: 75px; }
.timeline-head h2 { text-align: right; }
.timeline-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.timeline-track::before { position: absolute; top: 280px; right: 0; left: 0; content: ''; border-top: 1px solid #666; }
.timeline-item { position: relative; z-index: 1; color: var(--white); text-decoration: none; }
.timeline-item img { display: block; width: 100%; height: 260px; border-radius: 16px; filter: grayscale(1); object-fit: cover; transition: .4s; }
.timeline-item:hover img { filter: grayscale(0); transform: translateY(-8px); }
.timeline-copy { position: relative; padding-top: 49px; }
.timeline-copy::before { position: absolute; top: -6px; left: 0; width: 12px; height: 12px; content: ''; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 6px var(--dark); }
.timeline-copy p, .timeline-copy b { font: 10px 'DM Mono'; text-transform: uppercase; }
.timeline-copy h3 { margin: 15px 0 18px; font-size: clamp(1.3rem, 2vw, 2.25rem); line-height: 1.04; letter-spacing: -.05em; }
.timeline-copy b { color: var(--gray); }

.statement-section { min-height: 70vh; background: #101010; }
.statement-section h2 { max-width: 1100px; font-size: clamp(3.3rem, 7vw, 8.4rem); }
.statement-mark { margin-bottom: 70px; color: var(--gray); font-size: 60px; }
.institutions-section { border-top: 1px solid #3f3f3f; }
.institutions-section h2 { margin-top: 35px; font-size: clamp(2.7rem, 4.2vw, 5rem); }
.logo-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #555; }
.logo-grid div { display: flex; flex-direction: column; justify-content: space-between; min-height: 200px; padding: 26px; border-right: 1px solid #555; border-bottom: 1px solid #555; }
.logo-grid strong { font-size: clamp(1.25rem, 2.3vw, 2.1rem); line-height: .85; letter-spacing: -.09em; }
.logo-grid i, .meta { color: var(--gray); font: 10px 'DM Mono'; font-style: normal; text-transform: uppercase; }

.back-control { position: fixed; z-index: 10; top: 22px; left: 22px; padding: 12px 16px; color: var(--white); border: 1px solid var(--white); border-radius: 50px; background: var(--black); font: 11px 'DM Mono'; text-decoration: none; text-transform: uppercase; }
.project-hero { position: relative; min-height: 85vh; background-position: center; background-size: cover; filter: grayscale(.55); }
.project-hero::after { position: absolute; inset: 0; content: ''; background: linear-gradient(90deg, rgba(0, 0, 0, .8), rgba(0, 0, 0, .08)); }
.project-hero .container-fluid { position: relative; z-index: 1; padding-top: 24vh; }
.project-type { font: 11px 'DM Mono'; text-transform: uppercase; }
.project-hero h1 { max-width: 1050px; margin-top: 24px; font-size: clamp(3.7rem, 10vw, 10.5rem); }
.project-info { background: var(--black); }
.project-info p { max-width: 720px; font-size: clamp(1.25rem, 2.1vw, 2rem); line-height: 1.42; }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 15px; }
.gallery figure { margin: 0; overflow: hidden; }
.gallery figure:nth-child(1), .gallery figure:nth-child(4) { grid-column: span 7; }
.gallery figure:nth-child(2), .gallery figure:nth-child(3) { grid-column: span 5; }
.gallery img { width: 100%; height: 100%; min-height: 350px; filter: grayscale(1); object-fit: cover; }
.project-next { background: var(--dark); }
.project-next a { color: var(--white); font-size: clamp(2.8rem, 6vw, 7rem); font-weight: 700; letter-spacing: -.07em; text-decoration: none; }

@media (max-width: 991px) {
  .timeline-track { grid-template-columns: repeat(2, 1fr); row-gap: 45px; }
  .timeline-track::before, .timeline-copy::before { display: none; }
  .timeline-copy { padding-top: 25px; }
  .timeline-head { display: block; }
  .timeline-head h2 { margin-top: 35px; text-align: left; }
  .gallery figure:nth-child(n) { grid-column: span 6; }
}

@media (max-width: 575px) {
  .hero-section { min-height: 600px; }
  .section-pad { padding: 76px 0; }
  .timeline-track { display: flex; padding-right: 16px; margin-right: -16px; overflow-x: auto; scroll-snap-type: x mandatory; }
  .timeline-item { min-width: 78vw; scroll-snap-align: start; }
  .timeline-item img { height: 300px; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-grid div { min-height: 150px; padding: 18px; }
  .gallery figure:nth-child(n) { grid-column: span 12; }
  .back-control span { display: none; }
  .project-hero { min-height: 76svh; }
}
