/* Lull — iOS sleep and habit app. The screens are tall phone shots, so the page
   uses the alternating copy-and-phone block Vera uses for the same job rather
   than the full width figures the web projects use. Nav, related work, CTA and
   footer all come from detail-common. */

.ll-hero {
  padding: 140px 0 100px;
  text-align: center;
  background: var(--bg-dark);
}

.ll-eyebrow {
  display: inline-block;
  margin: 0 0 20px;
  color: var(--mint);
  font-family: var(--font-hand);
  font-size: var(--text-l);
  font-weight: 700;
  transform: rotate(-3deg);
}

.ll-title {
  margin: 0 0 24px;
  color: var(--text-dark-1);
  font-family: var(--font-display);
  font-size: var(--h1);
  font-weight: var(--fw-semibold);
  letter-spacing: -.04em;
  line-height: .92;
}

/* an optional line between the project name and the description */
.ll-tagline {
  max-width: 900px;
  margin: 0 auto 14px;
  color: var(--text-dark-1);
  font-family: var(--font-display);
  font-size: var(--h5);
  font-weight: var(--fw-semibold);
  letter-spacing: -.02em;
  line-height: 1.2;
}

.ll-desc {
  max-width: 900px;
  margin: 0 auto;
  color: var(--text-dark-2);
  font-size: var(--text-m);
  line-height: 1.5;
}

.ll-hero-mockup {
  display: block;
  width: 100%;
  max-width: 1000px;
  height: auto;
  margin: clamp(36px, 5vw, 56px) auto 0;
  border-radius: var(--radius-lg, 16px);
}

.ll-lede {
  max-width: 720px;
  margin: 0;
  color: var(--text-light-2);
  font-size: var(--text-m);
  line-height: var(--lh-text);
}

/* role / scope / tools / year, the same definition list Vera carries */
.ll-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  margin: clamp(28px, 4vw, 44px) 0 0;
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid var(--border-soft, #efefef);
}

.ll-meta dt {
  margin: 0 0 6px;
  color: var(--text-light-2);
  font-size: var(--text-s);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ll-meta dd {
  margin: 0;
  color: var(--text-light-1);
  font-size: var(--text-r, 16px);
  line-height: 1.5;
}

@media (max-width: 680px) {
  .ll-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- screen blocks ---------- */

.ll-screen-block {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  margin-top: clamp(40px, 4.5vw, 64px);
}

.ll-screen-block + .ll-screen-block {
  padding-top: clamp(40px, 4.5vw, 64px);
  border-top: 1px solid var(--border-soft, #efefef);
}

/* every other block puts the phone on the left */
.ll-screen-block--reverse .ll-screen-copy { order: 2; }

.ll-screen-copy h3 {
  margin: 0 0 18px;
  color: var(--text-light-1);
  font-family: var(--font-display);
  font-size: var(--h5);
  font-weight: var(--fw-semibold);
  letter-spacing: -.02em;
  line-height: 1.2;
}

.ll-screen-copy p {
  max-width: 560px;
  margin: 0;
  color: var(--text-light-2);
  font-size: var(--text-m);
  line-height: 1.65;
}

.ll-screen-media {
  display: grid;
  justify-items: center;
  margin: 0;
}

/* the exports are transparent around the phone and carry their own shadow, so
   they need no frame of their own */
.ll-screen-media img {
  display: block;
  width: 100%;
  max-width: 380px;
  height: auto;
}

@media (max-width: 860px) {
  /* one column: the copy always leads, whichever side it sat on */
  .ll-screen-block { grid-template-columns: minmax(0, 1fr); }
  .ll-screen-block--reverse .ll-screen-copy { order: 0; }
  .ll-screen-media img { max-width: 320px; }
}

@media (max-width: 680px) {
  .ll-hero { padding: 112px 0 72px; }
  .ll-lede, .ll-screen-copy p { font-size: var(--text-r, 16px); }
}
