/* ============================================================
   THE LITARN — Homepage Styles
   home.css: hero, latest, quote band, departments, newsletter
   ============================================================ */

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: var(--cream);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__grain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__ink {
  position: absolute;
  left: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: 55%;
  height: 90%;
  will-change: transform;
  transition: transform 0.05s linear;
}

.hero__rose {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
  height: 75%;
  will-change: transform;
  transition: transform 0.05s linear;
}

.hero__branch {
  position: absolute;
  top: -5%;
  right: -3%;
  width: 48%;
  height: 75%;
  will-change: transform;
  transition: transform 0.05s linear;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 8rem clamp(2rem, 6vw, 8rem) 6rem;
  max-width: 700px;
}

.hero__issue-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe);
  display: block;
  margin-bottom: 1.75rem;
}

.hero__title {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 1.03;
  color: var(--ink);
  max-width: 580px;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.hero__subtext {
  font-family: 'Inter', sans-serif;
  font-size: clamp(13px, 1.5vw, 15px);
  font-weight: 300;
  color: var(--gray);
  max-width: 360px;
  line-height: 1.8;
  margin-bottom: 2.75rem;
}

.hero__cta {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 0.5px solid var(--ink);
  padding-bottom: 2px;
  display: inline-block;
  transition: color var(--transition), border-color var(--transition);
}

.hero__cta:hover {
  color: #8a6363;
  border-color: #8a6363;
}

/* Hero collage — right side decorative composition */
.hero__collage {
  position: absolute;
  right: 0;
  top: 0;
  width: 44%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 1024px) {
  .hero__collage {
    width: 50%;
    opacity: 0.55;
  }
}

@media (max-width: 768px) {
  .hero__collage {
    width: 100%;
    opacity: 0.25;
  }

  .hero__content {
    padding: 7rem 1.5rem 5rem;
    max-width: 100%;
  }

  .hero__title {
    font-size: clamp(2.8rem, 10vw, 4.5rem);
    max-width: 100%;
  }
}

/* ===== LATEST SECTION ===== */
.latest {
  padding: 5rem clamp(1.5rem, 6vw, 8rem);
}

.latest__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 0.5px solid rgba(18, 18, 18, 0.12);
}

.latest__label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe);
}

.latest__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

/* ===== ARTICLE CARD ===== */
.article-card {
  display: block;
  cursor: pointer;
  padding-bottom: 1rem;
}

.article-card__image-wrap {
  aspect-ratio: 16 / 9;
  background: var(--beige);
  overflow: hidden;
  margin-bottom: 1.25rem;
  position: relative;
}

.article-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.article-card:hover .article-card__image {
  transform: scale(1.04);
}

.article-card__category {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe);
  display: block;
  margin-bottom: 0.6rem;
}

.article-card__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 0.8rem;
  transition: color var(--transition);
}

.article-card:hover .article-card__title {
  color: var(--gray);
}

.article-card__meta {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  font-style: italic;
  color: var(--taupe);
}

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

@media (max-width: 480px) {
  .latest__grid {
    grid-template-columns: 1fr;
  }
}

/* ===== EDITORIAL QUOTE BAND ===== */
.quote-band {
  width: 100%;
  background: var(--beige);
  padding: 5.5rem clamp(1.5rem, 6vw, 8rem);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.quote-band__brush {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%);
  width: 90%;
  height: 55%;
  pointer-events: none;
  z-index: 0;
}

.quote-band blockquote {
  position: relative;
  z-index: 2;
}

.quote-band__text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--ink);
  max-width: 720px;
  margin: 0 auto 1.25rem;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

.quote-band__attribution {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  font-style: italic;
  color: var(--taupe);
  position: relative;
  z-index: 1;
}

/* ===== DEPARTMENTS SECTION ===== */
.departments {
  padding: 5rem clamp(1.5rem, 6vw, 8rem);
}

.departments__header {
  margin-bottom: 2.5rem;
}

.departments__label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe);
}

.departments__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.dept-card {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 2rem 3.5rem;
  background: var(--beige);
  text-align: center;
  cursor: pointer;
  transition: background var(--transition);
  display: block;
}

.dept-card:hover {
  background: var(--rose);
}

.dept-card__texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.dept-card__texture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0.22;
  transition: opacity 0.4s ease, transform 0.6s ease;
}

.dept-card:hover .dept-card__texture img {
  opacity: 0.32;
  transform: scale(1.04);
}

.dept-card__name {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.dept-card__desc {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: var(--gray);
  max-width: 220px;
  margin: 0 auto 1.75rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.dept-card__cta {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 0.5px solid var(--ink);
  padding-bottom: 1px;
  position: relative;
  z-index: 1;
  display: inline-block;
  transition: color var(--transition), border-color var(--transition);
}

.dept-card:hover .dept-card__cta {
  color: var(--gray);
  border-color: var(--gray);
}

@media (max-width: 768px) {
  .departments__grid {
    grid-template-columns: 1fr;
  }
}

/* ===== NEWSLETTER SECTION (homepage) ===== */
.newsletter-band {
  background: var(--ink);
  padding: 6rem clamp(1.5rem, 6vw, 8rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter-band__headline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--cream);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.newsletter-band__subtext {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: rgba(244, 241, 236, 0.5);
  margin-bottom: 2.75rem;
  position: relative;
  z-index: 1;
}

.newsletter-form {
  display: flex;
  align-items: flex-end;
  max-width: 460px;
  margin: 0 auto 1rem;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.newsletter-form__input {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 0.5px solid rgba(184, 173, 164, 0.5);
  color: var(--cream);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 300;
  padding: 0.5rem 0;
  outline: none;
  transition: border-color var(--transition);
}

.newsletter-form__input::placeholder {
  color: rgba(244, 241, 236, 0.35);
}

.newsletter-form__input:focus {
  border-color: var(--rose);
}

.newsletter-form__submit {
  background: none;
  border: none;
  border-bottom: 0.5px solid rgba(244, 241, 236, 0.5);
  color: var(--cream);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding-bottom: 1px;
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--transition), border-color var(--transition);
}

.newsletter-form__submit:hover {
  color: var(--rose);
  border-color: var(--rose);
}

.newsletter-band__fine {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  color: rgba(184, 173, 164, 0.55);
  letter-spacing: 0.12em;
  position: relative;
  z-index: 1;
}
