/* Homepage "Start here" section: photo cards (see index.html #start).
   Uses the site's own tokens from styles.css. */

.models__inner { max-width: 1560px; margin: 0 auto; }

.models__head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: end;
  gap: 18px 48px;
  margin-bottom: clamp(32px, calc(3 * var(--vw)), 56px);
}
.models__title {
  max-width: 12em;
  font-weight: 800;
  font-size: clamp(36px, calc(3.6 * var(--vw)), 64px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.models__lede {
  max-width: 34em;
  color: var(--slate);
  font-size: clamp(17px, calc(1.15 * var(--vw)), 20px);
  line-height: 1.6;
}

.models__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.model {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 12px 12px clamp(24px, calc(1.8 * var(--vw)), 34px);
  border-radius: var(--r-card);
  background: var(--white);
  color: var(--ink);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.model:hover { transform: translateY(-4px); box-shadow: 0 28px 48px -32px rgba(12, 27, 42, 0.55); }
.model--saffron { background: var(--saffron); }
.model--ink { background: var(--ink); color: var(--white); }

.model__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: calc(var(--r-card) - 10px);
  background: var(--paper);
}
.model__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.model:hover .model__media img { transform: scale(1.05); }
.model__num {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  height: 32px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.model__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(18px, calc(1.4 * var(--vw)), 26px) clamp(12px, calc(1.2 * var(--vw)), 22px) 0;
}
.model__kicker {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
}
.model--ink .model__kicker { color: var(--saffron); opacity: 1; }
.model__title {
  margin-top: 10px;
  font-weight: 800;
  font-size: clamp(24px, calc(1.75 * var(--vw)), 34px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.model__title a { text-decoration: none; }
.model__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.model__desc {
  margin-top: 12px;
  color: var(--slate);
  font-size: 16px;
  line-height: 1.6;
}
.model--saffron .model__desc { color: var(--ink); }
.model--ink .model__desc { color: var(--ink-muted); }

.model__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 22px;
}
.model__facts li {
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--paper);
}
.model--saffron .model__facts li { background: rgba(255, 255, 255, 0.45); }
.model--ink .model__facts li { background: rgba(255, 255, 255, 0.07); }
.model__facts b {
  display: block;
  font-weight: 800;
  font-size: clamp(20px, calc(1.4 * var(--vw)), 26px);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.model__facts span { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.4; opacity: 0.75; }

.model__best {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(12, 27, 42, 0.12);
  font-size: 15px;
  line-height: 1.55;
}
.model--ink .model__best { border-top-color: rgba(255, 255, 255, 0.14); }
.model__best strong { font-weight: 700; }

.model__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
}
.model__link {
  position: relative;
  z-index: 1;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
}
.model__arrow {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  transition: transform 0.35s var(--ease);
}
.model--ink .model__arrow { background: var(--saffron); color: var(--ink); }
.model:hover .model__arrow { transform: rotate(45deg); }


@media (max-width: 1100px) {
  .models__head { grid-template-columns: 1fr; }
  .models__grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
}

/* ---------- Start here specifics ---------- */
.needs .models__head .eyebrow { margin-bottom: 18px; }
.needs .models__title { font-size: clamp(36px, calc(3.6 * var(--vw)), 64px); }
.model__num svg { display: block; }
.model__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  font-size: 13px;
}
.needs .needs__more { margin-top: 18px; }
.needs .models__inner { display: block; max-width: 1560px; text-align: left; }
.needs .models__head, .needs .models__grid { width: 100%; }
.needs .needs__more { justify-content: center; }

/* Start here now follows How it works: the extra room it kept before
   How it works is no longer needed under it */
@media (min-width: 1021px) {
  .needs { margin-bottom: 0; }
}

/* Phones: the three cards sit in a row you swipe through. Each card takes
   most of the screen and the next one peeks in from the right, so it is
   clear there is more; each swipe snaps to a card. */
@media (max-width: 760px) {
  .needs .models__grid {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 84%;
    gap: 12px;
    width: auto;
    max-width: none;
    margin-inline: -16px;
    padding: 4px 16px 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .needs .models__grid::-webkit-scrollbar { display: none; }
  .needs .model { scroll-snap-align: start; }
  .needs .model:hover { transform: none; box-shadow: none; }
}
