/* ==========================================================================
   T-01 — homepage, Parchment v5.
   ========================================================================== */

/* — hero — */
.es-home-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--es-canvas) 0%, var(--es-umber-300) 52%, var(--es-umber-400) 100%);
}
.es-home-hero__watermark {
  position: absolute; left: 20%; top: 30%;
  font-family: var(--es-font-script); font-size: 300px; line-height: 0.8;
  color: var(--es-brass-600); opacity: 0.05; pointer-events: none;
}
.es-home-hero__script {
  position: absolute; left: 48px; bottom: 84px;
  font-family: var(--es-font-script); font-size: 26px; line-height: 1;
  letter-spacing: 0.06em; white-space: nowrap;
  color: var(--es-brass-600); opacity: 0.09; pointer-events: none;
}
.es-home-hero__grid {
  position: relative;
  display: grid; grid-template-columns: 1fr 0.8fr 232px;
  min-height: 620px;
}
.es-home-hero__copy {
  padding: 74px 48px 80px;
  display: flex; flex-direction: column; justify-content: center; gap: 22px;
}
.es-home-hero__copy h1 { font-size: clamp(42px, 5vw, 72px); line-height: 1.1; color: var(--es-umber-800); }
.es-home-hero__lede {
  font-family: var(--es-font-display);
  font-size: 19px; line-height: 1.7; color: var(--es-ink-soft); max-width: 410px;
}
.es-home-hero__actions { display: flex; align-items: center; gap: 34px; margin-top: 14px; flex-wrap: wrap; }

.es-home-hero__media { position: relative; overflow: hidden; min-height: 420px; }
.es-home-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.es-home-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, color-mix(in srgb, var(--es-umber-300) 76%, transparent) 0%, transparent 45%);
  pointer-events: none;
}
.es-home-hero__feature {
  padding: 40px 34px 40px 26px;
  display: flex; flex-direction: column; justify-content: center; gap: 13px;
}
.es-home-hero__feature-name {
  font-size: 20px; line-height: 1.3; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--es-umber-800);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.es-home-hero__feature p {
  font-family: var(--es-font-display); font-size: 15px; line-height: 1.65; color: var(--es-ink-soft);
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}
.es-home-hero__feature .es-price { font-size: 23px; }
.es-home-hero__counter {
  display: flex; flex-direction: column; gap: 10px; align-items: flex-end;
  margin-top: 26px;
  font-size: 11px; letter-spacing: 0.14em; font-variant-numeric: tabular-nums;
  color: var(--es-umber-500);
}
.es-home-hero__counter .is-current { color: var(--es-umber-800); }
.es-home-hero__counter i { width: 1px; height: 20px; background: var(--es-umber-400); display: block; }
@media (max-width: 1100px) {
  .es-home-hero__counter { display: none; }
}

/* — assurance band — */
.es-assurance {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr);
  list-style: none; margin: 0; padding: 0;
  border-top: 1px solid var(--es-rule);
  background: color-mix(in srgb, var(--es-umber-400) 55%, transparent);
}
.es-assurance li {
  display: flex; align-items: center; gap: 16px;
  padding: 24px 40px;
  font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase;
  line-height: 1.6; color: var(--es-umber-800);
}
.es-assurance li + li { border-left: 1px solid var(--es-rule); }

/* — editorial trio — */
.es-home-editorial {
  display: grid; grid-template-columns: 1fr 1.08fr 260px;
  border-bottom: 1px solid var(--es-rule);
  background: var(--es-paper);
}
.es-home-editorial__cell {
  display: grid; grid-template-columns: 0.95fr 1.05fr;
  border-right: 1px solid var(--es-rule);
}
.es-home-editorial__text { padding: 52px 34px; display: flex; flex-direction: column; gap: 16px; }
.es-home-editorial__text h3 { font-size: 24px; line-height: 1.28; }
.es-home-editorial__text p { font-size: 14px; line-height: 1.8; color: var(--es-ink-soft); font-weight: 300; }
.es-home-editorial__text .es-link-rule { align-self: flex-start; margin-top: 6px; }
.es-home-editorial__media { position: relative; overflow: hidden; min-height: 330px; }
.es-home-editorial__media img { width: 100%; height: 100%; object-fit: cover; }
.es-home-facts {
  padding: 44px 30px; background: var(--es-paper-alt);
  display: flex; flex-direction: column; justify-content: center; gap: var(--es-space-6);
}
.es-home-facts strong { font-family: var(--es-font-display); font-weight: 400; font-size: 19px; color: var(--es-umber-800); display: block; }
.es-home-facts span { font-size: 12.5px; color: var(--es-ink-soft); font-weight: 300; }

/* — collections — */
.es-home-collections { padding-top: 44px; display: grid; grid-template-columns: 212px 1fr; align-items: center; background: var(--es-paper); }
.es-home-collections header { padding: 0 0 24px 48px; display: flex; flex-direction: column; gap: 14px; }
.es-home-collections h2 { font-size: 27px; line-height: 1.25; }
.es-home-collections__tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 2px; }
.es-tile { position: relative; height: 250px; overflow: hidden; background: var(--es-band-bg); display: block; }
.es-tile img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.72); transition: filter 0.3s ease, transform 0.35s ease; }
.es-tile:hover img { filter: brightness(0.85); transform: scale(1.03); }
.es-tile__label {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px 16px; display: flex; flex-direction: column; gap: 7px;
  background: linear-gradient(to top, color-mix(in srgb, var(--es-band-bg) 82%, transparent), transparent);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--es-umber-100); pointer-events: none;
}
.es-tile__label em { font-style: normal; font-size: 10px; letter-spacing: 0.18em; color: var(--es-band-gold); }

/* — philosophy — */
.es-home-philosophy {
  position: relative; overflow: hidden;
  padding: 78px 48px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  border-top: 1px solid var(--es-rule); margin-top: 44px; background: var(--es-paper);
}
.es-home-philosophy__watermark {
  position: absolute; left: 30px; bottom: -40px;
  font-family: var(--es-font-script); font-size: 180px; line-height: 0.9;
  color: var(--es-brass-600); opacity: 0.07; pointer-events: none;
}
.es-home-philosophy__copy { position: relative; display: flex; flex-direction: column; gap: 20px; }
.es-home-philosophy__copy h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.16; }
.es-home-philosophy__lede { font-family: var(--es-font-display); font-size: 18px; line-height: 1.75; color: var(--es-ink-soft); max-width: 440px; }
.es-home-philosophy__media { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.es-home-philosophy__media figure { height: 290px; overflow: hidden; border: 1px solid var(--es-rule); }
.es-home-philosophy__media img { width: 100%; height: 100%; object-fit: cover; }
.es-home-philosophy__media-offset { margin-top: 34px; }

/* — subscribe — */
.es-home-subscribe {
  background: var(--es-paper-alt);
  padding: 70px 48px;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  text-align: center; border-top: 1px solid var(--es-rule);
}
.es-home-subscribe__script { font-family: var(--es-font-script); font-size: 20px; color: var(--es-brass-600); opacity: 0.45; }
.es-home-subscribe h2 { font-size: clamp(28px, 3vw, 40px); }
.es-home-subscribe p { font-family: var(--es-font-display); font-size: 17px; color: var(--es-ink-soft); }
.es-home-subscribe__form { display: flex; max-width: 520px; width: 100%; margin-top: 10px; }
.es-home-subscribe__form input {
  flex: 1; height: 56px; border: 1px solid var(--es-umber-800); border-right: none;
  background: transparent; padding: 0 20px;
  font: inherit; font-size: 15px; color: var(--es-ink);
  border-radius: 0;
}
.es-home-subscribe__form input::placeholder { color: var(--es-umber-600); }
.es-home-subscribe__form .es-btn { border-radius: 0; }

/* — responsive — */
@media (max-width: 1100px) {
  .es-home-hero__grid { grid-template-columns: 1fr 1fr; }
  .es-home-hero__feature { grid-column: 1 / -1; border-top: 1px solid var(--es-rule); background: color-mix(in srgb, var(--es-umber-400) 40%, transparent); }
  .es-home-editorial { grid-template-columns: 1fr; }
  .es-home-editorial__cell { border-right: none; border-bottom: 1px solid var(--es-rule); }
  .es-home-collections { grid-template-columns: 1fr; }
  .es-home-collections__tiles { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .es-home-hero__grid { grid-template-columns: 1fr; }
  .es-home-hero__copy { padding: 56px 22px 32px; }
  .es-assurance { grid-template-columns: 1fr 1fr; }
  .es-assurance li { padding: 18px 20px; border-top: 1px solid var(--es-rule); }
  .es-home-editorial__cell { grid-template-columns: 1fr; }
  .es-home-philosophy { grid-template-columns: 1fr; padding: 40px 22px; gap: 30px; }
  .es-home-collections__tiles { display: flex; gap: 2px; overflow-x: auto; padding: 0 22px; }
  .es-tile { flex: none; width: 150px; height: 200px; }
  .es-home-collections header { padding-left: 22px; }
  .es-home-subscribe { padding: 38px 22px; }
  .es-home-subscribe__form { flex-direction: column; gap: 10px; }
  .es-home-subscribe__form input { border-right: 1px solid var(--es-umber-800); }
}
