/* ============================================================
   Harley Street Eye Hospital: inner pages (css/inner.css)
   Loaded after css/styles.css and css/option-a.css on every inner page,
   so the signed-off Option A header, enquiry band and footer carry over.
   British English. No em dashes.
   ============================================================ */

/* ---------- Page hero: photo with a navy fade, header sits on top ---------- */
.ip-hero { position: relative; overflow: hidden; isolation: isolate; display: grid; align-items: end; min-height: 560px; padding: 168px 0 clamp(56px, 7vw, 88px); background: var(--brand-navy); color: #ffffff; }
.ip-hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.ip-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13, 12, 34, .86) 0%, rgba(27, 25, 72, .58) 50%, rgba(13, 12, 34, .18) 100%); }
.ip-hero__copy { display: grid; gap: 18px; justify-items: start; max-width: 720px; }
.ip-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
.ip-crumbs li + li::before { content: '/'; margin-right: 8px; color: #7cc3ef; }
.ip-crumbs a { color: #ffffff; text-decoration: none; }
.ip-crumbs a:hover { color: #7cc3ef; }
.ip-hero h1 { color: #ffffff; font-size: var(--fs-h1); font-weight: 300; line-height: 1.1; }
.ip-hero p { font-size: var(--fs-lead); line-height: 1.6; color: rgba(255, 255, 255, .92); max-width: 620px; }
.ip-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
@media (max-width: 560px) { .ip-hero { min-height: 460px; padding-top: 130px; } .ip-hero::after { background: rgba(13, 12, 34, .62); } }

/* ---------- Quote band: "What is X?" with the consultant's quote ---------- */
.ip-quote {
  position: relative; overflow: hidden; color: #ffffff; padding: clamp(64px, 8vw, 104px) 0;
  background:
    radial-gradient(620px 340px at 88% 8%, color-mix(in srgb, var(--brand-blue) 55%, transparent), transparent 70%),
    linear-gradient(135deg, var(--brand-navy) 0%, color-mix(in srgb, var(--brand-navy) 82%, var(--brand-blue)) 100%);
}
.ip-quote .container { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(20px, 3vw, 44px); row-gap: 18px; max-width: 1060px; }
.ip-quote .container::before { content: '\201C'; grid-row: 1 / span 3; font: 400 clamp(6rem, 4rem + 6vw, 9rem) / .75 Georgia, 'Times New Roman', serif; color: #7cc3ef; }
.ip-quote h2 { grid-column: 2; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #7cc3ef; }
.ip-quote blockquote { grid-column: 2; margin: 0; font-size: calc(clamp(1.5rem, 1.1rem + 1.6vw, 2.375rem) * var(--ts)); font-weight: 300; line-height: 1.3; color: #ffffff; }
.ip-quote cite { grid-column: 2; display: inline-flex; align-items: center; gap: 12px; font-style: normal; font-weight: 600; color: rgba(255, 255, 255, .85); }
.ip-quote cite::before { content: ''; width: 40px; height: 3px; border-radius: 3px; background: #7cc3ef; }
@media (max-width: 640px) { .ip-quote .container { grid-template-columns: 1fr; } .ip-quote .container::before { grid-row: auto; font-size: 5rem; } .ip-quote h2, .ip-quote blockquote, .ip-quote cite { grid-column: 1; } }

/* ---------- Content sections ---------- */
.ip-sec { padding: clamp(56px, 7vw, 96px) 0; }
.ip-sec--tint { background: var(--surface); }
.ip-split { display: grid; gap: clamp(32px, 5vw, 80px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); align-items: center; }
.ip-split--flip .ip-split__media { order: 2; }
@media (max-width: 860px) { .ip-split--flip .ip-split__media { order: 0; } }
.ip-split__media { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lift); aspect-ratio: 4 / 3; background: var(--surface-2); }
.ip-split__media img { width: 100%; height: 100%; object-fit: cover; }
.ip-copy { display: grid; gap: 18px; align-content: start; max-width: 760px; }
.ip-copy--wide { max-width: 900px; }
.ip-copy h2 { font-size: var(--fs-h2); font-weight: 300; line-height: 1.15; }
.ip-copy h3 { font-size: var(--fs-h4); font-weight: 600; margin-top: 8px; }
.ip-copy p { color: var(--ink-muted); line-height: 1.75; }
.ip-copy .eyebrow { display: inline-flex; align-items: center; gap: 12px; }
.ip-copy .eyebrow::before { content: ''; width: 28px; height: 2px; border-radius: 2px; background: currentColor; }

/* Ticked list */
.ip-list { display: grid; gap: 12px; margin: 4px 0; padding: 0; list-style: none; }
.ip-list li { position: relative; padding-left: 38px; line-height: 1.6; color: var(--ink); }
.ip-list li::before { content: '\2713'; position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 700; }
.ip-list strong { color: var(--ink); }
.ip-list li span { color: var(--ink-muted); }
.ip-list--cols { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); column-gap: 28px; }

/* Feature cards (h5 + paragraph on the old site) */
.ip-cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); margin-top: clamp(28px, 4vw, 44px); }
.ip-card { position: relative; overflow: hidden; display: grid; gap: 10px; align-content: start; padding: 30px 26px 26px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.ip-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--accent), #7cc3ef); }
.ip-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.ip-card h3 { font-size: var(--fs-h5); font-weight: 700; color: var(--ink); }
.ip-card p { font-size: var(--fs-small); line-height: 1.7; color: var(--ink-muted); }
.ip-card__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.ip-card__icon svg { width: 22px; height: 22px; }

/* "Did you know" facts */
.ip-facts { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); margin-top: clamp(28px, 4vw, 44px); }
.ip-fact { display: grid; gap: 10px; padding: 28px; border-radius: var(--radius-lg); color: #ffffff; background: linear-gradient(150deg, var(--brand-navy) 0%, color-mix(in srgb, var(--brand-navy) 72%, var(--brand-blue)) 100%); box-shadow: var(--shadow-md); }
.ip-fact:nth-child(even) { background: linear-gradient(150deg, var(--brand-blue) 0%, color-mix(in srgb, var(--brand-blue) 62%, var(--brand-navy)) 100%); }
.ip-fact h3 { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #7cc3ef; }
.ip-fact:nth-child(even) h3 { color: #ffffff; }
.ip-fact p { font-size: calc(1.1875rem * var(--ts)); line-height: 1.5; color: #ffffff; }

/* Patient quote card */
.ip-testimonial { display: grid; gap: 14px; margin-top: clamp(28px, 4vw, 44px); padding: clamp(26px, 4vw, 44px); border-radius: var(--radius-xl); border: 1px solid var(--line); background: linear-gradient(135deg, var(--bg) 35%, var(--accent-soft) 100%); }
.ip-testimonial h3 { font-size: var(--fs-h4); font-weight: 600; }
.ip-testimonial p { font-size: calc(1.125rem * var(--ts)); line-height: 1.65; color: var(--ink); font-weight: 300; }

/* Book-a-consultation strip */
.ip-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; margin-top: clamp(28px, 4vw, 44px); padding: 28px clamp(24px, 4vw, 40px); border-radius: var(--radius-xl); color: #ffffff; background: linear-gradient(135deg, var(--brand-navy) 0%, color-mix(in srgb, var(--brand-navy) 70%, var(--brand-blue)) 100%); box-shadow: var(--shadow-md); }
.ip-cta h3 { color: #ffffff; font-size: var(--fs-h4); font-weight: 600; }
.ip-cta p { color: rgba(255, 255, 255, .85); margin-top: 4px; }

/* Price list */
.ip-prices { display: grid; gap: 0; margin: 4px 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.ip-prices li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ip-prices__name { color: var(--ink); line-height: 1.5; max-width: 560px; }
.ip-prices__price { font-weight: 700; color: var(--accent); white-space: nowrap; }
.ip-note { font-size: var(--fs-small); color: var(--ink-muted); }

/* Hub card grid (uses .card.card--link.card--treat from styles.css) */
.ip-hub { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); margin-top: clamp(32px, 4vw, 48px); }

/* Contact page */
.ip-contact { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); margin-top: clamp(28px, 4vw, 44px); }
.ip-contact__card { display: grid; gap: 8px; align-content: start; padding: 28px 26px; border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius-lg); background: var(--bg); box-shadow: var(--shadow-sm); }
.ip-contact__card h3 { font-size: var(--fs-h5); font-weight: 700; }
.ip-contact__card p { color: var(--ink-muted); line-height: 1.6; }
.ip-contact__card a { font-weight: 600; }
.ip-contact__note { font-size: var(--fs-xs); font-weight: 600; color: var(--accent); }

/* Legal pages */
.ip-legal { max-width: 800px; display: grid; gap: 16px; }
.ip-legal h2 { font-size: var(--fs-h3); font-weight: 600; margin-top: 24px; }
.ip-legal h3 { font-size: var(--fs-h5); font-weight: 700; margin-top: 8px; }
.ip-legal p, .ip-legal li { color: var(--ink-muted); line-height: 1.75; }
.ip-legal ul { display: grid; gap: 8px; margin: 0; padding-left: 22px; }
.ip-legal .ds-scroll, .ip-table-wrap { overflow-x: auto; }
.ip-legal table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.ip-legal th, .ip-legal td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.ip-legal th { font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.ip-legal__meta { font-size: var(--fs-small); color: var(--ink-muted); }
.ip-legal .btn { justify-self: start; }

/* Soft scroll animation for inner page blocks (same treatment as the homepage) */
@media (prefers-reduced-motion: no-preference) {
  .oa[data-motion="on"] .ip-hero__copy > * { animation: soft-rise .9s var(--ease) both; }
  .oa[data-motion="on"] .ip-hero__copy > :nth-child(2) { animation-delay: .1s; }
  .oa[data-motion="on"] .ip-hero__copy > :nth-child(3) { animation-delay: .2s; }
  .oa[data-motion="on"] .ip-hero__copy > :nth-child(n+4) { animation-delay: .3s; }
  .oa[data-motion="on"] .ip-hero__img { animation: soft-zoom 6s cubic-bezier(.2, .6, .2, 1) both; }
  @supports (animation-timeline: view()) {
    .oa[data-motion="on"] :is(.ip-quote blockquote, .ip-split__media, .ip-copy, .ip-card, .ip-fact, .ip-testimonial, .ip-cta, .ip-contact__card, .ip-prices li) {
      animation: soft-rise linear both; animation-timeline: view(); animation-range: entry 0% cover 25%;
    }
    .oa[data-motion="on"] :is(.ip-card, .ip-fact, .ip-contact__card):nth-child(2) { animation-range: entry 6% cover 31%; }
    .oa[data-motion="on"] :is(.ip-card, .ip-fact, .ip-contact__card):nth-child(3) { animation-range: entry 12% cover 37%; }
  }
}

/* Fee guide (pricing.html): one card per group */
.ip-feegrid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); align-items: start; margin-top: clamp(28px, 4vw, 44px); }
.ip-fee { position: relative; overflow: hidden; display: grid; gap: 10px; padding: 30px 28px 18px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.ip-fee::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--accent), #7cc3ef); }
.ip-fee h2 { font-size: var(--fs-h4); font-weight: 600; }
.ip-fee > p { font-size: var(--fs-small); color: var(--ink-muted); line-height: 1.6; }
.ip-fee .ip-prices { margin-top: 6px; }
.ip-fee .ip-prices li:last-child { border-bottom: 0; }
.ip-prices__name small { display: block; margin-top: 2px; font-size: var(--fs-xs); color: var(--ink-muted); }

/* 404 */
.ip-404 .ip-hero { min-height: 640px; }
.ip-links { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); margin-top: clamp(24px, 3vw, 36px); }
.ip-link { display: grid; gap: 6px; padding: 24px 24px 22px; border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius-lg); background: var(--bg); box-shadow: var(--shadow-sm); color: var(--ink); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.ip-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); color: var(--ink); }
.ip-link strong { font-size: var(--fs-h5); }
.ip-link span { font-size: var(--fs-small); color: var(--accent); font-weight: 600; }

/* Intro block: a heading-and-text section with no photo, set as a two-column feature panel */
.ip-intro { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; padding: clamp(32px, 5vw, 64px); border: 1px solid var(--line); border-radius: var(--radius-xl); background: linear-gradient(135deg, var(--accent-soft) 0%, var(--bg) 60%); box-shadow: var(--shadow-md); }
.ip-intro::after { content: ''; position: absolute; right: -90px; bottom: -90px; width: 260px; height: 260px; border-radius: 50%; border: 36px solid color-mix(in srgb, var(--accent) 8%, transparent); pointer-events: none; }
.ip-intro__head { display: grid; gap: 16px; align-content: start; padding-left: 22px; border-left: 4px solid var(--accent); }
.ip-intro__head .eyebrow { display: inline-flex; }
.ip-intro__head h2 { font-size: var(--fs-h2); font-weight: 300; line-height: 1.12; }
.ip-intro__body { position: relative; z-index: 1; display: grid; gap: 16px; }
.ip-intro__body p { color: var(--ink-muted); line-height: 1.75; }
.ip-intro__body p:first-child { font-size: var(--fs-lead); line-height: 1.6; color: var(--ink); font-weight: 300; }
.ip-intro__body .link-arrow { color: var(--accent); margin-top: 4px; }
@media (max-width: 860px) { .ip-intro { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: no-preference) { @supports (animation-timeline: view()) { .oa[data-motion="on"] .ip-intro { animation: soft-rise linear both; animation-timeline: view(); animation-range: entry 0% cover 25%; } } }

/* Showcase: photo beside a numbered list (sections that were a heading, a photo and feature cards) */
.ip-showcase { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.ip-showcase__media { position: relative; isolation: isolate; }
.ip-showcase__media::before { content: ''; position: absolute; z-index: -1; left: -18px; bottom: -18px; width: 70%; height: 70%; border-radius: var(--radius-xl); background: linear-gradient(135deg, var(--accent), #7cc3ef); opacity: .9; }
.ip-showcase__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-xl); box-shadow: var(--shadow-lift); }
.ip-showcase__body { display: grid; gap: 22px; justify-items: start; }
.ip-showcase__body .eyebrow { display: inline-flex; align-items: center; gap: 12px; }
.ip-showcase__body .eyebrow::before { content: ''; width: 28px; height: 2px; border-radius: 2px; background: currentColor; }
.ip-showcase__body h2 { font-size: var(--fs-h2); font-weight: 300; line-height: 1.12; }
.ip-steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; width: 100%; border-top: 1px solid var(--line); }
.ip-steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.ip-steps__n { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 1rem; font-weight: 700; letter-spacing: .02em; transition: background-color .2s ease, color .2s ease; }
.ip-steps li:hover .ip-steps__n { background: var(--accent); color: var(--accent-ink); }
.ip-steps h3 { font-size: var(--fs-h5); font-weight: 700; margin-bottom: 6px; }
.ip-steps p { font-size: var(--fs-small); line-height: 1.7; color: var(--ink-muted); }
@media (max-width: 860px) { .ip-showcase { grid-template-columns: 1fr; } .ip-showcase__media img { aspect-ratio: 4 / 3; } }
@media (prefers-reduced-motion: no-preference) { @supports (animation-timeline: view()) { .oa[data-motion="on"] :is(.ip-showcase__media, .ip-steps li) { animation: soft-rise linear both; animation-timeline: view(); animation-range: entry 0% cover 25%; } } }

/* Showcase v2: its own navy band, glass step cards and a floating Doctify badge */
.ip-sec:has(.ip-showcase) { position: relative; overflow: hidden; color: #ffffff; background:
    radial-gradient(640px 360px at 92% 10%, color-mix(in srgb, var(--brand-blue) 50%, transparent), transparent 70%),
    radial-gradient(520px 320px at 0% 100%, rgba(124, 195, 239, .14), transparent 70%),
    linear-gradient(135deg, var(--brand-navy) 0%, color-mix(in srgb, var(--brand-navy) 80%, var(--brand-blue)) 100%); }
.ip-showcase__media::before { background: linear-gradient(135deg, #7cc3ef, var(--brand-blue)); }
.ip-showcase__badge { position: absolute; right: -20px; bottom: 28px; display: flex; align-items: center; gap: 12px; max-width: 280px; padding: 12px 16px 12px 12px; border-radius: var(--radius-lg); background: #ffffff; color: var(--brand-ink, #0d0c22); box-shadow: var(--shadow-lift); }
.ip-showcase__badge img { width: 74px; height: auto; aspect-ratio: auto; border-radius: 8px; box-shadow: none; }
.ip-showcase__badge span { display: grid; gap: 2px; font-size: var(--fs-xs); color: #55546a; }
.ip-showcase__badge strong { font-size: var(--fs-small); color: #0d0c22; line-height: 1.3; }
.ip-showcase__body .eyebrow { color: #7cc3ef; }
.ip-showcase__body h2 { color: #ffffff; }
.ip-showcase .ip-steps { gap: 14px; border-top: 0; }
.ip-showcase .ip-steps li { padding: 20px 22px; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .06); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color .25s ease, border-color .25s ease, transform .25s var(--ease); }
.ip-showcase .ip-steps li:hover { background: rgba(255, 255, 255, .1); border-color: rgba(124, 195, 239, .5); transform: translateX(4px); }
.ip-showcase .ip-steps__n { background: linear-gradient(135deg, #7cc3ef, var(--brand-blue)); color: #ffffff; }
.ip-showcase .ip-steps li:hover .ip-steps__n { background: #ffffff; color: var(--brand-blue); }
.ip-showcase .ip-steps h3 { color: #ffffff; }
.ip-showcase .ip-steps p { color: rgba(255, 255, 255, .78); }
@media (max-width: 860px) { .ip-showcase__badge { right: 12px; bottom: 12px; } }

/* Get in touch panel (About doctors) */
.ip-touch { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.1fr) repeat(2, minmax(0, 1fr)) auto; gap: 20px; align-items: center; padding: clamp(24px, 3.5vw, 40px); border-radius: var(--radius-xl); color: #ffffff; background:
    radial-gradient(420px 220px at 100% 0%, color-mix(in srgb, var(--brand-blue) 55%, transparent), transparent 70%),
    linear-gradient(135deg, var(--brand-navy) 0%, color-mix(in srgb, var(--brand-navy) 78%, var(--brand-blue)) 100%); box-shadow: var(--shadow-lift); }
.ip-touch__head { display: grid; gap: 6px; }
.ip-touch__head .eyebrow { color: #7cc3ef; }
.ip-touch__head h2 { color: #ffffff; font-size: var(--fs-h3); font-weight: 600; }
.ip-touch__tile { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .07); color: #ffffff; text-decoration: none; transition: background-color .2s ease, border-color .2s ease, transform .2s var(--ease); }
.ip-touch__tile:hover { background: rgba(255, 255, 255, .12); border-color: rgba(124, 195, 239, .55); color: #ffffff; transform: translateY(-2px); }
.ip-touch__tile span:last-child { display: grid; gap: 2px; font-weight: 600; overflow-wrap: anywhere; }
.ip-touch__tile small { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #7cc3ef; }
.ip-touch__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #7cc3ef, var(--brand-blue)); color: #ffffff; }
.ip-touch__icon svg { width: 20px; height: 20px; }
.ip-touch .btn--primary { background: #ffffff; color: var(--brand-navy); }
@media (max-width: 1000px) { .ip-touch { grid-template-columns: 1fr 1fr; } .ip-touch__head { grid-column: 1 / -1; } .ip-touch .btn { grid-column: 1 / -1; justify-self: start; } }
@media (max-width: 560px) { .ip-touch { grid-template-columns: 1fr; } }

/* Enquiry band, light version (trial on About doctors) */
.ip-enq--light { position: relative; background: linear-gradient(180deg, var(--surface) 0%, var(--accent-soft) 100%); color: var(--ink); }
.ip-enq--light .eyebrow { color: var(--accent); }
.ip-enq--light h2 { color: var(--ink); }
.ip-enq--light .oa-cta__copy { background: var(--bg); border: 1px solid var(--line); border-top: 4px solid var(--accent); box-shadow: var(--shadow-lift); -webkit-backdrop-filter: none; backdrop-filter: none; }
.ip-enq--light .oa-cta__copy::after { background: radial-gradient(circle, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%); }
.ip-enq--light .oa-site { background: var(--surface); border-top-color: var(--accent); color: var(--ink-muted); box-shadow: none; }
.ip-enq--light .oa-site strong { color: var(--ink); }
.ip-enq--light .oa-site__note { color: var(--accent); }
.ip-enq--light .oa-cta__form { box-shadow: var(--shadow-lift); }

/* Get in touch panel: heading and button on the top row, the two tiles below, so the wording fits */
.ip-touch { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "head btn" "phone email"; gap: 24px 20px; }
.ip-touch__head { grid-area: head; }
.ip-touch > .btn { grid-area: btn; justify-self: end; align-self: center; }
.ip-touch__tile:nth-of-type(1) { grid-area: phone; }
.ip-touch__tile:nth-of-type(2) { grid-area: email; }
.ip-touch__tile { padding: 18px 22px; gap: 16px; }
.ip-touch__tile span:last-child { overflow-wrap: normal; white-space: nowrap; font-size: calc(1.125rem * var(--ts)); }
@media (max-width: 1000px) { .ip-touch { grid-template-columns: 1fr 1fr; grid-template-areas: "head head" "phone email" "btn btn"; } .ip-touch > .btn { justify-self: start; } }
@media (max-width: 640px) { .ip-touch { grid-template-columns: 1fr; grid-template-areas: "head" "phone" "email" "btn"; } .ip-touch__tile span:last-child { white-space: normal; overflow-wrap: anywhere; } }

/* Hub cards (Conditions, Treatments, Cosmetics): photo with a navy fade, glow on hover (no numbers) */
.ip-hub { counter-reset: hub; gap: 28px; }
.ip-hub .card--treat { counter-increment: hub; border: 1px solid var(--line); box-shadow: var(--shadow-md); background: linear-gradient(180deg, var(--bg) 60%, var(--accent-soft) 100%); }
.ip-hub .card--treat:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -20px color-mix(in srgb, var(--accent) 45%, rgba(13, 12, 34, .4)); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.ip-hub .card--treat .card__media { aspect-ratio: 4 / 3; }
.ip-hub .card--treat .card__media::after { background: linear-gradient(180deg, rgba(13, 12, 34, 0) 45%, rgba(13, 12, 34, .55) 100%); }
.ip-hub .card--treat .card__media::before { content: none; }
.ip-hub .card--treat .card__body { gap: 14px; padding: 26px 28px 28px; }
.ip-hub .card--treat .card__title { font-size: var(--fs-h3); font-weight: 600; }
.ip-hub .card--treat .muted { line-height: 1.65; }

/* Fee cards v2: tinted header, eye badge, price pills, row highlight */
.ip-fee { gap: 8px; padding: 0 0 12px; background: linear-gradient(180deg, var(--accent-soft) 0, var(--bg) 150px); box-shadow: var(--shadow-md); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.ip-fee:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.ip-fee h2 { display: flex; align-items: center; gap: 14px; padding: 28px 28px 0; }
.ip-fee h2::before { content: ''; flex: none; width: 44px; height: 44px; border-radius: 50%; background:
    radial-gradient(circle at 50% 50%, #ffffff 0 5px, transparent 6px),
    radial-gradient(ellipse 15px 9px at 50% 50%, transparent 0 8px, rgba(255, 255, 255, .9) 9px 10px, transparent 11px),
    linear-gradient(135deg, #7cc3ef, var(--brand-blue)); box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--brand-blue) 70%, transparent); }
.ip-fee > p { padding: 0 28px; }
.ip-fee .ip-prices { margin: 6px 14px 0; border-top: 0; }
.ip-fee .ip-prices li { padding: 14px 14px; border-bottom: 1px dashed var(--line); border-radius: 10px; transition: background-color .18s ease; }
.ip-fee .ip-prices li:hover { background: var(--accent-soft); border-bottom-color: transparent; }
.ip-fee .ip-prices__price { padding: 4px 12px; border-radius: var(--radius-pill); background: var(--accent-soft); font-size: var(--fs-small); }
.ip-fee .ip-prices li:hover .ip-prices__price { background: var(--accent); color: var(--accent-ink); }

/* Photo and text blocks v2: offset colour block behind the photo, accent rule under the heading, lead first paragraph */
.ip-split__media { box-shadow: 22px 22px 0 0 color-mix(in srgb, var(--accent) 22%, transparent), var(--shadow-lift); transition: transform .4s var(--ease); }
.ip-split--flip .ip-split__media { box-shadow: -22px 22px 0 0 color-mix(in srgb, var(--accent) 22%, transparent), var(--shadow-lift); }
.ip-split__media img { transition: transform .8s var(--ease); }
.ip-split:hover .ip-split__media img { transform: scale(1.04); }
.ip-split .ip-copy { position: relative; padding: clamp(4px, 1vw, 12px) 0; }
.ip-split .ip-copy h2 { position: relative; padding-bottom: 18px; }
.ip-split .ip-copy h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 56px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--accent), #7cc3ef); }
.ip-split .ip-copy h2 + p { font-size: calc(1.1875rem * var(--ts)); line-height: 1.65; color: var(--ink); font-weight: 300; }
.ip-split .ip-copy h3 { display: flex; align-items: center; gap: 10px; }
.ip-split .ip-copy h3::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.ip-sec--tint .ip-split__media { box-shadow: 22px 22px 0 0 color-mix(in srgb, var(--accent) 28%, transparent), var(--shadow-lift); }
.ip-sec--tint .ip-split--flip .ip-split__media { box-shadow: -22px 22px 0 0 color-mix(in srgb, var(--accent) 28%, transparent), var(--shadow-lift); }
@media (max-width: 860px) { .ip-split__media, .ip-split--flip .ip-split__media, .ip-sec--tint .ip-split__media, .ip-sec--tint .ip-split--flip .ip-split__media { box-shadow: 12px 12px 0 0 color-mix(in srgb, var(--accent) 22%, transparent), var(--shadow-md); } }

/* Ticked lists v2: a white card with a blue edge, gradient ticks and row highlight; short lists become chips */
.ip-copy .ip-list { gap: 4px; padding: 14px; background: var(--bg); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.ip-copy .ip-list li { padding: 10px 12px 10px 50px; border-radius: 10px; transition: background-color .18s ease; }
.ip-copy .ip-list li:hover { background: var(--accent-soft); }
.ip-copy .ip-list li::before { left: 12px; top: 10px; width: 26px; height: 26px; background: linear-gradient(135deg, #7cc3ef, var(--brand-blue)); color: #ffffff; box-shadow: 0 6px 14px -6px color-mix(in srgb, var(--brand-blue) 70%, transparent); }
.ip-copy .ip-list--cols { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; background: none; border: 0; box-shadow: none; }
.ip-copy .ip-list--cols li { padding: 10px 16px 10px 46px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--bg); box-shadow: var(--shadow-sm); font-weight: 600; font-size: var(--fs-small); }
.ip-copy .ip-list--cols li::before { top: 50%; margin-top: -12px; left: 12px; width: 24px; height: 24px; }
.ip-copy .ip-list--cols li:hover { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.ip-sec--tint .ip-copy .ip-list { box-shadow: var(--shadow-md); }

/* Photos in photo and text blocks show at their own shape, so nothing is cropped off */
.ip-split__media { aspect-ratio: auto; align-self: center; }
.ip-split__media img { height: auto; aspect-ratio: auto; object-fit: initial; }
/* ...framed at 4:5 and anchored near the top so faces and heads are never cut off */
.ip-split__media img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; }

/* Feature cards v2 (treatment options and similar): gradient icon, tinted base, glow on hover */
.ip-cards { gap: 22px; }
.ip-card { gap: 12px; padding: 30px 28px 28px; background: linear-gradient(180deg, var(--bg) 55%, var(--accent-soft) 100%); box-shadow: var(--shadow-md); }
.ip-card:hover { transform: translateY(-5px); box-shadow: 0 24px 44px -20px color-mix(in srgb, var(--accent) 45%, rgba(13, 12, 34, .4)); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.ip-card__icon { width: 52px; height: 52px; background: linear-gradient(135deg, #7cc3ef, var(--brand-blue)); color: #ffffff; box-shadow: 0 10px 20px -10px color-mix(in srgb, var(--brand-blue) 75%, transparent); }
.ip-card__icon svg { width: 24px; height: 24px; }
.ip-card h3 { font-size: var(--fs-h4); font-weight: 600; }
.ip-card p { font-size: var(--fs-small); line-height: 1.75; }
.ip-copy + .ip-cards, .ip-split + .ip-cards { margin-top: clamp(40px, 5vw, 64px); }

/* Long condition lists: intro and photo side by side, then a two-column grid of compact cards */
.ip-flist { display: grid; gap: clamp(36px, 4.5vw, 56px); }
.ip-flist__head { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.ip-flist__copy h2 { margin: 10px 0 16px; }
.ip-flist__copy p { color: var(--ink-muted); font-size: var(--fs-lead, 1.125rem); line-height: 1.7; margin: 0; }
.ip-flist__media { border-radius: var(--radius-lg, 20px); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 16 / 10; }
.ip-flist__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.ip-fcards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ip-fcards li { position: relative; display: grid; grid-template-columns: 44px 1fr; column-gap: 18px; row-gap: 6px; align-content: start; padding: 26px 28px; border: 1px solid var(--line); border-radius: var(--radius-lg, 20px); background: linear-gradient(180deg, var(--bg) 60%, var(--accent-soft) 100%); box-shadow: var(--shadow-sm, 0 2px 6px rgba(13, 12, 34, .06)); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.ip-fcards li:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -22px color-mix(in srgb, var(--accent) 45%, rgba(13, 12, 34, .4)); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.ip-fcards li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.ip-fcards__icon { grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #ffffff; background: linear-gradient(135deg, #7cc3ef, var(--brand-blue)); box-shadow: 0 10px 20px -10px color-mix(in srgb, var(--brand-blue) 75%, transparent); }
.ip-fcards__icon svg { width: 20px; height: 20px; }
.ip-fcards h3 { margin: 0; font-size: var(--fs-h5, 1.125rem); font-weight: 600; color: var(--brand-blue); line-height: 1.35; align-self: center; }
.ip-fcards p { grid-column: 2; margin: 0; font-size: var(--fs-small); line-height: 1.7; color: var(--ink-muted); }
.ip-fcards li > p:only-of-type:nth-child(2) { grid-row: 1 / span 2; align-self: center; }
@media (max-width: 860px) {
  .ip-flist__head { grid-template-columns: 1fr; }
  .ip-fcards { grid-template-columns: 1fr; }
}

/* Contact cards v2: matches the feature cards (gradient icon, tinted base, glow on hover) */
.ip-contact { gap: 22px; }
.ip-contact__card { position: relative; gap: 10px; padding: 30px 28px 28px; border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg) 55%, var(--accent-soft) 100%); box-shadow: var(--shadow-md); transition: transform .3s var(--ease, ease), box-shadow .3s var(--ease, ease), border-color .3s var(--ease, ease); }
.ip-contact__card:hover { transform: translateY(-5px); box-shadow: 0 24px 44px -20px color-mix(in srgb, var(--accent) 45%, rgba(13, 12, 34, .4)); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.ip-contact__icon { width: 52px; height: 52px; margin-bottom: 8px; border-radius: 14px; display: grid; place-items: center; color: #ffffff; background: linear-gradient(135deg, #7cc3ef, var(--brand-blue)); box-shadow: 0 10px 20px -10px color-mix(in srgb, var(--brand-blue) 75%, transparent); }
.ip-contact__icon svg { width: 24px; height: 24px; }
.ip-contact__note { font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.ip-contact__card h3 { font-size: var(--fs-h4); font-weight: 600; color: var(--brand-blue); }
.ip-contact__card p { font-size: var(--fs-small); line-height: 1.75; }
.ip-contact__card > a { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; }
.ip-contact__card > a::after { content: "\2192"; transition: transform .25s ease; }
.ip-contact__card > a:hover::after { transform: translateX(4px); }
.ip-contact__card .ip-note { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); font-size: var(--fs-xs); }

/* Fee cards: no icon beside the heading */
.ip-fee h2::before { content: none; }
.ip-fee h2 { gap: 0; }

/* Subheading panel inside a photo and text block, styled like the feature cards below it */
.ip-copy .ip-card--panel { margin-top: 26px; }
.ip-copy .ip-card--panel h3 { margin: 4px 0 0; }
.ip-copy .ip-card--panel p { margin: 0; }
.ip-split .ip-copy .ip-card--panel h3 { display: block; font-size: var(--fs-h4); }
.ip-split .ip-copy .ip-card--panel h3::before { content: none; }

/* Paired lists (who is at risk and symptoms): portrait photo beside two panels */
.ip-duo { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 2fr); gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.ip-duo__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); min-height: 100%; }
.ip-duo__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
.ip-duo__body h2 { margin: 10px 0 clamp(22px, 3vw, 32px); }
.ip-duo__panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.ip-duo__panel { display: grid; align-content: start; gap: 18px; padding: 30px 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--bg) 55%, var(--accent-soft) 100%); box-shadow: var(--shadow-md); }
.ip-duo__panel h3 { margin: 0; font-size: var(--fs-h5); font-weight: 600; line-height: 1.4; color: var(--brand-blue); }
.ip-duo__risk { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ip-duo__risk li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; font-size: var(--fs-small); line-height: 1.6; color: var(--ink); }
.ip-duo__tick { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; color: #ffffff; background: linear-gradient(135deg, #7cc3ef, var(--brand-blue)); box-shadow: 0 8px 16px -8px color-mix(in srgb, var(--brand-blue) 75%, transparent); }
.ip-duo__tick svg { width: 15px; height: 15px; }
.ip-duo__panel--navy { position: relative; overflow: hidden; border-color: transparent; background: radial-gradient(120% 80% at 100% 0%, color-mix(in srgb, var(--brand-blue) 55%, transparent), transparent 60%), linear-gradient(160deg, var(--brand-navy), #0d0c22); }
.ip-duo__panel--navy h3 { color: #ffffff; }
.ip-duo__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ip-duo__chips li { padding: 9px 16px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 14px; background: rgba(255, 255, 255, .08); color: #ffffff; font-size: var(--fs-small); line-height: 1.4; backdrop-filter: blur(6px); transition: background-color .2s ease, border-color .2s ease; }
.ip-duo__chips li:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .4); }
@media (max-width: 960px) {
  .ip-duo { grid-template-columns: 1fr; }
  .ip-duo__media { aspect-ratio: 16 / 10; min-height: 0; }
  .ip-duo__panels { grid-template-columns: 1fr; }
}

/* Titles in the paired-list and long-list blocks match the other section titles */
.ip-duo__body > .eyebrow, .ip-flist__copy > .eyebrow { display: none; }
.ip-duo__body h2, .ip-flist__copy h2 { position: relative; margin: 0 0 clamp(26px, 3vw, 36px); padding-bottom: 18px; font-size: var(--fs-h2); font-weight: 300; line-height: 1.15; }
.ip-duo__body h2::after, .ip-flist__copy h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 56px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--accent), #7cc3ef); }
.ip-flist__copy h2 + p { font-size: calc(1.1875rem * var(--ts)); line-height: 1.65; color: var(--ink); font-weight: 300; }

/* Four-up option cards (for example cataract treatment options) */
.ip-cards--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ip-cards--four .ip-card { padding: 26px 24px 24px; }
.ip-cards--four .ip-card h3 { font-size: var(--fs-h5); line-height: 1.4; }
@media (max-width: 1100px) { .ip-cards--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ip-cards--four { grid-template-columns: 1fr; } }

/* Stacked option cards inside a photo and text block (for example retina treatment options) */
.ip-stack { display: grid; gap: 16px; margin-top: 22px; }
.ip-stack .ip-card { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; padding: 24px 26px; }
.ip-stack .ip-card > div { display: grid; gap: 6px; }
.ip-stack .ip-card h3 { margin: 0; font-size: var(--fs-h5); line-height: 1.35; }
.ip-split .ip-copy .ip-stack h3 { display: block; }
.ip-split .ip-copy .ip-stack h3::before { content: none; }
.ip-stack .ip-card p { margin: 0; }
.ip-stack .ip-card > div > p:only-child { align-self: center; }

/* Symptom tags panel inside a photo and text block (same navy panel as the glaucoma symptoms) */
.ip-copy .ip-chips-panel { margin: 22px 0 8px; }
.ip-split .ip-copy .ip-chips-panel h3 { display: block; margin: 0; font-size: var(--fs-h5); color: #ffffff; }
.ip-split .ip-copy .ip-chips-panel h3::before { content: none; }
.ip-copy .ip-chips-panel .ip-duo__chips li { margin: 0; }

/* Question and answer block: title and intro on the left, answer in a panel on the right */
.ip-qa { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.ip-qa__head h2 { position: relative; margin: 0 0 22px; padding-bottom: 18px; font-size: var(--fs-h2); font-weight: 300; line-height: 1.15; }
.ip-qa__head h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 56px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--accent), #7cc3ef); }
.ip-qa__head p { margin: 0; font-size: calc(1.1875rem * var(--ts)); line-height: 1.65; color: var(--ink); font-weight: 300; }
.ip-qa__panel { padding: 34px 34px 30px; }
.ip-qa__panel h3 { margin: 4px 0 0; }
.ip-qa__panel p { margin: 0; }
.ip-qa__link { margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--line); font-size: var(--fs-small); font-weight: 600; }
@media (max-width: 900px) { .ip-qa { grid-template-columns: 1fr; } }

/* Paired panels: optional intro above and a link below */
.ip-duo__intro { margin: -8px 0 clamp(24px, 3vw, 32px); display: grid; gap: 14px; }
.ip-duo__intro p { margin: 0; color: var(--ink-muted); line-height: 1.7; }
.ip-duo__intro p:first-child { font-size: calc(1.1875rem * var(--ts)); color: var(--ink); font-weight: 300; }
.ip-duo__link { margin-top: 24px; font-size: var(--fs-small); font-weight: 600; }
.ip-duo { align-items: stretch; }

/* Benefits card inside a photo and text block */
.ip-copy .ip-benefits { margin-top: 22px; padding: 26px 26px; }

/* Two panels side by side under a photo and text block (navy explainer and white card) */
.ip-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: clamp(40px, 5vw, 64px); align-items: stretch; }
.ip-pair__navy { gap: 14px; padding: 34px 32px; }
.ip-pair__navy p { margin: 0; color: rgba(255, 255, 255, .78); font-size: var(--fs-small); line-height: 1.75; }
.ip-pair__navy .ip-pair__lead { color: #ffffff; font-size: var(--fs-h5); font-weight: 600; line-height: 1.5; }
.ip-pair__card { padding: 34px 32px 30px; }
.ip-pair__card h3 { margin: 4px 0 0; }
.ip-pair__card p { margin: 0; }
@media (max-width: 900px) { .ip-pair { grid-template-columns: 1fr; } }

/* OMNI: space between the paired panels and the testimonial */
.ip-pair + .ip-testimonial { margin-top: 28px !important; }

/* Long text block: title and first paragraphs on the left, context in a navy panel on the right */
.ip-longp { align-items: start; }
.ip-longp .ip-qa__head { display: grid; gap: 16px; }
.ip-longp .ip-qa__head h2 { margin-bottom: 6px; }
.ip-longp .ip-qa__head p + p { font-size: var(--fs-small); color: var(--ink-muted); line-height: 1.75; font-weight: 400; }
.ip-longp__panel { gap: 16px; padding: 36px 34px; }
.ip-longp__panel p { margin: 0; color: rgba(255, 255, 255, .8); font-size: var(--fs-small); line-height: 1.75; }
.ip-longp__panel p:first-child { color: #ffffff; font-size: var(--fs-h5); font-weight: 600; line-height: 1.5; }
.ip-longp__panel p:last-child { margin-top: 4px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .18); color: #ffffff; }

/* Benefits block: title and summary on the left, benefit cards stacked on the right */
.ip-listqa { align-items: start; }
.ip-listqa .ip-qa__head { display: grid; gap: 16px; }
.ip-listqa .ip-qa__head h2 { margin-bottom: 6px; }
.ip-listqa .ip-qa__head p + p { font-size: var(--fs-small); color: var(--ink-muted); line-height: 1.75; font-weight: 400; }
.ip-listqa__lead { margin: 0; font-weight: 600; color: var(--brand-blue); }
.ip-listqa .ip-stack { margin-top: 16px; }
.ip-listqa .ip-stack .ip-card p { color: var(--ink); }

/* Three-up title cards (for example the Rexon-Eye treatment schedule) */
.ip-cards--three { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 32px; }
.ip-card--title { align-content: start; }
@media (max-width: 860px) { .ip-cards--three { grid-template-columns: 1fr; } }

/* Testimonial on inner pages: the homepage review card, shown on its own */
.ip-review { margin-top: 28px; }
.ip-pair + .ip-review { margin-top: 28px; }
.ip-review .reviews__track { transform: none; }
.ip-review .review { position: relative; }
.ip-review .review::before { content: "\201C"; display: block; height: 48px; font-size: 88px; line-height: 1; color: var(--accent); opacity: .35; font-family: Georgia, serif; }

/* OMNI navy panel v2: content centred, lighter lead, softer glow, no empty space at the bottom */
.ip-pair { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
.ip-pair__navy { position: relative; overflow: hidden; align-content: center; gap: 18px; padding: 44px 40px; border-radius: var(--radius-lg);
  background: radial-gradient(90% 60% at 100% 0%, color-mix(in srgb, var(--brand-blue) 45%, transparent), transparent 65%), radial-gradient(70% 50% at 0% 100%, color-mix(in srgb, #7cc3ef 22%, transparent), transparent 70%), linear-gradient(160deg, var(--brand-navy), #0d0c22); }
.ip-pair__navy::before { content: ''; position: absolute; left: 40px; top: 0; width: 56px; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, #7cc3ef, var(--brand-blue)); }
.ip-pair__navy .ip-pair__lead { font-size: calc(1.3125rem * var(--ts)); font-weight: 300; line-height: 1.55; letter-spacing: -.005em; }
.ip-pair__navy p:not(.ip-pair__lead) { padding-left: 16px; border-left: 2px solid rgba(124, 195, 239, .45); }
.ip-review .review__quote { margin: 0; }

/* 404 popular pages v2: same card language as the inner pages */
.ip-links__head h2 { position: relative; padding-bottom: 18px; }
.ip-links__head h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 56px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--accent), #7cc3ef); }
.ip-links { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; }
.ip-link { position: relative; grid-column: span 2; gap: 8px; padding: 30px 28px 28px; border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg) 55%, var(--accent-soft) 100%); box-shadow: var(--shadow-md); overflow: hidden; }
.ip-link::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--accent), #7cc3ef); }
.ip-link:nth-child(n+4) { grid-column: span 3; }
.ip-link:hover { transform: translateY(-5px); box-shadow: 0 24px 44px -20px color-mix(in srgb, var(--accent) 45%, rgba(13, 12, 34, .4)); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.ip-link .ip-link__icon { width: 52px; height: 52px; margin-bottom: 10px; border-radius: 50%; display: grid; place-items: center; color: #ffffff; background: linear-gradient(135deg, #7cc3ef, var(--brand-blue)); box-shadow: 0 10px 20px -10px color-mix(in srgb, var(--brand-blue) 75%, transparent); }
.ip-link .ip-link__icon svg { width: 24px; height: 24px; }
.ip-link strong { font-size: var(--fs-h4); font-weight: 600; }
.ip-link > span:not(.ip-link__icon) { color: var(--ink-muted); font-weight: 400; }
.ip-link__arrow { position: absolute; right: 26px; bottom: 26px; color: var(--accent); transition: transform .25s ease; }
.ip-link:hover .ip-link__arrow { transform: translateX(4px); }
@media (max-width: 860px) { .ip-links { grid-template-columns: 1fr; } .ip-link, .ip-link:nth-child(n+4) { grid-column: auto; } }

/* Blog index: filter pills and post cards (kit blog.html structure, inner page card style) */
.blog-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: clamp(24px, 3vw, 36px); }
.blog-filter__radio { position: absolute; opacity: 0; pointer-events: none; }
.filter-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--bg); color: var(--ink-muted); font-size: .9375rem; font-weight: 600; cursor: pointer; transition: all .2s ease; }
.filter-btn:hover { border-color: var(--accent); color: var(--ink); }
.blog-filter__radio:checked + .filter-btn, .filter-btn.is-active { background: var(--accent); border-color: var(--accent); color: #ffffff; box-shadow: 0 10px 20px -12px color-mix(in srgb, var(--accent) 80%, transparent); }
.blog-filter__radio:focus-visible + .filter-btn { outline: 3px solid var(--accent); outline-offset: 2px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.post-card { position: relative; display: flex; flex-direction: column; min-height: 400px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--bg) 55%, var(--accent-soft) 100%); box-shadow: var(--shadow-md); color: var(--ink); text-decoration: none; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.post-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; z-index: 1; background: linear-gradient(90deg, var(--accent), #7cc3ef); }
.post-card:hover { transform: translateY(-5px); color: var(--ink); box-shadow: 0 24px 44px -20px color-mix(in srgb, var(--accent) 45%, rgba(13, 12, 34, .4)); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.post-card__image { height: 210px; flex-shrink: 0; overflow: hidden; background: var(--accent-soft); }
.post-card__image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.post-card:hover .post-card__image img { transform: scale(1.04); }
.post-card__body { flex: 1; display: flex; flex-direction: column; padding: 28px 26px 26px; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 14px; font-size: .8125rem; }
.post-card__category { color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; }
.post-card__date { color: var(--ink-muted); }
.post-card__title { margin: 0 0 12px; font-size: 1.3125rem; font-weight: 600; line-height: 1.3; color: var(--ink); }
.post-card--text .post-card__title { font-size: clamp(1.5rem, 2.4vw, 1.875rem); font-weight: 300; line-height: 1.2; letter-spacing: -.01em; }
.post-card__title em { font-style: normal; color: var(--accent); }
.post-card__excerpt { flex: 1; margin: 0 0 18px; color: var(--ink-muted); font-size: var(--fs-small); line-height: 1.7; }
.post-card__link { margin-top: auto; color: var(--accent); font-size: .9375rem; font-weight: 600; }
.post-card__link span { display: inline-block; transition: transform .25s ease; }
.post-card:hover .post-card__link span { transform: translateX(4px); }
.blog-empty { display: none; text-align: center; padding: 56px 24px; color: var(--ink-muted); border: 1px dashed var(--line); border-radius: var(--radius-lg); }
.blog-loadmore { display: flex; justify-content: center; margin-top: clamp(28px, 4vw, 44px); }
/* Filter on the board without script: the radios hide the cards that do not match */
.blog:has(#bf-conditions:checked) .post-card:not([data-cats~="conditions"]),
.blog:has(#bf-treatments:checked) .post-card:not([data-cats~="treatments"]),
.blog:has(#bf-stories:checked) .post-card:not([data-cats~="stories"]),
.blog:has(#bf-cosmetics:checked) .post-card:not([data-cats~="cosmetics"]) { display: none; }
.blog:has(#bf-stories:checked) .blog-grid:not(:has([data-cats~="stories"])) ~ .blog-empty,
.blog:has(#bf-cosmetics:checked) .blog-grid:not(:has([data-cats~="cosmetics"])) ~ .blog-empty { display: block; }
@media (max-width: 1024px) { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } .post-card { min-height: 0; } }
.blog-empty[hidden], .blog-grid[hidden] { display: none; }
#emptyState:not([hidden]) { display: block; }

/* Medical reviewer line and related links on condition and treatment pages (10-point SEO check, 1 December 2026) */
.ip-related { padding-top: clamp(32px, 4vw, 48px); padding-bottom: clamp(40px, 5vw, 64px); }
.ip-reviewed { max-width: 820px; margin: 0 0 28px; padding: 14px 18px; border-left: 4px solid var(--accent); border-radius: 0 var(--radius-md) var(--radius-md) 0; background: var(--surface); color: var(--ink-muted); font-size: var(--fs-small); line-height: 1.6; }
.ip-reviewed strong { color: var(--ink); }
.ip-related h2 { font-size: calc(clamp(1.375rem, 1.2rem + .6vw, 1.75rem) * var(--ts)); font-weight: 400; }
.ip-related__list { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; }
.ip-related__link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 20px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--bg); color: var(--ink); font-weight: 600; font-size: var(--fs-small); text-decoration: none; transition: border-color .18s ease, color .18s ease; }
.ip-related__link:hover, .ip-related__link:focus-visible { border-color: var(--accent); color: var(--accent); }
