/*
 * Lekcija 3.0 · HOME-P01 · HERO COMPLETE
 * Canonical visual direction:
 * PAGE-01-HOME-REFERENCE-FINAL.html
 */

.lk3-home-preview-body {
  margin: 0;
  background: var(--lk3-paper);
  color: var(--lk3-ink);
}

.lk3-home-preview-main {
  overflow: clip;
}

/* =========================================================
   HERO · PAPER × INK × DIGITAL SIGNAL
   ========================================================= */

.lk3-home-hero {
  position: relative;
  overflow: hidden;
  background: var(--lk3-paper);
  border-bottom: 2px solid var(--lk3-ink);
}

.lk3-home-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0 0 0 62%;
  background: #10100f;
}

.lk3-home-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 62% 38%;
  min-height: 650px;
}

.lk3-home-hero-copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 88px 72px 86px 0;
}

.lk3-home-hero-copy::before {
  content: "";
  position: absolute;
  top: 89px;
  left: -24px;
  width: 5px;
  height: 78px;
  background: var(--lk3-red);
}

.lk3-home-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.lk3-home-hero-eyebrow::before {
  content: "";
  width: 28px;
  height: 5px;
  flex: 0 0 auto;
  background: var(--lk3-red);
}

.lk3-home-hero h1 {
  max-width: 880px;
  margin: 25px 0 24px;
  font-family: var(--lk3-font);
  font-size: clamp(58px, 4.7vw, 88px);
  line-height: .93;
  font-weight: 800;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.lk3-home-hero-supporting {
  max-width: 670px;
  margin: 0;
  color: #625e57;
  font-size: 18px;
  line-height: 1.62;
}

.lk3-home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 35px;
}

.lk3-home-hero-actions--continued:empty {
  display: none;
}

.lk3-home-hero-button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 25px;
  border: 2px solid var(--lk3-ink);
  font-size: 15px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.01em;
  text-decoration: none;
  transition:
    transform .18s ease,
    background .18s ease,
    color .18s ease,
    border-color .18s ease;
}

.lk3-home-hero-button:hover {
  transform: translateY(-2px);
}

.lk3-home-hero-button--primary {
  border-color: var(--lk3-red);
  border-radius: 8px;
  background: var(--lk3-red);
  color: #fff;
}

.lk3-home-hero-button--secondary {
  background: transparent;
  color: var(--lk3-ink);
}

.lk3-home-hero-arrow {
  transition: transform .18s ease;
}

.lk3-home-hero-button:hover .lk3-home-hero-arrow,
.lk3-home-hero-tertiary:hover span {
  transform: translateX(4px);
}

.lk3-home-hero-tertiary {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding-bottom: 3px;
  border-bottom: 1px solid #8c877e;
  color: #4d4a44;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  text-decoration: none;
}

.lk3-home-hero-tertiary span {
  display: inline-block;
  transition: transform .18s ease;
}

/* =========================================================
   VISUAL
   ========================================================= */

.lk3-home-hero-visual {
  position: absolute;
  z-index: 1;
  top: 0;
  right: calc((100% - 100vw) / 2);
  bottom: 0;
  left: 62%;
  min-width: 0;
  width: auto;
  margin: 0;
  overflow: visible;
  background: #10100f;
}

.lk3-home-hero-photo {
  position: absolute;
  z-index: 1;
  top: 0;
  left: -9%;
  width: 116%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: none;
  -webkit-mask-image:
    linear-gradient(
      to right,
      transparent 0%,
      #000 22%,
      #000 100%
    );
  mask-image:
    linear-gradient(
      to right,
      transparent 0%,
      #000 22%,
      #000 100%
    );
}

.lk3-home-hero-ink-wash {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background: rgba(10, 10, 9, .1);
}

.lk3-home-hero-visual.is-media-pending::before {
  content: "";
  position: absolute;
  z-index: 1;
  right: 11%;
  bottom: 9%;
  width: min(72%, 390px);
  height: 46%;
  border: 1px solid rgba(255, 255, 255, .12);
  background:
    linear-gradient(
      to top,
      rgba(255,255,255,.035),
      transparent
    );
  box-shadow:
    -36px -28px 0 -35px var(--lk3-red),
    36px 30px 0 -35px rgba(255,255,255,.3);
  transform: skewY(-5deg);
}

/* =========================================================
   LOCAL PROGRESS AFTER COMPLETED HERO
   ========================================================= */

.lk3-home-p01-progress {
  padding-block: 74px 90px;
  background: var(--lk3-paper);
}

.lk3-home-p01-progress-head {
  max-width: 720px;
  margin-bottom: 30px;
}

.lk3-home-p01-progress-head > span {
  color: var(--lk3-cobalt);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: .12em;
}

.lk3-home-p01-progress-head h2 {
  margin: 6px 0 8px;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1;
  letter-spacing: -.04em;
}

.lk3-home-p01-progress-head p {
  margin: 0;
  color: var(--lk3-muted);
}

.lk3-home-p01-pending {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--lk3-ink);
}

.lk3-home-p01-pending li {
  min-height: 58px;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid rgba(21,21,21,.2);
}

.lk3-home-p01-pending span,
.lk3-home-p01-pending em {
  color: var(--lk3-muted);
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .08em;
}

.lk3-home-p01-pending strong {
  font-size: 14px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1199px) {
  .lk3-home-hero::after {
    inset-inline-start: 60%;
  }

  .lk3-home-hero-inner {
    grid-template-columns: 60% 40%;
    min-height: 620px;
  }

  .lk3-home-hero-copy {
    padding-right: 48px;
  }

  .lk3-home-hero-copy::before {
    left: -16px;
  }

  .lk3-home-hero-visual {
    right: calc((100% - 100vw) / 2);
    left: 60%;
  }
}

@media (max-width: 959px) {
  .lk3-home-hero {
    background: #10100f;
  }

  .lk3-home-hero::after {
    display: none;
  }

  .lk3-home-hero-inner {
    width: 100%;
    max-width: none;
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 0;
  }

  .lk3-home-hero-copy {
    z-index: 4;
    min-height: 530px;
    padding:
      70px
      var(--lk3-gutter-tablet)
      62px;
    color: var(--lk3-white);
    background:
      linear-gradient(
        to right,
        rgba(13,13,12,.96) 0%,
        rgba(13,13,12,.88) 54%,
        rgba(13,13,12,.38) 100%
      );
  }

  .lk3-home-hero-copy::before {
    top: 70px;
    left: var(--lk3-gutter-tablet);
    width: 5px;
    height: 66px;
    transform: translateX(-18px);
  }

  .lk3-home-hero h1 {
    max-width: 760px;
    font-size: clamp(54px, 8vw, 76px);
  }

  .lk3-home-hero-supporting {
    max-width: 650px;
    color: rgba(255,253,248,.72);
  }

  .lk3-home-hero-button--secondary {
    border-color: rgba(255,255,255,.72);
    color: var(--lk3-white);
  }

  .lk3-home-hero-tertiary {
    color: rgba(255,253,248,.76);
    border-color: rgba(255,255,255,.42);
  }

  .lk3-home-hero-visual {
    position: absolute;
    z-index: 1;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
  }

  .lk3-home-hero-photo {
    left: 28%;
    width: 90%;
    -webkit-mask-image:
      linear-gradient(
        to right,
        transparent 0%,
        #000 34%,
        #000 100%
      );
    mask-image:
      linear-gradient(
        to right,
        transparent 0%,
        #000 34%,
        #000 100%
      );
  }

  .lk3-home-p01-progress {
    padding-block: 58px 68px;
  }
}

@media (max-width: 620px) {
  .lk3-home-hero-copy {
    min-height: 600px;
    padding:
      62px
      var(--lk3-gutter-mobile)
      52px;
    justify-content: flex-end;
    background:
      linear-gradient(
        to top,
        rgba(13,13,12,.99) 0%,
        rgba(13,13,12,.92) 54%,
        rgba(13,13,12,.48) 100%
      );
  }

  .lk3-home-hero-copy::before {
    top: 60px;
    left: var(--lk3-gutter-mobile);
    height: 56px;
    transform: none;
  }

  .lk3-home-hero-eyebrow {
    max-width: calc(100% - 28px);
    margin-left: 18px;
    font-size: 14px;
  }

  .lk3-home-hero h1 {
    margin: 22px 0 18px;
    font-size: clamp(44px, 13vw, 60px);
    line-height: .94;
    letter-spacing: -.05em;
  }

  .lk3-home-hero-supporting {
    font-size: 16px;
    line-height: 1.55;
  }

  .lk3-home-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    margin-top: 28px;
  }

  .lk3-home-hero-button {
    min-height: 48px;
    width: 100%;
    padding-inline: 20px;
  }

  .lk3-home-hero-tertiary {
    margin-top: 15px;
  }

  .lk3-home-hero-photo {
    top: 0;
    left: 0;
    width: 100%;
    height: 62%;
    -webkit-mask-image:
      linear-gradient(
        to bottom,
        #000 0%,
        #000 58%,
        transparent 100%
      );
    mask-image:
      linear-gradient(
        to bottom,
        #000 0%,
        #000 58%,
        transparent 100%
      );
  }

  .lk3-home-p01-progress {
    padding-block: 50px 58px;
  }

  .lk3-home-p01-pending li {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    padding-block: 12px;
  }

  .lk3-home-p01-pending em {
    grid-column: 2;
  }
}

@media (max-width: 390px) {
  .lk3-home-hero-copy {
    min-height: 620px;
  }

  .lk3-home-hero h1 {
    font-size: 43px;
  }

  .lk3-home-hero-supporting {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lk3-home-hero-button,
  .lk3-home-hero-arrow,
  .lk3-home-hero-tertiary span {
    transition: none;
  }

  .lk3-home-hero-button:hover,
  .lk3-home-hero-button:hover .lk3-home-hero-arrow,
  .lk3-home-hero-tertiary:hover span {
    transform: none;
  }
}

/* The hero bleeds beyond its visual panel; the global img max-width must not clamp it. */
@media (min-width: 960px) {
  .lk3-home-hero-visual > .lk3-home-hero-photo {
    max-width: none;
  }
}
