/* Yoda type system mapped from Biograph's measured 27 Oct 2026 desktop/tablet/mobile styles.
   Keep Yoda's existing Inter Tight / Inter fonts and its cream, black and gold palette. */
:root {
  --y-type-hero: 68px;
  --y-type-section: 52px;
  --y-type-hero-body: 18px;
  --y-type-body: 16px;
  --y-type-card: 14px;
  --y-type-small: 14px;
  --y-ink-primary: #27272c;
  --y-ink-secondary: #62626c; /* equivalent contrast on Yoda's warmer Starlight ground */
  --y-card-secondary: #686873; /* measured reference on a light card surface */
  --y-card-image: 55px;
  --y-card-gap: 10px;
  --y-card-padding: 8px;
  --m: clamp(15px, 3.82vw, 55px);
}
@media (min-width: 810px) and (max-width: 1199px) {
  :root { --y-type-hero: 58px; --y-type-section: 42px; }
}
@media (max-width: 809px) {
  :root { --y-type-hero: 41px; --y-type-section: 32px; --y-type-hero-body: 16px; }
}

/* Reference: hero 68/64.6 desktop, 41/38.95 phone; body 18/27 and 16/24. */
.hero .display { font-family: var(--f-display); font-size: var(--y-type-hero); font-weight: 400; line-height: .95; letter-spacing: -.02em; }
.hero-text { font-family: var(--f-text); font-size: var(--y-type-hero-body); font-weight: 400; line-height: 1.5; letter-spacing: normal; color: rgba(255,255,255,.7); }
.hero-points b { font-size: 14px; line-height: 1.5; font-weight: 500; }
.hero-points span { font-size: 14px; line-height: 1.5; }
.hdr-nav, .hdr-cta, .hero-ctas .btn { font-size: var(--y-type-small); font-weight: 400; line-height: 1.5; letter-spacing: normal; }

/* Reference section headings are 52/52 desktop, 42/42 tablet, 32/32 mobile. */
.as-h, .wl-h, .rv-h { font-family: var(--f-display); font-size: var(--y-type-section); font-weight: 400; line-height: 1; letter-spacing: -.01em; color: var(--y-ink-primary); }
.as-em { color: inherit; }
.as-lead, .wl-lead, .rv-lead { font-family: var(--f-text); font-size: var(--y-type-body); line-height: 1.5; font-weight: 400; letter-spacing: normal; color: var(--y-ink-secondary); }
.as-lead, .wl-lead { margin-top: 15px; }

/* Reference diagnostics: 55px image, 8px card inset, 10px image gap, 14/21 text.
   Cards keep their existing drawer, hover, focus and keyboard interactions. */
.as-grid { gap: 10px 15px; }
.as-card-button { grid-template-columns: var(--y-card-image) minmax(0, 1fr) 16px; gap: var(--y-card-gap); min-height: 71px; padding: var(--y-card-padding); border: 0; border-radius: 16px; background: rgba(255,255,255,.58); }
.as-thumb { width: var(--y-card-image); height: var(--y-card-image); border-radius: 8px; }
.as-ct, .as-cd { font-family: var(--f-text); font-size: var(--y-type-card); line-height: 1.5; letter-spacing: normal; }
.as-ct { font-weight: 500; color: var(--y-ink-primary); }
.as-cd { margin: 0; font-weight: 400; color: var(--y-card-secondary); }
@media (hover:hover) and (pointer:fine) { .as-card-button:hover { background: rgba(255,255,255,.78); } }

/* Wellness keeps its photography-led layout, with the same compact text hierarchy. */
.wl-name { font-family: var(--f-text); font-size: 16px; line-height: 1.5; font-weight: 500; letter-spacing: normal; color: var(--y-ink-primary); }
.wl-desc { margin-top: 0; font-family: var(--f-text); font-size: 14px; line-height: 1.5; font-weight: 400; letter-spacing: normal; color: var(--y-ink-secondary); }
.wl-cap { margin-top: 15px; }

@media (max-width: 759px) {
  :root { --m: 15px; }
  .hdr .hdr-cta { font-size: 14px !important; }
  .as-grid { margin-top: 32px; gap: 10px; }
  .as-card-button { grid-template-columns: var(--y-card-image) minmax(0, 1fr) 16px; gap: var(--y-card-gap); min-height: 71px; padding: var(--y-card-padding); }
  .as-ct, .as-cd { font-size: var(--y-type-card); }
  .wl-name { font-size: 16px; }
}
