/* r103 live homepage: new hero, marquee and featured work tiles.
   Scoped to body.home-now. Does not change .nav, .nav-menu, .foot, .kit or footer wipe. */

.home-now { --col-gap: 24px; --head: 73px; --mq-peek: 100px; }

/* ---------- hero ---------- */
.home-now .pf-hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--head) - var(--mq-peek));
  display: flex;
  align-items: center;
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--line);
}
.home-now .pf-hero > .pf-hero-grid { position: relative; z-index: 1; }
.home-now .pf-fold {
  position: absolute;
  z-index: 0;
  width: 540px;
  height: 540px;
  pointer-events: none;
  opacity: .88;
  top: 50%;
  right: calc((100% - min(1280px, calc(100% - 2 * var(--gut)))) / 2 + (min(1280px, calc(100% - 2 * var(--gut))) / 3 - 16px) / 2 - 270px);
  transform: translateY(-50%);
}
.home-now .pf-fold canvas { width: 100%; height: 100%; display: block; }
.home-now .pf-hero-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  align-items: center;
}
.home-now .pf-copy { grid-column: 1 / span 8; min-width: 0; }
.home-now .pf-portrait { grid-column: 9 / span 4; width: 100%; }
.home-now .pf-portrait {
  display: block;
  border-radius: 22px;
  overflow: hidden;
  background: var(--ivory);
  border: 1px solid rgba(242, 242, 242, .35);
  box-shadow: 0 0 0 4px rgba(2, 2, 2, .9), 0 0 0 5px rgba(255, 183, 3, .28), 0 24px 70px rgba(255, 183, 3, .14);
}
.home-now .pf-portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1856 / 2304;
  object-fit: cover;
}
.home-now .pf-kick {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.home-now .pf-kick i { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.home-now .pf-h1 {
  margin: 0;
  max-width: none;
  font-weight: 600;
  font-size: clamp(44px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.home-now .pf-h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--amber);
  letter-spacing: -.01em;
  font-size: 1.08em;
}
.home-now .pf-h1 .ln { display: block; }
.home-now .pf-h1 .h-mob { display: none; }
.home-now .pf-h1 .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(.4em);
  filter: blur(10px);
  animation: pfIn 1.2s var(--ease) forwards;
  animation-delay: calc(.12s + var(--i) * .09s);
}
@keyframes pfIn { to { opacity: 1; transform: none; filter: none; } }
.home-now .pf-lede {
  margin: 24px 0 0;
  max-width: 42ch;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}
.home-now .pf-lede b { color: var(--ivory); font-weight: 500; }
.home-now .pf-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

@media (max-width: 900px) {
  .home-now .pf-hero { min-height: 0; display: block; padding: 32px 0 36px; }
  .home-now .pf-copy, .home-now .pf-portrait { grid-column: 1 / -1; }
  .home-now .pf-kick { margin-bottom: 14px; }
  .home-now .pf-h1 { font-size: clamp(36px, 9.2vw, 44px); line-height: 1.04; }
  .home-now .pf-lede { margin-top: 16px; font-size: 17px; max-width: 34ch; }
  .home-now .pf-acts { margin-top: 20px; }
  .home-now .pf-portrait {
    width: 100%;
    max-width: 420px;
    margin: 28px auto 0;
    justify-self: center;
  }
  .home-now .pf-portrait img {
    aspect-ratio: 1 / 1;
    object-position: 50% 18%;
  }
  .home-now .pf-fold {
    top: 42%;
    left: 50%;
    right: auto;
    width: min(140vw, 560px);
    height: min(140vw, 560px);
    transform: translate(-50%, -54%);
    opacity: .65;
    -webkit-mask-image: radial-gradient(290px 150px at 45% 50%, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .5) 60%, #000 100%);
            mask-image: radial-gradient(290px 150px at 45% 50%, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .5) 60%, #000 100%);
  }
}
@media (max-width: 480px) {
  .home-now .pf-h1 .h-desk { display: none; }
  .home-now .pf-h1 .h-mob { display: block; }
}

/* ---------- featured work tiles ---------- */
.home-now .now-h em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--amber);
  letter-spacing: -.01em;
  font-size: 1.06em;
}
.now-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--col-gap, 24px);
  margin-top: 48px;
  align-items: stretch;
}
.now-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 28px;
  overflow: hidden;
  background: var(--ivory);
  color: var(--onyx);
  box-shadow: inset 0 1px 0 rgba(255, 183, 3, .22);
}
.now-visual {
  position: relative;
  overflow: hidden;
  background: var(--ivory);
}
.now-ar .now-visual { aspect-ratio: 1440 / 900; }
.now-pt .now-visual { aspect-ratio: 1500 / 500; background: #ffe14d; }
.now-visual picture,
.now-visual img {
  display: block;
  width: 100%;
  height: 100%;
}
.now-visual img {
  object-fit: cover;
  object-position: center center;
}
.now-body {
  padding: 26px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 12px;
}
.now-kicker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(2, 2, 2, .55);
}
.now-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--onyx);
  color: var(--ivory);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.now-ar .now-tag { background: var(--amber); color: var(--onyx); }
.now-body h3 {
  margin: 0;
  font-size: clamp(28px, 3vw, 34px);
  letter-spacing: -.035em;
  font-weight: 600;
  color: var(--onyx);
}
.now-d {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(2, 2, 2, .68);
}
.now-body .btn { margin-top: auto; align-self: flex-start; }

@media (max-width: 720px) {
  .now-grid { grid-template-columns: 1fr; margin-top: 32px; }
  .now-body { padding: 22px 20px 24px; }
  .now-body h3 { font-size: 28px; }
}

.home-now .notes-h em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--amber);
  letter-spacing: -.01em;
  font-size: 1.06em;
}
