/* ==========================================================================
   MIND MATTERS — pages.css
   Page-level compositions: hero, page headers, pricing, prototype, contact.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. HOMEPAGE HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 1.5rem + 5vw, 6rem) clamp(3.5rem, 2rem + 5vw, 6.5rem);
  background:
    radial-gradient(120% 90% at 82% 8%, rgba(232, 137, 155, 0.14) 0%, transparent 55%),
    radial-gradient(100% 80% at 8% 92%, rgba(250, 183, 167, 0.26) 0%, transparent 58%),
    var(--mm-canvas);
}

/* Large soft yellow blob, echoing the slide's corner shapes */
.hero__blob-peach {
  position: absolute;
  left: -14%; bottom: -44%;
  width: 46vw; min-width: 420px; aspect-ratio: 1;
  border-radius: 50%;
  background: var(--mm-peach-tint);
  z-index: 0;
}
.hero__blob-rose {
  position: absolute;
  right: -10%; top: -30%;
  width: 34vw; min-width: 320px; aspect-ratio: 1;
  border-radius: var(--r-blob);
  background: var(--mm-rose-tint);
  opacity: 0.7;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}
@media (max-width: 940px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: var(--sp-7); }
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.42rem 0.95rem 0.42rem 0.5rem;
  margin-bottom: var(--sp-5);
  border: 1px solid var(--mm-border);
  border-radius: var(--r-pill);
  background: var(--mm-surface);
  box-shadow: var(--sh-xs);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--mm-body);
}
.hero__kicker b {
  display: inline-block;
  padding: 0.18rem 0.6rem;
  border-radius: var(--r-pill);
  background: var(--mm-teal-tint);
  color: var(--mm-teal-deep);
  font-size: var(--fs-tiny);
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

@media (max-width: 420px) {
  .hero__kicker { font-size: var(--fs-tiny); padding-right: 0.8rem; }
}

.hero__title {
  font-size: var(--fs-display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-5);
}
.hero__title .l1 { display: block; color: var(--mm-deep); }
.hero__title .l2 {
  display: block;
  color: var(--mm-teal);
  position: relative;
}
/* Hand-drawn underline swash under the second line */
.hero__title .l2::after {
  content: "";
  display: block;
  width: min(100%, 420px);
  height: 16px;
  margin-top: 0.12em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 16' fill='none' stroke='%23FAB7A7' stroke-width='7' stroke-linecap='round'%3E%3Cpath d='M6 11c72-7 150-9 222-6 62 2 128 6 190 3'/%3E%3C/svg%3E") no-repeat left center / contain;
}

.hero__lead { font-size: var(--fs-lead); color: var(--mm-body); margin-bottom: var(--sp-4); max-width: 46ch; }
.hero__sub { color: var(--mm-muted); margin-bottom: var(--sp-6); max-width: 50ch; }

.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: var(--sp-6); }
@media (max-width: 460px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
}

/* Hero artwork column */
.hero__art { position: relative; }
.hero__art-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 540px;
  margin-inline: auto;
}
.hero__art-stage img { width: 100%; height: 100%; object-fit: contain; }

.hero__chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  border-radius: var(--r-pill);
  background: var(--mm-surface);
  border: 1px solid var(--mm-border);
  box-shadow: var(--sh-md);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--mm-deep);
  white-space: nowrap;
  z-index: 3;
}
.hero__chip i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--chip-colour, var(--mm-teal));
  flex: none;
}
.hero__chip--1 { top: 8%;  left: -4%; --chip-colour: var(--mm-rose); }
.hero__chip--2 { top: 44%; right: -6%; --chip-colour: var(--mm-teal); }
.hero__chip--3 { bottom: 9%; left: 4%; --chip-colour: var(--mm-peach); }
@media (max-width: 1100px) {
  .hero__chip--1 { left: 0; }
  .hero__chip--2 { right: 0; }
}
@media (max-width: 600px) {
  .hero__chip { font-size: 0.76rem; padding: 0.42rem 0.75rem; }
}

/* --------------------------------------------------------------------------
   2. INTERIOR PAGE HEADER
   -------------------------------------------------------------------------- */
.page-head {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.75rem, 1.5rem + 4vw, 5rem) clamp(2.5rem, 1.5rem + 3.5vw, 4rem);
  background: var(--mm-cream-deep);
  border-bottom: 1px solid var(--mm-border-soft);
}
.page-head--teal  { background: var(--mm-teal-tint); }
.page-head--rose  { background: var(--mm-rose-tint); }
.page-head--peach { background: var(--mm-peach-tint); }
.page-head--deep  { background: var(--mm-cream-deep); }

.page-head__inner { position: relative; z-index: 2; max-width: 760px; }
.page-head h1 { margin-bottom: var(--sp-4); }
.page-head .lead { max-width: 60ch; }

.page-head__shape {
  position: absolute;
  border-radius: var(--r-blob);
  background: rgba(255, 255, 255, 0.6);
  z-index: 0;
  pointer-events: none;
}
.page-head__shape--a { width: 300px; height: 300px; right: -70px; top: -90px; }
.page-head__shape--b { width: 180px; height: 180px; right: 190px; bottom: -110px; }

/* Breadcrumb */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 var(--sp-4);
  padding: 0;
  list-style: none;
  font-size: var(--fs-tiny);
  color: var(--mm-muted);
}
.crumbs li { margin: 0; display: inline-flex; align-items: center; gap: 0.4rem; }
.crumbs li + li::before { content: "/"; color: var(--mm-border-strong); }
.crumbs a { color: var(--mm-muted); text-decoration: none; }
.crumbs a:hover { color: var(--mm-teal-deep); text-decoration: underline; }

/* --------------------------------------------------------------------------
   3. PROBLEM SECTION (home)
   -------------------------------------------------------------------------- */
.problem-list { display: grid; gap: var(--sp-3); }
.problem-chip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.15rem;
  border-radius: var(--r-pill);
  background: var(--mm-surface);
  border: 1px solid var(--mm-border);
  box-shadow: var(--sh-xs);
  font-size: 0.96rem;
  color: var(--mm-body);
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out);
}
.problem-chip:hover { transform: translateX(5px); box-shadow: var(--sh-sm); }
.problem-chip__dot {
  width: 30px; height: 30px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  background: var(--mm-peach-tint);
}

.pull-statement {
  position: relative;
  margin-top: var(--sp-6);
  padding: var(--sp-6);
  border-left: 5px solid var(--mm-peach);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  background: var(--mm-peach-tint);
}
.pull-statement p {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1rem + 0.6vw, 1.4rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--mm-deep);
}

/* --------------------------------------------------------------------------
   4. ACTIVITY TILES ("Less sitting. More doing.")
   -------------------------------------------------------------------------- */
.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: var(--sp-4);
}
.activity {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-5);
  border-radius: var(--r-lg);
  background: var(--act-bg, var(--mm-teal-tint));
  border: 1px solid transparent;
  min-height: 178px;
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out);
}
.activity:hover { transform: translateY(-5px) rotate(-0.6deg); box-shadow: var(--sh-lg); }
.activity__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 16px 18px 14px 20px;
  background: rgba(255, 255, 255, 0.78);
  font-size: 1.35rem;
  flex: none;
}
.activity__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--mm-deep);
  margin: 0;
}
.activity__body { font-size: 0.92rem; color: var(--mm-body); margin: 0; }
.activity--teal  { --act-bg: var(--mm-teal-tint); }
.activity--rose  { --act-bg: var(--mm-rose-tint); }
.activity--peach { --act-bg: var(--mm-peach-tint); }
.activity--deep  { --act-bg: var(--mm-cream-deep); }

/* --------------------------------------------------------------------------
   5. PRICING
   -------------------------------------------------------------------------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: var(--sp-5);
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--sp-7) var(--sp-6) var(--sp-6);
  background: var(--mm-surface);
  border: 1px solid var(--mm-border);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-sm);
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out);
}
.price-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.price-card--featured {
  border-color: var(--mm-teal);
  box-shadow: var(--sh-md);
}
.price-card--featured::before {
  content: attr(data-badge);
  position: absolute;
  top: -13px; left: var(--sp-6);
  padding: 0.28rem 0.85rem;
  border-radius: var(--r-pill);
  background: var(--mm-teal);
  color: #FFFFFF;
  font-size: var(--fs-tiny);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.price-card__type {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--mm-deep);
  margin-bottom: var(--sp-2);
}
.price-card__blurb { font-size: 0.95rem; color: var(--mm-muted); margin-bottom: var(--sp-5); }

.price-card__amount {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: var(--sp-2);
}
.price-card__from { font-size: var(--fs-small); color: var(--mm-muted); font-weight: 500; }
.price-card__value {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.9rem + 2vw, 3.1rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--price-colour, var(--mm-teal-deep));
}
.price-card__unit { font-size: 0.92rem; color: var(--mm-muted); }
.price-card--rose { --price-colour: var(--mm-rose-ink); }

.price-card__divider { height: 1px; background: var(--mm-border); margin: var(--sp-5) 0; }
.price-card .ticks { margin-bottom: var(--sp-6); }
.price-card .btn { margin-top: auto; }

/* Group pricing table */
.price-table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--mm-border); background: #fff; }
.price-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 0.97rem;
}
.price-table caption {
  text-align: left;
  padding: var(--sp-5) var(--sp-5) 0;
  font-size: var(--fs-small);
  color: var(--mm-muted);
  caption-side: bottom;
}
.price-table th, .price-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--mm-border-soft);
}
.price-table thead th {
  background: var(--mm-teal-tint);
  color: var(--mm-teal-deep);
  font-family: var(--font-body);
  font-size: var(--fs-tiny);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--mm-border);
}
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table tbody tr { transition: background-color var(--t-fast) var(--ease-soft); }
.price-table tbody tr:hover { background: var(--mm-cream-deep); }
.price-table td:last-child, .price-table th:last-child { text-align: right; }
.price-table .amount {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--mm-deep);
  white-space: nowrap;
}

.price-note {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  padding: var(--sp-5);
  border-radius: var(--r-lg);
  background: var(--mm-peach-tint);
  border: 1px solid var(--mm-peach);
  font-size: 0.95rem;
  color: var(--mm-deep);
}
.price-note svg { flex: none; width: 24px; height: 24px; color: var(--mm-peach-ink); margin-top: 2px; }

/* --------------------------------------------------------------------------
   6. PROTOTYPE GALLERY
   -------------------------------------------------------------------------- */
.proto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-5);
}
.proto-grid--feature { grid-template-columns: 1.4fr 1fr; }
@media (max-width: 860px) { .proto-grid--feature { grid-template-columns: minmax(0, 1fr); } }

/* Slides carry readable text, so they get fewer, larger columns than worksheets */
.proto-grid--slides { grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); }
@media (max-width: 620px) { .proto-grid--slides { grid-template-columns: minmax(0, 1fr); } }

.proto-item { display: flex; flex-direction: column; gap: var(--sp-3); }
.proto-item__caption { font-size: var(--fs-small); color: var(--mm-muted); }
.proto-item__caption b { display: block; color: var(--mm-deep); font-weight: 600; margin-bottom: 2px; }

/* --------------------------------------------------------------------------
   7. RESEARCH PAGE
   -------------------------------------------------------------------------- */
.finding {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: var(--sp-4);
  align-items: start;
  padding: var(--sp-5);
  background: var(--mm-surface);
  border: 1px solid var(--mm-border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xs);
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out);
}
.finding:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.finding__num {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 16px 18px 14px 20px;
  background: var(--mm-teal-tint);
  color: var(--mm-teal-deep);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}
.finding p { margin: 0; font-size: 0.98rem; }

.sources { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-4); }
.sources li {
  margin: 0;
  padding-left: var(--sp-5);
  border-left: 3px solid var(--mm-teal);
  font-size: 0.95rem;
  color: var(--mm-body);
}
.sources li b { display: block; color: var(--mm-deep); }
.sources li a { word-break: break-word; }

.evidence-legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  padding: var(--sp-5);
  margin-bottom: var(--sp-7);
  border-radius: var(--r-lg);
  background: var(--mm-surface);
  border: 1px solid var(--mm-border);
  font-size: var(--fs-small);
  color: var(--mm-body);
}
.evidence-legend div { display: flex; gap: 0.6rem; align-items: flex-start; flex: 1 1 260px; }

/* --------------------------------------------------------------------------
   8. CONTACT PAGE
   -------------------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: clamp(2rem, 1rem + 3vw, 3.5rem);
  align-items: start;
}
@media (max-width: 900px) { .contact-layout { grid-template-columns: minmax(0, 1fr); } }

.contact-panel {
  padding: var(--sp-6);
  border-radius: var(--r-xl);
  background: var(--mm-surface);
  border: 1px solid var(--mm-border);
}
.contact-panel + .contact-panel { margin-top: var(--sp-5); }
.contact-panel h3 { font-size: 1.15rem; margin-bottom: var(--sp-4); }

.contact-item { display: grid; gap: 0.25rem; margin-bottom: var(--sp-5); }
.contact-item:last-child { margin-bottom: 0; }
.contact-item__label {
  font-size: var(--fs-tiny);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mm-teal-deep);
}
.contact-item__value { font-weight: 500; color: var(--mm-deep); }
.contact-item__ph {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  border: 1px dashed var(--mm-teal);
  border-radius: var(--r-sm);
  background: var(--mm-cream-deep);
  font-size: var(--fs-small);
  color: var(--mm-teal-deep);
  letter-spacing: 0.03em;
}

.form-card {
  padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  background: var(--mm-surface);
  border: 1px solid var(--mm-border);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-md);
}

/* --------------------------------------------------------------------------
   9. VISION PAGE
   -------------------------------------------------------------------------- */
.future-flag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  margin-bottom: var(--sp-5);
  border-radius: var(--r-pill);
  background: var(--mm-peach-tint);
  border: 1px solid var(--mm-peach);
  color: var(--mm-deep);
  font-size: var(--fs-small);
  font-weight: 600;
}

.horizon-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: var(--sp-6);
  border-radius: var(--r-xl);
  background: var(--mm-surface);
  border: 1px solid var(--mm-border);
  box-shadow: var(--sh-sm);
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out);
}
.horizon-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.horizon-card__num {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 600;
  line-height: 1;
  color: var(--h-colour, var(--mm-teal));
  opacity: 0.85;   /* keeps the watermark feel while staying legible */
  margin-bottom: var(--sp-3);
}
.horizon-card h3 { margin-bottom: var(--sp-3); }
.h--teal  { --h-colour: var(--mm-teal); }
.h--rose  { --h-colour: var(--mm-rose-ink); }
.h--peach { --h-colour: var(--mm-peach-ink); }
.h--deep  { --h-colour: var(--mm-deep); }

/* --------------------------------------------------------------------------
   10. MISC
   -------------------------------------------------------------------------- */
.nav-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: var(--sp-4);
}
.nav-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding: var(--sp-5);
  border-radius: var(--r-lg);
  border: 1px solid var(--mm-border);
  background: var(--mm-surface);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--sh-xs);
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out), border-color var(--t-med) var(--ease-soft);
}
.nav-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--mm-teal); color: inherit; }
.nav-card strong { font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; color: var(--mm-deep); }
.nav-card span { font-size: 0.92rem; color: var(--mm-muted); }
.nav-card .link-arrow { margin-top: auto; padding-top: var(--sp-3); font-size: 0.9rem; }

.illus {
  display: block;
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
}
.illus--sm { max-width: 320px; }

.divider-wave {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: -1px;
}

/* --------------------------------------------------------------------------
   11. PROMOTIONAL MATERIAL CARDS
   The flyer, brochure and infographic are different shapes, so each preview
   sits in a fixed-ratio frame and is contained rather than cropped.
   -------------------------------------------------------------------------- */
.promo-thumb {
  display: block;
  aspect-ratio: 4 / 3;
  margin-bottom: var(--sp-5);
  border: 1px solid var(--mm-border);
  border-radius: var(--r-md);
  background: var(--mm-cream-deep);
  overflow: hidden;
  transition: border-color var(--t-fast) var(--ease-soft), box-shadow var(--t-med) var(--ease-out);
}
.promo-thumb:hover { border-color: var(--mm-teal); box-shadow: var(--sh-sm); }
.promo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform var(--t-med) var(--ease-out);
}
.promo-thumb:hover img { transform: scale(1.03); }
