/* /review/ — "Write a review", the page the bookmark QR code opens.
   Translated from Paper "07 Review page (mock for Hannah)", 22 Nov 2026.
   Kept in its own file so main.css (and every page's ?v= cache tag)
   stays untouched. */

.review-wrap {
  background: var(--color-foam);
  box-shadow: 0 0 0 100vmax var(--color-foam);
  clip-path: inset(0 -100vmax);
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  grid-template-areas: "art head" "art body";
  column-gap: 96px;
  row-gap: 24px;
  align-items: start;
  padding: 112px 120px 128px;
}
.review-head { grid-area: head; display: flex; flex-direction: column; gap: 24px; }
/* Hannah, 22 Nov: no caption; the book sits lower, level with the list. */
.review-art  { grid-area: art; display: flex; flex-direction: column; align-items: center; padding-top: 88px; }
.review-body { grid-area: body; display: flex; flex-direction: column; gap: 24px; }

.review-eyebrow { font-family: var(--font-mono); font-size: 28px; line-height: 34px; color: var(--color-ink); margin: 0; }
.review-head h1 { font-size: 56px; line-height: 64px; }
.review-intro { max-width: 680px; }

.review-art .book-mock { width: 300px; height: 456px; transform: rotate(-2deg); border-radius: 2px 5px 5px 2px; }
.review-art .book-mock .page-block { height: 448px; }

.review-list { list-style: none; margin: 0; padding: 0; max-width: 727px; border-top: 1px solid rgba(11,85,94,.35); }
.review-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 240px;
  grid-template-areas: "logo text action";
  column-gap: 32px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid rgba(11,85,94,.35);
}
/* Each site's logo in the left column, where the 1 / 2 / 3 used to be
   (Ollie, 23 Nov 2026; Paper 07, desktop and mobile). */
.review-logo { grid-area: logo; display: flex; align-items: center; height: 44px; color: var(--color-ink); }
.review-logo .review-icon { width: 32px; height: 32px; }
.review-text { grid-area: text; display: flex; flex-direction: column; gap: 4px; }
.review-site { font-family: var(--font-mono); font-size: 19px; line-height: 22px; font-weight: 700; color: var(--color-ink); margin: 0; display: flex; align-items: center; gap: 10px; }
.review-icon { width: 20px; height: 20px; flex-shrink: 0; fill: currentColor; }
.review-why { font-family: var(--font-body); font-size: 15px; line-height: 26px; color: var(--color-slate); margin: 0; }

.review-action {
  grid-area: action;
  display: flex; justify-content: center; align-items: center;
  font-family: var(--font-mono); font-size: 17px; line-height: 22px;
  padding: 16px 12px; border-radius: 2px; border: 2px solid var(--color-deep-sea);
  text-decoration: none; text-align: center;
}
a.review-action { color: var(--color-deep-sea); background: transparent; }
a.review-action:hover { background: rgba(6,85,95,.08); }
a.review-action.is-primary { background: var(--color-deep-sea); color: var(--color-foam); }
a.review-action.is-primary:hover { background: var(--color-deep-sea-hover); border-color: var(--color-deep-sea-hover); }
/* A site that doesn't list the book yet: a quiet placeholder in the
   button's slot, swapped for a link once the book page exists. */
.review-action.is-soon { border: 1px dashed rgba(11,85,94,.45); color: var(--color-slate); font-size: 15px; }

.review-note { font-family: var(--font-body); font-size: 17px; line-height: 26px; color: var(--color-slate); padding-top: 20px; max-width: 727px; }
.review-note p { font-size: inherit; line-height: inherit; }

/* Laptop widths: Paper's 1440px layout squeezes the text column, so
   the padding eases in and each button drops under its description. */
@media (max-width: 1280px) and (min-width: 901px) {
  .review-wrap { padding: 96px 64px 112px; column-gap: 72px; }
  .review-row {
    grid-template-columns: 56px minmax(0, 1fr);
    grid-template-areas: "logo text" ". action";
    row-gap: 16px;
    align-items: start;
  }
  .review-action { justify-self: start; width: 240px; }
}

/* Phones: values from Paper's mobile artboard. */
@media (max-width: 900px) {
  .review-wrap {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "head" "art" "body";
    row-gap: 24px;
    padding: 56px 20px 96px;
  }
  .review-head { gap: 24px; }
  .review-eyebrow { font-size: 18px; line-height: 34px; }
  .review-head h1 { font-size: 34px; line-height: 44px; }
  .review-art { padding-top: 8px; }
  .review-art .book-mock { width: 168px; height: 256px; }
  .review-art .book-mock .page-block { height: 248px; right: -8px; width: 8px; }
  .review-row {
    grid-template-columns: 40px minmax(0, 1fr);
    grid-template-areas: "logo text" "action action";
    column-gap: 16px;
    row-gap: 16px;
    align-items: start;
    padding: 20px 0;
  }
  .review-site { font-size: 21px; line-height: 28px; }
  .review-logo { height: 28px; }
  .review-logo .review-icon { width: 28px; height: 28px; }
  .review-why { font-size: 18px; line-height: 28px; }
  .review-note { font-size: 18px; line-height: 28px; }
  .review-note p + p { margin-top: 28px; }
}
