/* ============================================================
   home.css — the homepage only.
   Scattered parallax collage over a cherry split, project list,
   reviews on cherry, footer CTA.
   ============================================================ */

/* ---------- top bar ---------- */
.bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px var(--pad);
}

.brand {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}

.bar nav a {
  margin-left: 24px;
  font-size: 12px;
  letter-spacing: .09em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}

/* 44%, not the reference's 46% — the title block grew by one line ("Hoi, ik ben
   Lola") and the eyebrow underneath it was landing on the cherry, where
   --muted only manages 2.45:1. */
.split {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 44%;
  background: var(--cherry);
  z-index: 0;
}

.htitle {
  position: absolute;
  left: 55%;
  top: 41%;
  transform: translate(-50%, calc(-50% - 50px));
  width: 22%;
  min-width: 220px;
  z-index: 4;
}

.t-kick {
  margin-bottom: 6px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(13px, 1.2vw, 16px);
  color: var(--cherry);
}

h1 {
  font-size: inherit;
  font-weight: inherit;
}

.t-lead {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 3.2vw, 50px);
  line-height: .9;
  text-transform: uppercase;
}

.t-serif {
  margin-top: 8px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(14px, 1.55vw, 21px);
}

.t-eye {
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Anchored to the title block, not the hero — at a fixed hero percentage it
   landed on top of the headline as soon as the type reflowed. */
.t-dot {
  position: absolute;
  top: -2px;
  right: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--pink);
}

.vcorner {
  position: absolute;
  right: 22px;
  bottom: 7%;
  z-index: 6;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--pink-lt);
}

.scrollhint {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 6;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--pink-lt);
}

/* ---------- scattered collage ---------- */
.par {
  position: absolute;
  z-index: 2;
  transform: translate3d(0, var(--py, 0), 0);
  will-change: transform;
}

.shot {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 6px;
  background: #E9E5DD;
  border: 1px solid rgba(0, 0, 0, .07);
  transition: box-shadow .4s ease;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.par:hover .shot,
.par:focus-within .shot {
  box-shadow: 0 18px 40px rgba(20, 10, 12, .18);
}

/* caption chip — decorative, duplicates the alt text */
.par figcaption {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  padding: 6px 8px;
  border-radius: 3px;
  background: rgba(20, 10, 12, .68);
  color: #FFF1F6;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .35s ease, transform .35s ease;
}

.par:hover figcaption,
.par:focus-within figcaption {
  opacity: 1;
  transform: translateY(0);
}

.f1 { left: 2%;   top: 14%; width: 22%; height: 62%; }
/* f2 sits directly above the title. It carries a low data-speed and a high
   top so that its parallax drift never pushes it onto the headline. */
.f2 { left: 27%;  top: 2%;  width: 13%; height: 21%; }
.f3 { left: 67%;  top: 22%; width: 22%; height: 56%; }
.f4 { right: 2%;  top: 31%; width: 13%; height: 33%; }
.f5 { left: 26%;  top: 62%; width: 13%; height: 30%; z-index: 3; }
.f6 { left: 5%;   top: 72%; width: 15%; height: 25%; z-index: 3; }

/* Short landscape windows: the title is sized in vw, the split in %, so on a
   low viewport they collide. Pull the cherry down and the title up. */
@media (min-width: 900px) and (max-height: 720px) {
  .split { height: 34%; }
  .htitle { top: 38%; }
}

/* ---------- work: compact list ---------- */
.work {
  background: var(--cream);
  padding: 80px var(--pad) 84px;
}

.work-lbl {
  margin-bottom: 14px;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  border-top: 1px solid rgba(20, 18, 14, .16);
  text-decoration: none;
  color: var(--ink);
  transition: padding .4s var(--ease);
}

.row:last-of-type {
  border-bottom: 1px solid rgba(20, 18, 14, .16);
}

.row:hover,
.row:focus-visible {
  padding-left: 12px;
}

.rleft {
  display: flex;
  align-items: center;
}

.rmark {
  width: 0;
  height: 20px;
  background: var(--pink);
  transition: width .4s var(--ease), margin-right .4s ease;
}

.row:hover .rmark,
.row:focus-visible .rmark {
  width: 16px;
  margin-right: 16px;
}

.rmark {
  flex: none;
}

.rnm {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(30px, 3.4vw, 40px);
  line-height: .95;
  text-transform: uppercase;
  transition: color .35s ease;
}

.row:hover .rnm,
.row:focus-visible .rnm {
  color: var(--cherry);
}

.rdisc {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--muted);
}

.ridx {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--muted);
}

/* ---------- reviews: cherry field ---------- */
.reviews {
  position: relative;
  overflow: hidden;
  background: var(--cherry);
  color: var(--cream);
  padding: 82px var(--pad);
}

.rv-block {
  position: absolute;
  top: -30px;
  right: -40px;
  width: 150px;
  height: 110px;
  background: rgba(244, 156, 192, .22);
  transform: translate3d(0, var(--py, 0), 0);
  will-change: transform;
}

.rv-lbl {
  position: relative;
  z-index: 1;
  margin-bottom: 34px;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--pink-lt);
}

.rv-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px 48px;
}

.rv q {
  display: block;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  color: #F6DCE4;
  quotes: none;
}

.rv q::before { content: "\201C"; }
.rv q::after  { content: "\201D"; }

.rv .who {
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: .05em;
  color: rgba(255, 254, 249, .78);
}

/* placeholder quote — real client quotes still to come */
.rv .ph {
  color: #D69FB0;
}

/* ---------- footer ---------- */
.foot {
  background: var(--cream);
  padding: 64px var(--pad) 60px;
  text-align: center;
}

.foot-big {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 6vw, 60px);
  line-height: .9;
  text-transform: uppercase;
}

.foot-mail {
  display: inline-block;
  margin-top: 20px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--ink);
  text-decoration: none;
}

.foot-mail.hl::after {
  width: 100%;
  height: 8px;
  bottom: -2px;
}

.foot-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 22px;
  margin-top: 28px;
  list-style: none;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.foot-contact a {
  color: var(--ink);
  text-decoration: none;
}

/* LinkedIn URL not supplied yet — see ROADMAP.md "Open follow-ups". */
.foot-contact .pending {
  padding-bottom: 2px;
  border-bottom: 1px dashed currentColor;
  color: var(--muted);
}

/* ---------- mobile ---------- */
@media (max-width: 899px) {
  .bar {
    padding: 20px var(--pad);
  }

  .hero {
    min-height: auto;
    padding: 96px var(--pad) 40px;
  }

  .split,
  .t-dot,
  .vcorner,
  .scrollhint {
    display: none;
  }

  .htitle {
    position: static;
    transform: none;
    width: auto;
    min-width: 0;
    margin-bottom: 26px;
  }

  .bar nav a {
    margin-left: 16px;
    font-size: 11px;
  }

  .collage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 12px;
  }

  /* Dropping out of absolute positioning is not enough: .f1–.f6 still carry
     width:22% etc., which would squeeze every photo into a vertical strip
     inside its grid cell. Clear the geometry, keep the grid. */
  .par {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
  }

  .shot {
    position: relative;
    inset: auto;
    width: auto;
    height: 200px;
  }

  .f1 .shot,
  .f3 .shot {
    height: 260px;
  }

  /* .par is static now, so an absolute caption would escape it — put the
     caption in the flow, under its photo. */
  .par figcaption {
    position: static;
    padding: 7px 0 0;
    background: none;
    border-radius: 0;
    color: var(--muted);
    opacity: 1;
    transform: none;
  }

  .work {
    padding: 56px var(--pad) 60px;
  }

  .reviews {
    padding: 56px var(--pad);
  }

  .rv-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .foot {
    padding: 52px var(--pad);
  }
}
