 /* =========================================================
   ELENA LESHCHEVA PORTFOLIO 
   Structure:
   1. Base / typography
   2. Shared header, nav, footer
   3. Homepage
   4. Project pages
   5. Page-specific colours/backgrounds
   6. Lightbox
   7. Responsive
========================================================= */

/* 1. BASE */
html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

body {
  width: 100%;
  min-height: 100%;
  cursor: default;
  overflow-x: hidden;
  background-image: url("background /background site.png");
  background-size: cover;
  background-attachment: fixed;
  font-family: Arial, Helvetica, sans-serif;
  color: #111;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

/* 2. SHARED LAYOUT */
.site-frame {
  min-height: 100vh;
  padding: 22px;
  display: flex;
  flex-direction: column;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  padding-bottom: 45px;
}

.name-block h1,
.home-title h1,
.home-intro h2,
.project-chapter h2,
.archive-heading h2 {
  font-family: 'Archivo Black', Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: -0.07em;
}

.name-block h1 {
  font-size: 7rem;
  line-height: 0.82;
}

.name-block p {
  margin-top: 14px;
  max-width: 560px;
  font-size: 0.95rem;
  line-height: 1.45;
}

.site-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-nav a,
.feature-links a {
  border: 1px solid #111;
  padding: 8px 11px;
  border-radius: 999px;
  background: #B7FF39;
  transition: transform 0.18s ease, background 0.18s ease;
}

.site-nav a:hover,
.feature-links a:hover {
  transform: translateY(-2px) rotate(-1deg);
  background: #fff;
}

.footer-strip {
  margin-top: auto;
  margin-left: -22px;
  margin-right: -22px;
  margin-bottom: -22px;
  padding: 18px 40px;
  background: white;
  border-top: 12px solid white;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-strip a {
  border-bottom: 1px solid #111;
}

/* 3. HOMEPAGE */
.home-frame {
  padding-bottom: 0;
}

.home-cover {
  min-height: 92vh;
  display: grid;
  grid-template-columns: 1.1fr 0.75fr;
  grid-template-rows: auto 1fr;
  gap: 32px;
  align-items: flex-start;
  padding-bottom: 70px;
}

.home-title h1 {
  font-size: clamp(4rem, 8.8vw, 9.5rem);
  line-height: 0.82;
}

.home-title p {
  max-width: 430px;
  margin-top: 18px;
  line-height: 1.45;
}

.home-nav {
  justify-self: end;
}

.home-image {
  grid-column: 1 / 2;
  width: 100%;
  align-self: flex-end;
}

.home-image img {
  width: 100%;
  max-height: 48vh;
  object-fit: cover;
  display: block;
}

.home-intro {
  grid-column: 2 / 3;
  align-self: flex-end;
  max-width: 520px;
  padding-bottom: 3vh;
}

.home-intro h2 {
  font-size: clamp(3rem, 5vw, 5.4rem);
  line-height: 0.9;
  margin-bottom: 14px;
}

.home-intro p {
  line-height: 1.45;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  margin-bottom: 10px;
}

.feature-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.archive-list {
  margin-left: -22px;
  margin-right: -22px;
  padding: 70px 40px 80px;
  background: #B7FF39;
}

.archive-heading {
  margin-bottom: 28px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.archive-heading h2 {
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.9;
}

.archive-heading p {
  max-width: 470px;
  line-height: 1.45;
}

.archive-links a {
  display: grid;
  grid-template-columns: 60px minmax(220px, 1fr) minmax(260px, 1fr);
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid #111;
  align-items: baseline;
}

.archive-links a:last-child {
  border-bottom: 1px solid #111;
}

.archive-links a:hover strong {
  font-style: italic;
}

.archive-links strong {
  font-size: 1.45rem;
  text-transform: uppercase;
}

.archive-links em {
  font-style: normal;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* 4. PROJECT PAGES */
.project-chapter {
  max-width: 850px;
  margin: 65px 0 35px;
}

.project-chapter h2 {
  font-size: clamp(3rem, 6vw, 6.8rem);
  line-height: 0.86;
  margin-bottom: 18px;
}

.project-chapter p {
  max-width: 620px;
  line-height: 1.45;
}

.editorial-grid {
  width: min(92vw, 1380px);
  margin: 55px auto 95px;
  display: grid;
  gap: 26px;
}

.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.editorial-image,
.surface-image,
.identity-image {
  width: 100%;
  display: block;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.06);
  transition: transform 0.18s ease;
}

.editorial-image:hover,
.surface-image:hover,
.identity-image:hover,
.fragments-image:hover {
  transform: translateY(-3px);
}

.fragments-grid {
  width: min(96vw, 1500px);
  margin: 55px auto 95px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.fragments-image {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.18s ease;
}

/* 5. PAGE-SPECIFIC WORLDS */
.brands-page {
  background-image: url("background /brandsbackground.png");
  background-size: cover;
  background-repeat: repeat;
  background-attachment: fixed;
}

.brands-page .site-nav a,
.brands-page .feature-links a,
.brands-page .footer-strip {
  background: #D1D100;
}

.brands-page .footer-strip {
  border-top-color: #D1D100;
}

.pre-collection-page {
  background-image: url("background /prebackground.png");
  background-size: cover;
  background-repeat: repeat;
  background-attachment: fixed;
}

.pre-collection-page .site-nav a,
.pre-collection-page .feature-links a,
.pre-collection-page .footer-strip {
  background: #87EFFF;
}

.pre-collection-page .footer-strip {
  border-top-color: #87EFFF;
}

.about-page {
  background-image: url("background /backgroundcollection.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.about-page .site-nav a,
.about-page .feature-links a,
.about-page .footer-strip {
  background: #94EAFF;
}

.about-page .footer-strip {
  border-top-color: #94EAFF;
}

.fragments-page {
  background-image: url("background /lines.jpeg");
  background-size: cover;
  background-repeat: repeat;
  background-attachment: fixed;
}

.fragments-page .site-nav a,
.fragments-page .feature-links a,
.fragments-page .footer-strip {
  background: #87EFFF;
}

.fragments-page .footer-strip {
  border-top-color: #87EFFF;
}

.contact-page {
  background-image: url("background /backgroundcollection.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.contact-page .site-nav a,
.contact-page .feature-links a,
.contact-page .footer-strip {
  background: #94EAFF;
}

.contact-page .footer-strip {
  border-top-color: #94EAFF;
}

.surface-page {
  background-image: url("surfaceproject/backroundsurface.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.surface-page .site-nav a,
.surface-page .feature-links a,
.surface-page .footer-strip {
  background: #87EFFF;
}

.surface-page .footer-strip {
  border-top-color: #87EFFF;
}

.last-bell-page {
  background-image: url("IDENTITYPROJECT/50541b521f244e13a07d8ad70f247c6d.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.last-bell-page .site-nav a,
.last-bell-page .feature-links a,
.last-bell-page .footer-strip {
  background: #D98989;
}

.last-bell-page .footer-strip {
  border-top-color: #D98989;
}

.about-hero {
  margin: 20px 0 70px;
}

.about-hero img {
  width: 100%;
  max-height: 60vh;
  object-fit: cover;
  display: block;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 70px;
}

.about-grid h2 {
  font-family: 'Archivo Black', sans-serif;
  font-size: 4rem;
  text-transform: uppercase;
  line-height: 0.9;
}

.about-grid h3 {
  font-family: 'Archivo Black', sans-serif;
  font-size: 2rem;
  text-transform: uppercase;
}

.about-grid p {
  line-height: 1.6;
}

.contact-section {
  max-width: 1000px;
  margin: 80px 0;
}

.contact-section h2 {
  font-family: 'Archivo Black', sans-serif;
  font-size: 5rem;
  line-height: 0.9;
  text-transform: uppercase;
  margin-bottom: 60px;
}

.contact-links-large {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-links-large a {
  font-size: 2rem;
  text-transform: uppercase;
  border-top: 1px solid #111;
  padding-top: 16px;
}

.contact-links-large a:last-child {
  border-bottom: 1px solid #111;
  padding-bottom: 16px;
}

.collection-page {
  background-image: url("background /backgroundcollection.png");
  background-size: cover;
  background-repeat: repeat;
  background-attachment: fixed;
}

.collection-page .site-nav a,
.collection-page .feature-links a,
.collection-page .footer-strip {
  background: #87EFFF;
}

.collection-page .footer-strip {
  border-top-color: #87EFFF;
}

/* 6. LIGHTBOX */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.92);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.lightbox img {
  max-width: 96%;
  max-height: 96%;
  object-fit: contain;
  display: block;
}

.clickable-image {
  cursor: pointer;
}

/* ABOUT PAGE */

.about-page .page-header,
.contact-page .page-header {
  padding-bottom: 60px;
}

.about-hero {
  width: 100%;
  margin: 0 0 70px 0;
}

.about-hero img {
  width: 100%;
  height: 55vh;
  object-fit: cover;
  display: block;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  margin-bottom: 90px;
}

.about-grid h2 {
  font-family: 'Archivo Black', Arial, sans-serif;
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.about-grid h3 {
  font-family: 'Archivo Black', Arial, sans-serif;
  font-size: 1.8rem;
  text-transform: uppercase;
}

.about-grid p {
  max-width: 650px;
  line-height: 1.6;
}

/* CONTACT PAGE */

.contact-section {
  max-width: 1100px;
  margin: 40px 0 120px;
}

.contact-section h2 {
  font-family: 'Archivo Black', Arial, sans-serif;
  font-size: 3rem;
  line-height: 0.9;
  text-transform: uppercase;
  margin-bottom: 50px;
}

.contact-links-large {
  display: flex;
  flex-direction: column;
}

.contact-links-large a {
  display: block;
  padding: 22px 0;
  border-top: 1px solid #111;
  font-size: 1.8rem;
  text-transform: uppercase;
  transition: padding-left 0.2s ease;
}

.contact-links-large a:hover {
  padding-left: 18px;
}

.contact-links-large a:last-child {
  border-bottom: 1px solid #111;
}

/* 7. RESPONSIVE */
@media (max-width: 900px) {
  .site-frame {
    padding: 18px;
  }

  .page-header {
    flex-direction: column;
    padding-bottom: 28px;
  }

  .name-block h1 {
    font-size: 3.4rem;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .home-cover {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .home-nav,
  .home-image,
  .home-intro {
    grid-column: 1;
  }

  .home-title h1 {
    font-size: 4rem;
  }

  .home-image img {
    max-height: none;
  }

  .archive-heading {
    flex-direction: column;
  }

  .archive-links a {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .two-column,
  .identity-grid,
  .surface-grid {
    grid-template-columns: 1fr;
  }

  .fragments-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-strip {
    padding: 18px;
  }
}
