/* Lens pages (/lens and /lens/varilux, hoya-progressive, eyezen, color-touch, stellest, miyosmart).
   Loaded only on those seven pages (each sets $page_head_extra). Built on the site's own tokens;
   every selector starts with .lp. First the styles all seven share, then each page's own. */

.lp { color: var(--ink); }
.lp sup { font-size: .6em; line-height: 0; }
.lp img, .lp video { display: block; width: 100%; height: auto; }

.lp .lp-wrap { max-width: var(--container-max); margin-inline: auto; padding-inline: var(--container-pad-x); }
.lp .lp-sec { padding-block: clamp(48px, 6vw, 88px); border-top: 1px solid var(--hairline); }
.lp .lp-sec--flush { border-top: 0; }
.lp .lp-sec--tight { padding-block: clamp(32px, 4vw, 56px); }

/* breadcrumb back to the Lens hub */
.lp .lp-crumbs { display: flex; gap: 8px; align-items: center; padding-top: clamp(16px, 2vw, 24px); font-size: 12px; color: var(--muted); }
.lp .lp-crumbs a { color: var(--muted); }
.lp .lp-crumbs a:hover { color: var(--ink); opacity: 1; }

/* small caps label (same as the site's .eyebrow) */
.lp .lp-eyebrow { font-family: var(--font-meta); font-weight: 700; font-size: var(--fs-meta); letter-spacing: var(--ls-meta); text-transform: uppercase; line-height: 1.3; color: var(--muted); }
.lp .lp-muted { color: var(--muted); }
.lp .lp-lede { font-size: var(--fs-body-lg); line-height: var(--lh-relaxed); margin: 0; }
.lp .lp-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: clamp(28px, 3vw, 48px); max-width: 900px; }
.lp .lp-head p { margin: 0; color: var(--muted); max-width: 64ch; }

/* hero */
.lp .lp-hero { padding-block: clamp(16px, 2vw, 24px) clamp(48px, 6vw, 88px); }
.lp .lp-hero__img { aspect-ratio: var(--lp-ar, 21 / 9); object-fit: cover; }
.lp .lp-hero__body { display: grid; gap: 24px 64px; margin-top: clamp(28px, 4vw, 48px); }
.lp .lp-hero__title { display: flex; flex-direction: column; gap: 16px; }
.lp .lp-hero__title h1 { font-size: clamp(40px, 5vw, var(--fs-display-md)); }
.lp .lp-hero__copy { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.lp .lp-hero__copy p { margin: 0; }
@media (min-width: 1024px) {
  .lp .lp-hero__body { grid-template-columns: 1fr 1fr; align-items: end; }
}

/* buttons and text links (same voice as the site's .btn--primary) */
.lp .lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 14px 28px; font-family: var(--font-sans); font-weight: 700; font-size: var(--fs-ui); letter-spacing: var(--ls-ui); text-transform: uppercase; line-height: 1; white-space: nowrap; background: var(--ink); color: var(--paper); border: 1px solid var(--ink); }
.lp .lp-btn:hover { opacity: .85; color: var(--paper); }
.lp .lp-btn--ghost { background: transparent; color: var(--ink); }
.lp .lp-btn--ghost:hover { background: var(--ink); color: var(--paper); opacity: 1; }
.lp .lp-more { display: inline-flex; gap: 6px; align-items: center; margin-top: auto; padding-top: 8px; font-weight: 700; font-size: var(--fs-ui); letter-spacing: var(--ls-ui); text-transform: uppercase; color: var(--blue); }

/* numbered benefits */
.lp .lp-points { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.lp .lp-points--wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 40px 32px; }
.lp .lp-point { border-top: 1px solid var(--ink); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.lp .lp-point p { margin: 0; font-size: var(--fs-body-sm); line-height: var(--lh-relaxed); color: var(--muted); }

/* image or video beside text */
.lp .lp-split { display: grid; gap: 32px 64px; align-items: center; }
.lp .lp-split__text { display: flex; flex-direction: column; gap: 16px; }
.lp .lp-split__text p { margin: 0; line-height: var(--lh-relaxed); }
@media (min-width: 1024px) {
  .lp .lp-split { grid-template-columns: 1fr 1fr; }
  .lp .lp-split--rev > :first-child { order: 2; }
}
.lp .lp-media { background: var(--surface); }
.lp .lp-video { position: relative; aspect-ratio: 16 / 9; background: var(--surface); }
.lp .lp-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* big numbers */
.lp .lp-stats { display: grid; gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.lp .lp-stat { background: var(--paper); padding: clamp(32px, 4vw, 48px) clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 16px; }
.lp .lp-stat__num { font-weight: 500; font-size: clamp(56px, 7vw, 88px); letter-spacing: var(--ls-display); line-height: 1; font-variant-numeric: tabular-nums; }
.lp .lp-stat p { margin: 0; color: var(--muted); max-width: 42ch; }

/* hairline list rows */
.lp .lp-rows { display: flex; flex-direction: column; border-bottom: 1px solid var(--hairline); }
.lp .lp-rows > div { padding: 16px 0; border-top: 1px solid var(--hairline); display: flex; flex-direction: column; gap: 4px; }
.lp .lp-rows__k { font-weight: 700; font-size: var(--fs-ui); letter-spacing: var(--ls-ui); text-transform: uppercase; }
.lp .lp-rows__v { color: var(--muted); line-height: 1.55; }

/* cards */
.lp .lp-cards { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.lp .lp-cards--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.lp .lp-card { border: 1px solid var(--hairline); display: flex; flex-direction: column; color: var(--ink); background: var(--paper); }
.lp a.lp-card:hover { opacity: 1; border-color: var(--ink); }
.lp .lp-card__img { aspect-ratio: 4 / 3; object-fit: cover; background: var(--surface); }
.lp .lp-card__img--tall { aspect-ratio: 4 / 5; }
.lp .lp-card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.lp .lp-card__body p { margin: 0; font-size: var(--fs-body-sm); line-height: var(--lh-relaxed); color: var(--muted); }
.lp .lp-card__title { font-weight: 500; font-size: 18px; letter-spacing: -0.02em; line-height: 1.3; }

/* quotes */
.lp .lp-quote { margin: 0; border: 1px solid var(--hairline); display: flex; flex-direction: column; }
.lp .lp-quote__media { aspect-ratio: 3 / 2; object-fit: cover; background: var(--surface); }
.lp .lp-quote__body { padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.lp .lp-quote blockquote { margin: 0; font-weight: 500; font-size: 20px; letter-spacing: -0.02em; line-height: 1.45; }

/* store call-to-action band */
.lp .lp-cta { background: var(--surface); padding: clamp(40px, 5vw, 64px) 24px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.lp .lp-cta p { margin: 0; color: var(--muted); }
.lp .lp-cta .lp-btn { margin-top: 8px; }

/* bordered note */
.lp .lp-note { border: 1px solid var(--hairline); padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: 16px; }
.lp .lp-note p { margin: 0; max-width: 76ch; line-height: var(--lh-relaxed); }

/* legal footnotes */
.lp .lp-legal { padding-block: clamp(40px, 5vw, 64px) clamp(56px, 7vw, 96px); display: flex; flex-direction: column; gap: 16px; }
.lp .lp-legal ol, .lp .lp-legal ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 12px; line-height: 1.6; color: var(--muted); }

/* ---- /lens only ---- */
.lp--lens .lp-hub-hero { padding-block: clamp(32px, 5vw, 72px) clamp(16px, 2vw, 24px); display: flex; flex-direction: column; gap: 16px; }
.lp--lens .lp-hub-hero p { margin: 0; max-width: 64ch; }
.lp--lens .lp-cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.lp--lens .lp-card__img { aspect-ratio: 16 / 9; }

/* ---- /hoya-progressive only ---- */
.lp--hoya-progressive .lp-split--start { align-items: start; }
.lp--hoya-progressive .lp-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(32px, 4vw, 48px); }
.lp--hoya-progressive .lp-jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border: 1px solid var(--hairline); font-family: var(--font-sans); font-size: 13px; font-weight: 500; color: var(--ink); }
.lp--hoya-progressive .lp-jump a:hover { border-color: var(--ink); opacity: 1; }
.lp--hoya-progressive .lp-media { aspect-ratio: 1 / 1; object-fit: cover; }
.lp--hoya-progressive .lp-sec[id] { scroll-margin-top: 140px; }

/* ---- /eyezen only ---- */
.lp--eyezen .lp-card.lp-card--row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.lp--eyezen .lp-card--row .lp-card__img { aspect-ratio: auto; height: 100%; min-height: 220px; }

/* ---- /color-touch only ---- */
.lp--color-touch .lp-card__img.lp-card__img--prod { aspect-ratio: 282 / 300; }

/* ---- /stellest only ---- */
.lp--stellest .lp-card__img.lp-card__img--kid { aspect-ratio: 708 / 800; }
.lp--stellest .lp-cards--row { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
@media (min-width: 640px) {
  .lp--stellest .lp-card--row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
  .lp--stellest .lp-card--row .lp-card__img { aspect-ratio: auto; height: 100%; min-height: 260px; }
}
.lp--stellest .lp-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.lp--stellest .lp-tags span { border: 1px solid var(--hairline); padding: 4px 8px; font-size: 12px; }
.lp--stellest .lp-legal p { margin: 0; font-size: 12px; line-height: 1.6; color: var(--muted); }

/* ---- /miyosmart only ---- */
.lp--miyosmart .lp-stats.lp-stats--icons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lp--miyosmart .lp-stats--icons img { width: 64px; height: 64px; object-fit: contain; }
.lp--miyosmart .lp-card__img.lp-card__img--wide { aspect-ratio: 1252 / 606; }
.lp--miyosmart .lp-split + .lp-note, .lp--miyosmart .lp-split + .lp-cards { margin-top: clamp(32px, 4vw, 48px); }
.lp--miyosmart .lp-logo { width: 200px; }
.lp--miyosmart .lp-head:last-child { margin-bottom: 0; }
.lp--miyosmart .lp-legal.lp-legal--disclaimer { padding-bottom: 32px; border-bottom: 1px solid var(--hairline); }
.lp--miyosmart .lp-legal--disclaimer p { margin: 0; font-size: 12px; line-height: 1.6; color: var(--muted); }
