/* Maria Sol — portfolio site
   Design system: Helvetica Neue, white background, flat layout.
   Mirrors the PDF brand (MARIA_SOL_PORTFOLIO_REQUIREMENTS.md). */

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: #ffffff;
  color: #111;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: #c8a882; }

/* ── Layout shell ────────────────────────────────────────────── */
.site {
  display: flex;
  align-items: flex-start;
  min-height: 100vh;
}

.nav {
  width: 220px;
  flex-shrink: 0;
  border-right: 1px solid #e0e0e0;
  padding: 56px 32px;
  position: sticky;
  top: 0;
  align-self: flex-start;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav-brand {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 4px;
}
.nav-brand-thin {
  font-weight: 200;
  color: #bbb;
  display: block;
}
.nav-role {
  font-size: 8px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 40px;
}

.nav-list { list-style: none; }
.nav-list li { margin-bottom: 18px; }
.nav-list a {
  font-size: 9px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #444;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}
.nav-list a.active,
.nav-list a:hover {
  color: #111;
  border-bottom-color: #111;
}
.nav-list .sub {
  display: block;
  margin-top: 10px;
  margin-left: 16px;
  font-size: 8px;
  letter-spacing: 3px;
  color: #888;
}

.nav-contact {
  font-size: 8px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #aaa;
  line-height: 1.9;
}

.main {
  flex: 1;
  padding: 56px 64px 96px;
  max-width: 1100px;
}

/* ── Home ────────────────────────────────────────────────────── */
.home-hero {
  display: flex;
  gap: 48px;
  align-items: flex-end;
  margin-bottom: 64px;
}
.home-hero-img {
  width: 55%;
  background: #f5f4f2;
  padding: 24px;
}
.home-hero-img img { width: 100%; }
.home-hero-text { width: 45%; padding-bottom: 8px; }

.cover-name {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -2px;
  text-transform: uppercase;
  line-height: 0.9;
}
.cover-name-thin {
  font-weight: 200;
  color: #bbb;
}
.cover-legal {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #aaa;
  margin-top: 24px;
}
.cover-tagline {
  font-size: 12px;
  font-weight: 300;
  color: #888;
  line-height: 1.7;
  margin-top: 24px;
}

.eyebrow {
  font-size: 8px;
  letter-spacing: 7px;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 18px;
}

.body-text {
  font-size: 13px;
  line-height: 1.95;
  color: #555;
  max-width: 620px;
}
.body-text p + p { margin-top: 14px; }

/* ── Tags ────────────────────────────────────────────────────── */
.tags { margin: 16px 0 0; }
.tag {
  display: inline-block;
  border: 1.5px solid #111;
  background: transparent;
  color: #111;
  font-size: 8px;
  letter-spacing: 4px;
  text-transform: uppercase;
  padding: 6px 14px;
  margin-right: 8px;
  margin-bottom: 8px;
  font-weight: 500;
}

/* ── Works grid (home) ───────────────────────────────────────── */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.work-card {
  display: block;
  background: #f7f6f4;
  border: 1px solid #e0e0e0;
  padding: 18px;
}
.work-card-img {
  background: #fff;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  overflow: hidden;
}
.work-card-img img {
  width: 100%; height: 100%; object-fit: contain;
}
.work-card-num {
  font-size: 8px;
  letter-spacing: 1px;
  color: #ccc;
}
.work-card-title {
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  margin-top: 6px;
}
.work-card-meta {
  font-size: 8px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #bbb;
  margin-top: 10px;
}

/* ── Work page ───────────────────────────────────────────────── */
.work-page {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 48px;
}
.work-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.work-photo {
  background: #f7f6f4;
  border: 1px solid #e0e0e0;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.work-photo img { object-fit: contain; }

.work-text { padding-top: 8px; }
.work-num {
  font-size: 8px;
  letter-spacing: 7px;
  text-transform: uppercase;
  color: #ccc;
}
.work-title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -1px;
  text-transform: uppercase;
  line-height: 1;
  margin-top: 14px;
}
.work-meta {
  font-size: 8px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #bbb;
  margin-top: 22px;
  line-height: 2.2;
}
.work-description {
  font-size: 12.5px;
  color: #666;
  line-height: 1.95;
  margin-top: 24px;
}
.work-description p + p { margin-top: 12px; }

.venue {
  font-size: 11px;
  line-height: 1.8;
  color: #888;
  padding-left: 12px;
  border-left: 2px solid #e0e0e0;
  margin-top: 8px;
}
.venue strong { color: #444; font-weight: 600; }

.credit {
  font-size: 9px;
  letter-spacing: 2px;
  color: #aaa;
  margin-top: 18px;
  font-style: italic;
}

/* ── CV / lists ──────────────────────────────────────────────── */
.section-title {
  font-size: 8px;
  letter-spacing: 7px;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 18px;
  margin-top: 36px;
}
.section-title:first-child { margin-top: 0; }

.cv-row {
  display: flex;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 12px;
  color: #444;
  line-height: 1.7;
}
.cv-row .year {
  font-size: 9px;
  letter-spacing: 1px;
  color: #bbb;
  width: 90px;
  flex-shrink: 0;
}
.cv-row .title { flex: 1; color: #111; font-weight: 500; }
.cv-row .meta { color: #888; font-size: 11px; flex: 1; padding-left: 16px; }

/* ── Films grid ──────────────────────────────────────────────── */
.films-list { margin-top: 12px; }
.film-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid #e0e0e0;
}
.film-row .year {
  font-size: 9px;
  letter-spacing: 2px;
  color: #bbb;
  padding-top: 4px;
}
.film-title {
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  line-height: 1.05;
}
.film-meta {
  font-size: 8px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #bbb;
  margin-top: 8px;
}
.film-syn {
  font-size: 12.5px;
  color: #666;
  line-height: 1.8;
  margin-top: 12px;
  max-width: 620px;
}
.film-link {
  display: inline-block;
  font-size: 8px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #111;
  border-bottom: 1px solid #111;
  padding-bottom: 2px;
  margin-top: 12px;
}

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  margin-top: 96px;
  padding-top: 32px;
  border-top: 1px solid #e0e0e0;
  font-size: 8px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #aaa;
  line-height: 1.9;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .site { flex-direction: column; }
  .nav {
    width: 100%;
    height: auto;
    position: static;
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
    padding: 32px;
  }
  .nav-list { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 24px; }
  .nav-list li { margin-bottom: 0; }
  .nav-list .sub { display: none; }
  .main { padding: 32px; }
  .home-hero { flex-direction: column; gap: 24px; }
  .home-hero-img, .home-hero-text { width: 100%; }
  .cover-name { font-size: 40px; }
  .works-grid { grid-template-columns: 1fr; }
  .work-page { grid-template-columns: 1fr; }
}
