/* home.css: homepage only (2026-11-08 restructure, client: "so much junk going on ... remove the
   products we aren't using, more lifestyle, simpler, premium, mobile friendly"; 2026-11-09 the
   treatments became a clean product display).
   Below the hero the page is four things now: the five live products, one
   "everything's included" split, the FAQ, and a full-bleed closing photo. Page-only on purpose:
   styles.css is shared by every page (?v=105) and stays untouched. Nothing here touches tracking. */

/* ── treatments: a clean product display (2026-11-09) ───────────────────────────────────────
   Client: "focus on the actual product ... just show all the products in a clean manner".
   Every product as its transparent render on the same white-blue-purple tile, then goal, name and form.
   The whole card is one link. Six products (TB-500 added 2026-11-09): 3 x 2 on desktop and tablets,
   2 x 3 on phones, so every product is on screen without swiping and no row is left half empty. */
.hm-shop .section-head { margin-bottom: var(--space-xl); }
.hm-shop__grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-l) var(--space-s); max-width: 1080px; margin-inline: auto;
}
.hm-prod { scroll-margin-top: calc(var(--nav-h) + 24px); }
.hm-prod__link {
  display: flex; flex-direction: column; height: 100%;
  color: inherit; text-decoration: none; border-radius: var(--r-tile);
}
.hm-prod__link:focus-visible { outline: 2px solid var(--brand-blue); outline-offset: 6px; }
/* 2026-11-09 client: one background for every tile, "a gradient between purple, blue, and white",
   simple, not too feminine, not too masculine (the dark studio and per-product tints were rejected).
   One diagonal: white top-left, light blue through the middle, soft purple bottom-right. */
.hm-prod__stage {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 4 / 5; border-radius: var(--r-tile);
  background: linear-gradient(150deg, #FFFFFF 0%, #E7EDFF 48%, #D9D4FF 100%);
  box-shadow: inset 0 0 0 1px rgba(46, 27, 255, .06);
}
/* the renders are 800 x 800 with the product centred; 104% wide puts the product at about
   two thirds of the tile height, a touch above centre so the shadow has room */
.hm-prod__stage img {
  position: absolute; left: 50%; top: 47%; width: 104%; max-width: none; height: auto;
  translate: -50% -50%;
  filter: drop-shadow(0 22px 22px rgba(30, 24, 110, .18));
  transition: transform .7s var(--ease);
}
.hm-prod__link:hover .hm-prod__stage img { transform: translateY(-6px) scale(1.03); }
/* goal and name on the left, the arrow beside them, the form under both at full width */
.hm-prod__body {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "goal go" "name go" "sub sub";
  gap: 6px 12px; padding: 18px 4px 0;
}
.hm-prod__body .eyebrow { grid-area: goal; }
.hm-prod__name {
  grid-area: name;
  font-size: clamp(19px, calc(15.5px + .45vw), 23px); font-weight: 500;
  line-height: 1.12; letter-spacing: -.02em;
}
.hm-prod__sub { grid-area: sub; font-size: 14px; line-height: 1.45; color: var(--text-secondary); }
.hm-prod__sub > span + span::before { content: " · "; }
.hm-prod__go {
  grid-area: go; align-self: center; position: relative; flex: none; width: 34px; height: 34px; margin-top: 2px; border-radius: 50%;
  border: 1px solid var(--line-soft); color: var(--text-primary);
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.hm-prod__go::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px;
  border-top: 1.6px solid currentColor; border-right: 1.6px solid currentColor;
  translate: -50% -50%; transform: translateX(-2px) rotate(45deg);
}
.hm-prod__link:hover .hm-prod__go { background: var(--brand-blue); border-color: var(--brand-blue); color: #fff; }
.hm-shop__note {
  max-width: 72ch; margin: var(--space-xl) auto 0; text-align: center;
  font-size: 13px; line-height: 1.55; color: var(--text-muted); text-wrap: balance;
}
.hm-shop__note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
/* tablets keep 3 x 2, just narrower (the grid is fluid) */
/* phones: 2 x 3; the arrow goes, the card is still one tap target */
@media (max-width: 700px) {
  .hm-shop__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-l) 12px; }
  .hm-prod__stage { border-radius: 18px; }
  .hm-prod__body { padding-top: 14px; }
  .hm-prod__body { grid-template-areas: "goal goal" "name name" "sub sub"; row-gap: 4px; }
  .hm-prod__name { font-size: 18px; }
  .hm-prod__sub { font-size: 13px; }
  .hm-prod__sub > span { display: block; }
  .hm-prod__sub > span + span::before { content: none; }
  .hm-prod__go { display: none; }
  .hm-shop__note { text-align: left; }
}

/* ── everything's included: one photo, one list ───────────────────────────────────────────── */
.hm-incl__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-xl); align-items: center;
}
.hm-incl__media { margin: 0; overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--r-tile); background: var(--surface-sand); }
.hm-incl__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hm-incl__copy { max-width: 560px; }
.hm-incl__copy .eyebrow { margin-bottom: var(--space-xs); }
.hm-incl__copy > .body-l { margin-top: var(--space-s); }
.hm-incl__list { list-style: none; margin: var(--space-l) 0 0; padding: 0; border-top: 1px solid var(--line-soft); }
.hm-incl__list li {
  display: grid; grid-template-columns: minmax(0, 12.5em) minmax(0, 1fr); gap: 4px 24px;
  padding: 18px 0; border-bottom: 1px solid var(--line-soft);
}
.hm-incl__k { font-size: 16px; font-weight: 500; letter-spacing: -.01em; }
.hm-incl__v { font-size: 15px; line-height: 1.5; color: var(--text-secondary); }
@media (max-width: 900px) {
  .hm-incl__grid { grid-template-columns: 1fr; gap: var(--space-l); }
  .hm-incl__media { aspect-ratio: 1 / 1; }
  .hm-incl__media img { object-position: 50% 45%; }
  .hm-incl__copy { max-width: none; }
}
@media (max-width: 560px) { .hm-incl__list li { grid-template-columns: 1fr; } }

/* ── closing: full-bleed photo, copy over the open sky on the left ──────────────────────────
   The top of the photo fades in from the page colour, so the band grows out of the FAQ rather
   than starting at a hard edge. Phones: copy on the page, then the photo under it. */
.hm-close {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center;
  min-height: clamp(520px, 46vw, 760px);
  padding: var(--space-2xl) var(--gutter);
  background: #CDD3D6;
}
.hm-close__pic { position: absolute; inset: 0; z-index: -2; }
.hm-close__pic img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.hm-close::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, var(--surface-canvas) 0%, rgba(247, 245, 242, 0) 24%),
    linear-gradient(90deg, rgba(247, 245, 242, .6) 0%, rgba(247, 245, 242, .25) 38%, rgba(247, 245, 242, 0) 56%);
}
.hm-close__copy {
  width: 100%; max-width: var(--content-max); margin-inline: auto;
  display: grid; justify-items: start; gap: var(--space-s);
}
.hm-close__copy > * { max-width: 30rem; margin: 0; }
.hm-close__copy .btn { margin-top: 8px; }
@media (max-width: 1100px) { .hm-close__copy > * { max-width: 25rem; } }
@media (max-width: 760px) {
  .hm-close { flex-direction: column-reverse; align-items: stretch; min-height: 0; padding: 0; background: none; }
  .hm-close::before { display: none; }
  .hm-close__pic { position: relative; inset: auto; aspect-ratio: 4 / 5; }
  .hm-close__copy { padding: var(--space-2xl) var(--gutter) var(--space-xl); justify-items: center; text-align: center; }
  .hm-close__copy > * { max-width: 34rem; }
  .hm-close__copy .btn { width: 100%; }
}
