/* Client Love (CR-105 U4): the app's ClientLoveScreen (lib/features/client_love/client_love_screen.dart, video_tile.dart).
   Sizes are the app's; font sizes use --u. Letter spacing is in px, as the app's is: its phone and text-size scaling
   enlarges the letters, not the gaps. Phone layout under 900px (Breakpoints.wide). */

/* PageBody(maxWidth: 720, padding 52 40 90 / 16 20 60). */
.love { max-width: 720px; margin: 0 auto; padding: 52px 40px 90px; color: var(--ink); }
.love .back-pill { margin-bottom: 18px; }

/* The intro: kicker, title, lede, paragraph. */
.love__kicker {
  margin: 0; font-size: calc(10 * var(--u)); font-weight: 600; letter-spacing: 2.4px; line-height: normal;
  text-transform: uppercase; color: var(--gold-deep);
}
.love__title {
  margin: 14px 0 0; font-family: var(--font-display); font-weight: 700; font-size: calc(34 * var(--u)); line-height: 1.1;
  color: var(--ink); text-wrap: balance;
}
.love__lede {
  margin: 10px 0 0; font-family: var(--font-voice); font-style: italic; font-size: calc(19 * var(--u)); line-height: 1.4;
  color: var(--grey-body);
}
.love__paragraph { margin: 28px 0 0; font-size: calc(14 * var(--u)); line-height: 1.85; color: #3F3F3F; }

/* The gold button (LEARN THE SYSTEM →, EXPLORE CERTIFICATION): at least 44px tall; full width on a phone. */
.love__action {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 14px 28px;
  border-radius: 3px; background: var(--gold); color: #1A1A1A; text-align: center; text-decoration: none;
  font-size: calc(10.5 * var(--u)); font-weight: 600; letter-spacing: 1.47px; line-height: normal;
}
.love__action:hover { background: var(--gold-icon); color: #1A1A1A; }
.love__learn { display: flex; justify-content: center; }

/* The dark certification panel, the gold line along its top. */
.panel {
  position: relative; overflow: hidden; margin-top: 26px; padding: 32px 30px 30px; border-radius: 8px;
  background: var(--dark);
}
.panel::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--gold); }
.panel__eyebrow {
  margin: 0; font-size: calc(10 * var(--u)); font-weight: 600; letter-spacing: 2.4px; line-height: normal;
  text-transform: uppercase; color: var(--gold);
}
.panel__title {
  margin: 10px 0 0; font-family: var(--font-display); font-weight: 700; font-size: calc(26 * var(--u)); line-height: 1.15;
  color: var(--cream); text-wrap: balance;
}
.panel__title--phone { display: none; }
.panel__wide { margin-top: 22px; }
.panel__shorts { margin-top: 16px; }
.panel__action { margin-top: 26px; }

/* Rows of videos: wide two to a row (one on a phone), Shorts 200px each and centred (two to a row on a phone). */
.love__wide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.love__shorts { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.love__shorts > .tile { width: 200px; }
.panel .love__wide { gap: 14px; }

/* A video: its place (video.css), the name in capitals under it. */
.tile { margin: 0; min-width: 0; }
.tile__name {
  margin-top: 8px; text-align: center; text-transform: uppercase; font-size: calc(10 * var(--u)); font-weight: 600;
  letter-spacing: 1.6px; line-height: 1.5; color: var(--gold-deep);
}
.tile--dark .tile__name { font-size: calc(9.5 * var(--u)); letter-spacing: 1.52px; color: var(--gold); }

/* The clients' stream: its label, then the rows. */
.stream { margin-top: 30px; }
.stream__label {
  margin: 0; font-size: calc(10 * var(--u)); font-weight: 600; letter-spacing: 2.4px; line-height: 1.6;
  color: var(--gold-deep);
}
.stream__rows { margin-top: 16px; display: flex; flex-direction: column; gap: 28px; }
.stream__end { margin-top: 36px; }

/* A client's quote card. */
.quotes { display: flex; flex-direction: column; gap: 16px; }
.quote {
  margin: 0; padding: 22px 26px; background: var(--white); border: 1px solid #EAE3CF; border-radius: 6px;
  box-shadow: 0 2px 10px rgba(138, 107, 16, 0.078);
}
.quote__words { margin: 0; }
.quote__words p {
  margin: 0; font-family: var(--font-voice); font-style: italic; font-size: calc(18 * var(--u)); line-height: 1.55;
  color: #3F3F3F;
}
.quote__by { margin-top: 16px; display: flex; align-items: center; gap: 12px; }
.quote__mark {
  position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; overflow: hidden;
  display: flex; align-items: center; justify-content: center; background: var(--warm-white);
}
.quote__mark::after {
  content: ""; position: absolute; inset: 0; border: 1px solid var(--hairline-strong); border-radius: 50%;
}
.quote__initial {
  font-family: var(--font-display); font-weight: 700; font-size: calc(17 * var(--u)); line-height: normal;
  color: var(--gold-deep);
}
.quote__photo { position: absolute; inset: 0; background-size: cover; background-position: center; }
.quote__who { min-width: 0; display: flex; flex-direction: column; }
.quote__name { font-size: calc(13 * var(--u)); font-weight: 600; line-height: normal; color: var(--ink); }
.quote__role { margin-top: 2px; font-size: calc(12 * var(--u)); line-height: normal; color: #6B6457; }

/* The screenshots' masonry: three columns, each card in the shortest column so far (placed in the page's data); one
   column on a phone, in the cards' own order. */
.shots { display: flex; align-items: flex-start; gap: 16px; }
.shots__column { flex: 1 1 0; min-width: 0; }
.shot {
  margin-bottom: 16px; padding: 12px; background: var(--white); border: 1px solid #EAE3CF; border-radius: 6px;
  box-shadow: 0 2px 10px rgba(138, 107, 16, 0.078);
}
.shot img { width: 100%; height: auto; border-radius: 4px; object-fit: contain; }

@media (max-width: 899.98px) {
  .love { padding: 16px 20px 60px; }
  .love__kicker { font-size: calc(9 * var(--u)); letter-spacing: 1.98px; }
  .love__title { margin-top: 10px; font-size: calc(26 * var(--u)); line-height: 1.15; }
  .love__lede { margin-top: 7px; font-size: calc(16 * var(--u)); }
  .love__paragraph { margin-top: 20px; font-size: calc(13 * var(--u)); line-height: 1.8; }
  .love__action { display: flex; width: 100%; padding: 14px; }

  .panel { margin-top: 20px; padding: 24px 18px 22px; }
  .panel__eyebrow { font-size: calc(9 * var(--u)); letter-spacing: 2.16px; }
  .panel__title { font-size: calc(22 * var(--u)); }
  .panel__title--computer { display: none; }
  .panel__title--phone { display: inline; }
  .panel__wide { margin-top: 16px; }
  .panel__shorts { margin-top: 12px; }
  .panel__action { margin-top: 20px; }

  .love__wide, .panel .love__wide { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .love__shorts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
  .love__shorts > .tile { width: auto; }
  .tile__name { font-size: calc(9.5 * var(--u)); letter-spacing: 1.52px; }
  .tile--dark .tile__name { font-size: calc(9 * var(--u)); letter-spacing: 1.44px; }

  .stream { margin-top: 22px; }
  .stream__label { font-size: calc(9 * var(--u)); letter-spacing: 2.16px; }
  .stream__rows { margin-top: 12px; gap: 18px; }
  .stream__end { margin-top: 28px; }

  .quotes { gap: 12px; }
  .quote { padding: 18px 20px; border-radius: 8px; }
  .quote__words p { font-size: calc(16 * var(--u)); }
  .quote__by { margin-top: 14px; }
  .quote__mark { width: 40px; height: 40px; }
  .quote__name { font-size: calc(12.5 * var(--u)); }
  .quote__role { font-size: calc(11.5 * var(--u)); }

  .shots { flex-direction: column; align-items: stretch; gap: 0; }
  .shots__column { display: contents; }
  .shot { margin-bottom: 12px; padding: 10px; border-radius: 8px; }
}
