/* =========================================
   PEDRO BELO
   Homepage v1.0
   ========================================= */

/* ---------- HERO ---------- */

.home-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background: #000;
}

.home-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(10,10,10,.35) 0%, rgba(10,10,10,.15) 40%, rgba(10,10,10,.85) 100%);
}

.home-hero__content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 var(--space-md);
  gap: var(--space-md);
}

.home-hero__brand {
  font-family: var(--font-serif);
  font-size: var(--fs-small);
  letter-spacing: var(--letter-wide);
  color: var(--text-primary);
  opacity: .9;
}

.home-hero__title {
  font-size: var(--fs-hero);
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.05;
  margin: var(--space-xs) 0;
  color: var(--text-primary);
}

.home-hero__tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.home-hero__cta {
  margin-top: var(--space-sm);
}

.home-hero__scroll {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: var(--text-secondary);
  font-size: 20px;
  animation: floatDown 2.4s ease-in-out infinite;
}

@keyframes floatDown {
  0%, 100% { transform: translate(-50%, 0); opacity: .6; }
  50%      { transform: translate(-50%, 8px); opacity: 1; }
}

/* ---------- SECTIONS ---------- */

.home-section {
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

.home-section__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.home-section__title {
  font-size: var(--fs-section);
  margin-top: var(--space-sm);
}

/* ---------- COLLECTIONS ---------- */

.home-collections {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl) var(--space-lg);
}

@media (max-width: 768px) {
  .home-collections { grid-template-columns: 1fr; gap: var(--space-lg); }
}

.home-collection-card {
  display: block;
  color: var(--text-primary);
}

.home-collection-card__figure {
  position: relative;
  margin: 0 0 var(--space-md) 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-secondary);
}

.home-collection-card__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease),
              opacity var(--dur-mid) var(--ease);
}

.home-collection-card:hover .home-collection-card__figure img {
  transform: scale(1.04);
  opacity: .85;
}

.home-collection-card__title {
  font-family: var(--font-serif);
  font-size: 32px;
  margin-bottom: var(--space-xs);
}

.home-collection-card__desc {
  color: var(--text-secondary);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  margin-bottom: var(--space-sm);
}

.home-collection-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
}

.home-collection-card__cta .arrow {
  transition: transform var(--dur-mid) var(--ease);
}

.home-collection-card:hover .home-collection-card__cta .arrow {
  transform: translateX(6px);
}

/* ---------- FEATURED STORY ---------- */

.home-featured {
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

.home-featured__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (max-width: 1024px) {
  .home-featured__grid { grid-template-columns: 1fr; gap: var(--space-lg); }
}

.home-featured__figure {
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--bg-secondary);
}

.home-featured__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}

.home-featured__figure:hover img { transform: scale(1.03); }

.home-featured__title {
  font-size: var(--fs-section);
  margin: var(--space-sm) 0 var(--space-xs);
}

.home-featured__location {
  margin-bottom: var(--space-md);
}

.home-featured__excerpt {
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: var(--lh-normal);
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

/* ---------- QUOTE ---------- */

.home-quote {
  text-align: center;
  padding-top: var(--space-xxl);
  padding-bottom: var(--space-xxl);
}

.home-quote blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 36px;
  line-height: var(--lh-normal);
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .home-quote blockquote { font-size: 24px; }
}

/* ---------- SELECTED WORKS ---------- */

.home-works {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

@media (max-width: 1024px) {
  .home-works { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .home-works { grid-template-columns: 1fr; }
}

.home-work {
  display: block;
  color: var(--text-primary);
}

.home-work__figure {
  margin: 0 0 var(--space-sm) 0;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--bg-secondary);
}

.home-work__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease),
              opacity var(--dur-mid) var(--ease);
}

.home-work:hover .home-work__figure img {
  transform: scale(1.04);
  opacity: .85;
}

.home-work__title {
  font-family: var(--font-serif);
  font-size: 22px;
  text-align: center;
}

/* ---------- MANIFESTO ---------- */

.home-manifesto {
  text-align: center;
  padding-top: var(--space-xxl);
  padding-bottom: var(--space-xxl);
}

.home-manifesto__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.home-manifesto__text {
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 2;
  color: var(--text-primary);
  margin: var(--space-md) 0;
}

.home-manifesto__text p {
  margin: 0;
}

@media (max-width: 768px) {
  .home-manifesto__text { font-size: 20px; line-height: 1.9; }
}

/* ---------- Header overrides on home ---------- */
.site-header--home { background: transparent; }
