/* Home (README "Screens", 1). One block per section of the prototype, top to bottom:
   hero, promo-band, method, week-band, nogym, programs, stories, trainer, pricing, faq. */

/* ------------------------------------------------------------------ 1 hero */
.hero {
  position: relative;
  overflow: hidden;
}
.hero__inner {
  padding-top: clamp(40px, 6vw, 88px);
  padding-bottom: clamp(56px, 7vw, 104px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: clamp(28px, 4vw, 72px);
  align-items: center;
}
.hero__copy {
  display: grid;
  gap: 22px;
  max-width: 620px;
}
.hero__copy .lead {
  max-width: 540px;
}
.hero__copy .btn-row {
  margin-top: 6px;
}
.hero__note {
  font-size: 14px;
  color: var(--text-3);
}
.hero__media {
  position: relative;
  padding: 28px 0;
}
.hero__circle {
  position: absolute;
  right: -6%;
  bottom: 0;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--lime);
}
.hero__tile {
  position: relative;
  border-radius: var(--r-panel);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--green);
  max-height: 640px;
  margin: 0 auto;
  width: min(100%, 520px);
}
.hero__still {
  box-sizing: content-box;
  position: absolute;
  right: clamp(0px, 3vw, 36px);
  top: 0;
  width: clamp(96px, 11vw, 132px);
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  transform: rotate(5deg);
  box-shadow: 0 16px 40px rgba(31, 42, 26, 0.22);
  border: 4px solid #fff;
  background: var(--sand);
}
.today-chip {
  position: absolute;
  left: clamp(0px, 2vw, 24px);
  bottom: 0;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 12px 14px;
  display: flex;
  gap: 14px;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-chip);
  max-width: calc(100% - 24px);
  transition: transform 0.2s ease-out;
}
.today-chip:hover {
  transform: translateY(-2px);
  color: var(--ink);
}
.today-chip__text {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.today-chip__title {
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.today-chip__meta {
  font-size: 13px;
  color: var(--text-3);
}

/* ------------------------------------------------------------------ 2 promo marquee band */
.promo-band {
  overflow: clip;
  padding: 14px 0;
  margin: -14px 0 -6px;
  position: relative;
  z-index: 2;
}
.promo-band__strip {
  display: block;
  position: relative;
  z-index: 2;
  transform: rotate(-2deg) scale(1.03);
  background: var(--green);
  color: var(--lime);
  padding: 14px 0;
  overflow: hidden;
  text-decoration: none;
}
.promo-band__strip:hover {
  color: var(--lime);
}
.promo-band__track {
  display: flex;
  width: max-content;
  animation: sm-marquee 36s linear infinite;
}
.promo-band__item {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 19px;
  white-space: nowrap;
}
.promo-band__item::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime);
  display: inline-block;
}

/* ------------------------------------------------------------------ 3 the method */
.method {
  padding: var(--section) 0 clamp(40px, 5vw, 72px);
}
.method .section-head {
  margin-bottom: clamp(32px, 4vw, 56px);
}
.method__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 16px;
}
.method-card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--r-card-l);
  overflow: hidden;
  display: grid;
  align-content: start;
}
.method-card__media {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  background: #e7e2cf;
}
.method-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  display: block;
}
.method-card--2 .method-card__media {
  background: #d8e6d2;
}
.method-card--2 .method-card__media img {
  object-position: 50% 25%;
}
.method-card--3 .method-card__media {
  background: #e9ead8;
}
.method-card__number {
  position: absolute;
  left: 16px;
  top: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--lime);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 16px;
}
.method-card__body {
  padding: 22px 24px 26px;
  display: grid;
  gap: 10px;
}
.method-card__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.15;
}

/* ------------------------------------------------------------------ 4 this week in the club */
.week-band {
  background: var(--green);
  color: #fff;
  padding: var(--band) 0;
}

/* ------------------------------------------------------------------ 5 no gym, no problem */
.nogym {
  padding: var(--section) 0;
}
.nogym__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.nogym__copy {
  display: grid;
  gap: 20px;
}
.nogym__media {
  position: relative;
  display: grid;
  place-items: center;
  padding: 20px 0;
}
.nogym__circle {
  position: absolute;
  left: 0;
  top: 0;
  width: 44%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--lime);
}
.nogym__tile {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 4 / 5;
  border-radius: var(--r-panel);
  overflow: hidden;
  background: var(--green);
}
.nogym__photo {
  box-sizing: content-box;
  position: absolute;
  right: clamp(0px, 4%, 24px);
  bottom: 0;
  width: clamp(120px, 16vw, 180px);
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: var(--shadow-photo);
  transform: rotate(-4deg);
}

/* ------------------------------------------------------------------ 6 browse by program */
.programs {
  padding: 0 0 var(--section);
}
.programs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: 14px;
}
.program-card {
  text-decoration: none;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--r-card-m);
  overflow: hidden;
  display: grid;
  align-content: start;
}
.program-card:hover {
  color: var(--ink);
}
.program-card__media {
  aspect-ratio: 4 / 3;
  display: block;
  position: relative;
  overflow: hidden;
}
.program-card__media .cover {
  object-position: 50% 30%;
}
.program-card__count {
  right: 12px;
  top: 12px;
  padding: 4px 9px;
}
.program-card__body {
  padding: 16px 18px 18px;
  display: grid;
  gap: 6px;
}
.program-card__name {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.15;
}
.program-card__blurb {
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.45;
}

/* ------------------------------------------------------------------ 7 start your transformation story */
.stories {
  padding: 0 0 var(--section);
}
.stories__inner {
  display: grid;
  gap: clamp(28px, 4vw, 44px);
}
.stories__lead {
  display: grid;
  gap: 18px;
  justify-items: start;
}
.stories__wall {
  columns: 3 260px;
  column-gap: 16px;
}
.story {
  margin: 0 0 16px;
  break-inside: avoid;
  border-radius: var(--r-card-m);
}
.story img {
  width: 100%;
  height: auto;
  display: block;
}
.story--photo {
  overflow: hidden;
  background: var(--sand);
  position: relative;
}
.story--photo figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(248, 247, 242, 0.92);
  border-radius: var(--r-pill);
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
}
.story--note {
  background: #fff;
  border: 1px solid var(--hairline);
  padding: 14px;
  transform: rotate(-1.2deg);
}
.story--note-b {
  transform: rotate(1deg);
}
.story--note-c {
  transform: rotate(-0.8deg);
}
.story--note img {
  border-radius: 12px;
}
.story--note figcaption {
  margin: 10px 4px 0;
  font-size: 12px;
  color: var(--text-3);
}
.story--quote {
  background: var(--lime);
  padding: 26px;
  display: grid;
  gap: 16px;
}
.story--quote p {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.3;
  text-wrap: pretty;
}
.story--quote footer {
  font-size: 14px;
  color: var(--on-lime-2);
}
.story--quote strong {
  color: var(--ink);
}
.story--dark {
  background: var(--green);
  color: #fff;
  padding: 26px;
  display: grid;
  gap: 16px;
}
.story--dark p {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.2;
  text-wrap: pretty;
}
.story--dark footer {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--on-dark-80);
}
.story--dark footer img {
  width: 32px;
  height: 32px;
}

/* ------------------------------------------------------------------ 8 hi, I'm Marina */
.trainer {
  padding: 0 0 var(--section);
}
.trainer__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.trainer__media {
  position: relative;
  display: grid;
  place-items: center;
  padding: 0 0 36px;
}
.trainer__portrait {
  width: min(100%, 460px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--sand);
}
.trainer__tile {
  box-sizing: content-box;
  position: absolute;
  right: clamp(0px, 6%, 40px);
  bottom: 0;
  width: clamp(130px, 18vw, 200px);
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: var(--shadow-photo);
  transform: rotate(4deg);
}
.trainer__copy {
  display: grid;
  gap: 20px;
}

/* ------------------------------------------------------------------ 9 join the club (pricing) */
.pricing {
  padding: 0 0 var(--section);
}
.pricing__panel {
  background: var(--lime);
  border-radius: var(--r-panel-l);
  padding: clamp(28px, 4.5vw, 56px);
  display: grid;
  gap: clamp(24px, 3.5vw, 40px);
  position: relative;
  overflow: hidden;
}
.pricing__head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
  align-items: end;
}
.pricing__intro {
  font-size: 16px;
  line-height: 1.6;
  color: var(--on-lime-2);
  text-wrap: pretty;
}
.pricing__plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 14px;
}
.plan {
  background: #fff;
  border-radius: var(--r-card-l);
  padding: 26px;
  display: grid;
  gap: 16px;
  align-content: start;
}
.plan--year {
  background: var(--green);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.plan__ring {
  box-sizing: content-box;
  position: absolute;
  right: -50px;
  top: -50px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 28px solid rgba(255, 255, 255, 0.08);
}
.plan__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
}
.plan__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.1;
}
.plan__price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
}
.plan__price {
  font-family: var(--serif);
  font-size: var(--price-large);
  letter-spacing: -0.02em;
  line-height: 1;
}
.plan__per {
  font-size: 15px;
  color: var(--text-3);
}
.plan--year .plan__per {
  color: rgba(255, 255, 255, 0.75);
}
.plan__text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-2);
  position: relative;
}
.plan--year .plan__text {
  color: var(--on-dark-80);
}
.plan__action {
  position: relative;
}
.pricing__includes {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
}
.pricing__photo {
  box-sizing: content-box;
  width: clamp(84px, 9vw, 110px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 0 12px 30px rgba(31, 42, 26, 0.16);
}
.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 8px 20px;
}
.checklist li {
  display: flex;
  gap: 10px;
  align-items: start;
  font-size: 15px;
  line-height: 1.45;
}
.checklist li::before {
  content: "\2713";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green);
  color: var(--lime);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  flex: none;
  margin-top: 1px;
}

/* ------------------------------------------------------------------ 10 before you start (FAQ) */
.faq {
  padding: 0 0 var(--section);
}
.faq__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.faq__intro {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-2);
}
.faq__intro a {
  color: var(--ink);
  font-weight: 600;
}
.faq__list {
  display: grid;
  border-top: 1px solid var(--divider);
}
.faq__item {
  border-bottom: 1px solid var(--divider);
}
.faq__question {
  list-style: none;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
}
.faq__question::-webkit-details-marker {
  display: none;
}
.faq__question::after {
  content: "+";
  box-sizing: content-box;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(31, 42, 26, 0.2);
  display: grid;
  place-items: center;
  font-size: 18px;
  flex: none;
  font-weight: 400;
}
.faq__item[open] .faq__question::after {
  content: "\2013";
}
.faq__answer {
  padding: 0 48px 22px 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-2);
  text-wrap: pretty;
  animation: sm-in 0.2s ease-out;
}
