
:root {
  --max: 1100px;
  --text: #111;
  --muted: #666;
  --bg: #fff;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text); background: var(--bg);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

.ceci-logo {
  position: absolute;
  top: 32px; left: 56px;
  z-index: 5;
  display: block;
  text-decoration: none;
}
.ceci-logo img {
  width: 97px; height: 20px; display: block;
}

.page-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 18px 56px;
  display: flex; justify-content: space-between; align-items: center;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  z-index: 100;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.page-nav.visible { transform: translateY(0); }
.page-nav .logo {
  display: flex; align-items: center; text-decoration: none;
}
.page-nav .logo img {
  width: 87px; height: 18px; display: block;
}
.page-nav nav a {
  margin-left: 32px; text-decoration: none; text-transform: uppercase;
  font-weight: 500; font-size: 14px; letter-spacing: 0.5px;
}
.page-nav nav a:hover { opacity: 0.6; }

.hero {
  width: 100%;
  height: 66.67vh;
  background: #f8f8f8;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.hero img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

.project-intro {
  max-width: var(--max); margin: 96px auto 64px;
  padding: 0 56px; text-align: center;
}
.project-intro .brand {
  font-size: 14px; font-weight: 700;
  color: var(--text); letter-spacing: 0.2em;
  margin: 0 0 16px;
}

/* === UNIFIED TYPOGRAPHY (3 levels) === */
/* Level 1: Heading — used for project title + every section title */
.project-intro .title,
.content-section h2 {
  font-size: 26px; font-weight: 600;
  color: var(--text); line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}
/* Level 2: Body — used for project description + section paragraphs */
.project-intro .description,
.content-section p {
  font-size: 18px; font-weight: 400;
  color: #333; line-height: 1.7;
  margin: 0 0 16px;
  max-width: 760px;
  white-space: pre-wrap;
}
.project-intro .description { max-width: 720px; margin: 0 auto; }
/* Level 3: Description — used for image captions / subtitles */
.content-section h3,
.content-section .description {
  font-size: 14px; font-weight: 400;
  color: var(--muted); line-height: 1.6;
  margin: 0 0 16px;
}

.content-section {
  max-width: var(--max); margin: 64px auto;
  padding: 0 56px;
}

/* Each "image + caption" block within a section */
.image-block {
  margin: 40px 0;
}
.image-block:first-child { margin-top: 24px; }
.image-block:last-child { margin-bottom: 0; }
.image-block .images { margin-bottom: 12px; }
.image-block .caption {
  font-size: 14px; font-weight: 400;
  color: var(--muted); line-height: 1.6;
  margin: 12px 0 0;
  white-space: pre-wrap;
}
.image-block p:not(.caption) {
  font-size: 18px; font-weight: 400;
  color: #333; line-height: 1.7;
  margin: 12px 0 0;
}
.content-section .images {
  display: grid; gap: 16px; margin-top: 24px;
}
.content-section .images.cols-1 { grid-template-columns: 1fr; }
.content-section .images.cols-2 { grid-template-columns: repeat(2, 1fr); }
.content-section .images.cols-3 { grid-template-columns: repeat(3, 1fr); }
.content-section img {
  width: 100%; height: auto; display: block;
  border-radius: 4px;
}

.next-project {
  max-width: var(--max); margin: 96px auto 0;
  padding: 48px 56px;
  border-top: 1px solid #eee;
  display: flex; justify-content: space-between; align-items: center;
}
.next-project a { text-decoration: none; font-weight: 500; }
.next-project a:hover { opacity: 0.6; }

.page-footer {
  max-width: var(--max); margin: 32px auto 0;
  padding: 24px 56px 64px;
  color: var(--muted); font-size: 14px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
}
.page-footer .socials {
  display: flex; gap: 16px; align-items: center;
}
.page-footer .socials a { display: block; line-height: 0; }
.page-footer .socials a img {
  width: 24px; height: 24px; display: block;
  opacity: 0.85; transition: opacity 0.2s;
}
.page-footer .socials a:hover img { opacity: 1; }
.page-footer .copyright { margin: 0; }

@media (max-width: 768px) {
  .ceci-logo { top: 20px; left: 24px; }
  .ceci-logo img { width: 87px; height: 18px; }
  .page-nav { padding: 14px 24px; }
  .page-nav nav a { margin-left: 16px; }
  .project-intro, .content-section, .next-project, .page-footer {
    padding-left: 24px; padding-right: 24px;
  }
  .hero { height: 50vh; }
  .content-section .images.cols-2,
  .content-section .images.cols-3 { grid-template-columns: 1fr; }
}
