/* The landing page (2026-10-28): one screen on a computer. The hero over the pull-ups photo (board C),
   our partners on a card of their own (the user: "I wanted the partners to stand out more"), and where to
   go next. Sizes follow the window's height too, so a laptop sees all of it without scrolling.
   Tokens, the nav and buttons come from site.css; the title's rise and keyframes from welcome.css. */

.land-page { min-height: 100svh; display: flex; flex-direction: column; }
.land { flex: 1; display: flex; flex-direction: column; }

/* ─── The hero ──────────────────────────────────────────────────────────────── */
.l-hero { position: relative; flex: 1; display: flex; overflow: hidden; }
.l-photo { position: absolute; inset: 0 0 0 36%; }
.l-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 28%; filter: grayscale(0.35) brightness(0.62) contrast(1.08); }
.l-photo::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to right, #000 0%, rgba(0, 0, 0, 0.85) 18%, rgba(0, 0, 0, 0.25) 55%, rgba(0, 0, 0, 0.35) 100%),
    linear-gradient(to top, #000 0%, transparent 32%);
}
.l-in {
  position: relative; z-index: 1; flex: 1;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px;
  padding-top: clamp(18px, 4vh, 48px); padding-bottom: clamp(18px, 3.4vh, 40px);
}
.l-copy { align-self: center; display: grid; gap: clamp(18px, 3.2vh, 32px); }
.w-title.l-title { font-size: clamp(3.3rem, min(8vw, 11.5vh), 8.6rem); }
.l-under { display: grid; gap: clamp(14px, 2.2vh, 20px); justify-items: start; }
.l-line { margin: 0; max-width: 34ch; color: var(--soft); font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.5; }
.l-note { margin: 0; color: var(--muted); font: 500 15px/1.4 var(--body); }

/* Our partners: a glass card on the photo, the label in ink and their logo large. */
.l-partner {
  align-self: end; display: flex; align-items: center; gap: 22px;
  padding: 18px 26px 18px 24px; border-radius: 22px;
  background: rgba(10, 12, 16, 0.55); border: 1px solid rgba(255, 255, 255, 0.13);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  color: var(--ink); text-decoration: none;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.l-partner:hover { background: rgba(10, 12, 16, 0.72); border-color: rgba(255, 255, 255, 0.24); }
.l-partner-k { max-width: 9ch; font: 700 14px/1.25 var(--display); letter-spacing: 0.14em; text-transform: uppercase; }
.l-partner img { display: block; height: clamp(62px, 9vh, 84px); width: auto; }

.js .l-under, .js .l-partner { opacity: 0; transform: translateY(16px); animation: w-rise 1.1s var(--out) 1.05s forwards; }
.js .l-partner { animation-delay: 1.25s; }

/* ─── Where next (board A, 2026-10-28, the user: "a looks good"): no boxes, the titles large over a
   hairline, a thin rule between them; the one under the pointer draws a line in ink along its top. ── */
.l-go { position: relative; z-index: 1; }
.l-go-in { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid rgba(255, 255, 255, 0.12); }
.l-go a {
  position: relative; display: grid; gap: 8px; align-content: start;
  padding: clamp(14px, 2.6vh, 24px) 22px clamp(14px, 2.6vh, 24px);
  border-left: 1px solid rgba(255, 255, 255, 0.08); color: inherit; text-decoration: none;
}
.l-go a:first-child { padding-left: 0; border-left: 0; }
.l-go a:last-child { padding-right: 0; }
.l-go a::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--out); }
.l-go a:first-child::before { left: 0; }
.l-go a:hover::before, .l-go a:focus-visible::before { transform: scaleX(1); }
.l-go b { display: flex; align-items: center; gap: 2px; font: 800 clamp(1.45rem, 2.2vw, 2.15rem)/1 var(--display); letter-spacing: 0.01em; text-transform: uppercase; color: var(--ink); }
.l-go b svg { flex: none; width: 20px; height: 20px; margin-left: auto; color: var(--muted); transition: transform 0.2s var(--ease), color 0.2s; }
.l-go a:hover b svg { transform: translateX(4px); color: var(--ink); }
.l-go a > span { max-width: 26ch; color: var(--muted); font-size: 14px; line-height: 1.45; }
.js .l-go a { opacity: 0; transform: translateY(16px); animation: w-rise 1s var(--out) forwards; animation-delay: 1.35s; }
.js .l-go a:nth-child(2) { animation-delay: 1.43s; }
.js .l-go a:nth-child(3) { animation-delay: 1.51s; }
.js .l-go a:nth-child(4) { animation-delay: 1.59s; }
.js .l-go a:nth-child(5) { animation-delay: 1.67s; }

/* ─── The small print ───────────────────────────────────────────────────────── */
.l-foot { padding: clamp(10px, 1.8vh, 16px) 0 clamp(12px, 2vh, 18px); color: var(--muted); font-size: 12.5px; }
.l-foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; }
.l-foot p { margin: 0; }
.l-foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.l-foot a { color: var(--muted); text-decoration: none; }
.l-foot a:hover { color: var(--ink); }

/* ─── Smaller screens: it scrolls, the photo above the words ────────────────── */
@media (max-width: 1100px) {
  .l-go-in { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .l-go a:nth-child(3n + 1) { padding-left: 0; border-left: 0; }
  .l-go a:nth-child(3) { padding-right: 0; }
  .l-go a:nth-child(n + 4) { border-top: 1px solid rgba(255, 255, 255, 0.08); }
}
@media (max-width: 760px) {
  .l-photo { inset: 0 0 auto 0; height: 360px; }
  .l-photo::after { background: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.35) 60%, rgba(0, 0, 0, 0.25) 100%); }
  .l-in { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 26px; padding-top: 220px; }
  .w-title.l-title { font-size: clamp(3rem, 15vw, 4.4rem); }
  .l-partner { justify-self: start; }
  .l-go-in { grid-template-columns: minmax(0, 1fr); }
  .l-go a, .l-go a:nth-child(3n + 1) { padding: 18px 0; border-left: 0; }
  .l-go a + a { border-top: 1px solid rgba(255, 255, 255, 0.08); }
  .l-foot-in { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .js .l-under, .js .l-partner, .js .l-go a { opacity: 1; transform: none; animation: none; }
}
