/* ==========================================================================
   Neoretina inner pages — builds on the tokens and components in home.css
   ========================================================================== */

/* ---------- Page hero ---------- */
.nr-pagehero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  padding: clamp(36px, 5vw, 64px) 0 clamp(44px, 6vw, 76px);
  background:
    radial-gradient(760px 320px at 92% -10%, rgba(107,79,158,.55), transparent 70%),
    radial-gradient(600px 300px at -5% 110%, rgba(71,165,174,.35), transparent 70%),
    linear-gradient(118deg, var(--nr-navy) 0%, var(--nr-purple-deep) 58%, var(--nr-purple) 100%);
}
.nr-pagehero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 28px; z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0 40V22C240 2 480-4 720 10s480 30 720 8v22z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
}
.nr-pagehero__art { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.nr-pagehero__art span { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); }
.nr-pagehero__art span:nth-child(1) { width: 420px; height: 420px; right: -120px; top: -160px; }
.nr-pagehero__art span:nth-child(2) { width: 260px; height: 260px; right: -40px; top: -80px; border-color: rgba(143,214,220,.22); }
.nr-pagehero__art span:nth-child(3) { width: 120px; height: 120px; right: 40px; top: -10px; background: radial-gradient(circle, rgba(143,214,220,.28), transparent 70%); border: 0; }
@media (prefers-reduced-motion: no-preference) { .nr-pagehero__art span:nth-child(2) { animation: nr-float 9s ease-in-out infinite; } }

.nr-pagehero h1 {
  color: #fff; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin: 0;
  font-size: clamp(2rem, 1.45rem + 2.2vw, 3.25rem); max-width: 22ch;
}
.nr-pagehero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px;
  font-family: var(--nr-font-head); font-weight: 700; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: #8fd6dc;
}
.nr-pagehero__eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #8fd6dc, var(--nr-orange)); }
.nr-pagehero__lead { margin: 18px 0 0; max-width: 62ch; font-size: 1.125rem; line-height: 1.65; color: rgba(255,255,255,.84); }

.nr-crumbs { margin-bottom: clamp(22px, 3vw, 34px); }
.nr-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin: 0; padding: 0; font-size: .875rem; }
.nr-crumbs li { display: inline-flex; align-items: center; color: rgba(255,255,255,.72); }
.nr-crumbs li + li::before { content: ""; width: 6px; height: 6px; margin: 0 12px; border-top: 1.6px solid rgba(255,255,255,.45); border-right: 1.6px solid rgba(255,255,255,.45); transform: rotate(45deg); }
.nr-crumbs a { color: rgba(255,255,255,.86); text-decoration: none; padding: 4px 0; }
.nr-crumbs a:hover { color: #fff; text-decoration: underline; }
.nr-crumbs [aria-current] { color: #fff; font-weight: 600; }
.nr-pagehero :focus-visible { outline-color: #fff; box-shadow: 0 0 0 6px rgba(17,19,53,.5); }

/* ---------- Page body: article + sidebar ---------- */
.nr-page { padding: clamp(40px, 5.5vw, 80px) 0 clamp(56px, 7vw, 100px); }
.nr-page__grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1024px) { .nr-page__grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; } }
@media (min-width: 1240px) { .nr-page__grid { gap: 72px; } }

/* ---------- Prose ---------- */
.nr-prose { min-width: 0; font-size: 1.0625rem; line-height: 1.8; color: var(--nr-text); }
.nr-prose > :first-child { margin-top: 0; }
.nr-prose p { margin: 0 0 1.15em; }
.nr-prose h2 {
  font-size: clamp(1.45rem, 1.2rem + .9vw, 1.9rem); font-weight: 800; letter-spacing: -.02em; color: var(--nr-ink);
  margin: 1.9em 0 .7em; padding-top: 18px; position: relative;
}
.nr-prose h2::before { content: ""; position: absolute; top: 0; left: 0; width: 40px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--nr-purple) 0 45%, var(--nr-teal) 45% 75%, var(--nr-orange) 75% 100%); }
.nr-prose h3 { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); font-weight: 700; color: var(--nr-ink); margin: 1.6em 0 .55em; }
.nr-prose h4 { font-size: 1.0625rem; font-weight: 700; color: var(--nr-slate); margin: 1.4em 0 .5em; }
.nr-prose h2 + h3 { margin-top: .4em; }
.nr-prose strong { color: var(--nr-ink); font-weight: 600; }
.nr-prose a:not(.nr-btn):not(.nr-pager__link) { color: var(--nr-purple); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(107,79,158,.35); text-underline-offset: 3px; overflow-wrap: anywhere; }
.nr-prose a:not(.nr-btn):not(.nr-pager__link):hover { color: var(--nr-purple-deep); text-decoration-color: currentColor; }
.nr-prose ul, .nr-prose ol { margin: 0 0 1.3em; padding: 0; list-style: none; display: grid; gap: .5em; }
.nr-prose ul > li { position: relative; padding-left: 30px; }
.nr-prose ul > li::before {
  content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; border-radius: 50%;
  background: var(--nr-teal); box-shadow: 0 0 0 4px var(--nr-teal-50);
}
.nr-prose ol { counter-reset: nr-ol; }
.nr-prose ol > li { position: relative; padding-left: 42px; counter-increment: nr-ol; }
.nr-prose ol > li::before {
  content: counter(nr-ol); position: absolute; left: 0; top: .1em; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; font: 700 .8125rem/1 var(--nr-font-head); color: var(--nr-purple); background: var(--nr-purple-50);
}
.nr-prose li > ul, .nr-prose li > ol { margin: .6em 0 .2em; }
.nr-prose li > ul > li::before { width: 7px; height: 7px; background: var(--nr-purple); box-shadow: none; top: .7em; }
.nr-prose blockquote { margin: 1.5em 0; padding: 18px 22px; border-left: 4px solid var(--nr-teal); background: var(--nr-teal-50); border-radius: 0 14px 14px 0; }

.nr-prose .nr-lead { font-family: var(--nr-font-head); font-size: clamp(1.15rem, 1.05rem + .45vw, 1.35rem); line-height: 1.6; color: var(--nr-ink); font-weight: 500; }

/* figures */
.nr-figure { margin: 1.6em 0; }
.nr-figure img { width: auto; max-width: 100%; border-radius: var(--nr-radius); box-shadow: 0 18px 40px -26px rgba(17,19,53,.45); background: var(--nr-slate-50); }
.nr-figure figcaption { margin-top: 10px; font-size: .9375rem; line-height: 1.5; color: var(--nr-muted); display: flex; gap: 10px; }
.nr-figure figcaption::before { content: ""; flex: none; width: 18px; height: 2px; margin-top: .7em; background: var(--nr-orange); border-radius: 2px; }
.nr-figs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 18px; margin: 1.6em 0; align-items: start; }
.nr-figs .nr-figure { margin: 0; }
.nr-figs .nr-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.nr-figure--float { float: right; width: min(42%, 320px); margin: .3em 0 1.2em 28px; }
@media (max-width: 640px) { .nr-figure--float { float: none; width: auto; margin: 1.4em 0; } }
.nr-clear { clear: both; }

.nr-embed { position: relative; aspect-ratio: 16 / 9; margin: 1.6em 0; border-radius: var(--nr-radius); overflow: hidden; background: var(--nr-navy); box-shadow: var(--nr-shadow); }
.nr-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.nr-table { margin: 1.6em 0; overflow-x: auto; border: 1px solid var(--nr-line); border-radius: var(--nr-radius-sm); }
.nr-table table { width: 100%; border-collapse: collapse; font-size: .9375rem; line-height: 1.55; }
.nr-table th, .nr-table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--nr-line); }
.nr-table tr:first-child td, .nr-table th { background: var(--nr-slate-50); font-family: var(--nr-font-head); font-weight: 700; color: var(--nr-ink); }
.nr-table tr:last-child td { border-bottom: 0; }

/* callout */

/* chips list (e.g. empanelments) */
.nr-prose ul.nr-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.nr-prose ul.nr-chips > li { padding: 9px 16px 9px 38px; border-radius: 999px; background: #fff; border: 1px solid var(--nr-line); font-size: .95rem; line-height: 1.35; color: var(--nr-ink); box-shadow: 0 1px 2px rgba(17,19,53,.04); transition: border-color .2s, transform .2s var(--nr-ease); }
.nr-prose ul.nr-chips > li::before { left: 15px; top: 50%; margin-top: -4.5px; background: var(--nr-purple); box-shadow: 0 0 0 4px var(--nr-purple-50); }
.nr-prose ul.nr-chips > li:hover { border-color: var(--nr-purple-100); transform: translateY(-1px); }

/* previous / next */
.nr-pager { display: grid; gap: 14px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--nr-line); clear: both; }
@media (min-width: 640px) { .nr-pager { grid-template-columns: 1fr 1fr; } }
.nr-pager__link {
  position: relative; display: grid; gap: 2px; padding: 18px 22px; border-radius: var(--nr-radius); text-decoration: none;
  border: 1px solid var(--nr-line); background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s var(--nr-ease);
}
.nr-pager__link small { font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--nr-muted); font-weight: 600; }
.nr-pager__link span { font-family: var(--nr-font-head); font-weight: 700; color: var(--nr-ink); line-height: 1.35; }
.nr-pager__link svg { position: absolute; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: var(--nr-orange); transition: transform .2s var(--nr-ease); }
.nr-pager__link--prev { padding-left: 54px; }
.nr-pager__link--prev svg { left: 20px; }
.nr-pager__link--next { padding-right: 54px; text-align: right; }
.nr-pager__link--next svg { right: 20px; }
.nr-pager__link:hover { border-color: var(--nr-purple-100); box-shadow: var(--nr-shadow-hover); transform: translateY(-2px); }
.nr-pager__link--prev:hover svg { transform: translateX(-3px); }
.nr-pager__link--next:hover svg { transform: translateX(3px); }

/* ---------- Sidebar ---------- */
.nr-side { display: grid; gap: 22px; min-width: 0; }
@media (min-width: 1024px) { .nr-side { position: sticky; top: calc(var(--nr-header-h) + 24px); } }
.nr-side__card { border-radius: var(--nr-radius-lg); padding: 24px; background: #fff; border: 1px solid var(--nr-line); box-shadow: 0 1px 2px rgba(17,19,53,.04), 0 18px 40px -30px rgba(17,19,53,.25); }
.nr-side__title { margin: 0 0 14px; font-family: var(--nr-font-head); font-weight: 800; font-size: 1.125rem; color: var(--nr-ink); display: flex; align-items: center; gap: 10px; }
.nr-side__title::before { content: ""; width: 4px; height: 20px; border-radius: 4px; background: linear-gradient(180deg, var(--nr-purple), var(--nr-teal)); }
.nr-side__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.nr-side__nav a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-radius: 12px;
  font-size: .95rem; line-height: 1.35; color: var(--nr-text); text-decoration: none; transition: background-color .15s, color .15s;
}
.nr-side__nav a:hover { background: var(--nr-slate-50); color: var(--nr-navy); }
.nr-side__nav a[aria-current="page"] { background: var(--nr-purple-50); color: var(--nr-purple-deep); font-weight: 600; box-shadow: inset 3px 0 0 var(--nr-purple); }
.nr-side__group > a::after { content: ""; flex: none; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); opacity: .5; transition: transform .2s; }
.nr-side__group.is-open > a::after { transform: rotate(45deg); }
.nr-side__group > ul { display: none !important; margin: 2px 0 8px 14px !important; padding-left: 10px !important; border-left: 2px solid var(--nr-teal-100); }
.nr-side__group.is-open > ul { display: grid !important; }
.nr-side__group.is-open > a { color: var(--nr-navy); font-weight: 600; }
.nr-side__group > ul a { font-size: .9rem; padding: 8px 12px; }

.nr-side__help { color: rgba(255,255,255,.84); border: 0; overflow: hidden; position: relative; isolation: isolate;
  background: radial-gradient(320px 180px at 100% 0%, rgba(107,79,158,.6), transparent 70%), linear-gradient(150deg, var(--nr-navy), var(--nr-purple-deep)); }
.nr-side__help .nr-side__title { color: #fff; }
.nr-side__help .nr-side__title::before { background: linear-gradient(180deg, #8fd6dc, var(--nr-orange)); }
.nr-side__help > p { font-size: .95rem; line-height: 1.55; margin: 0 0 16px; }
.nr-side__contact { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
.nr-side__contact a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; color: #fff; text-decoration: none; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); line-height: 1.3; font-weight: 600; font-size: .95rem; transition: background-color .2s, border-color .2s; }
.nr-side__contact a:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); color: #fff; }
.nr-side__contact small { display: block; font-weight: 500; font-size: .78rem; color: rgba(255,255,255,.66); }
.nr-side__icon { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.1); color: #8fd6dc; }
.nr-side__icon--wa { background: #25d366; color: #fff; }
.nr-side__icon svg { width: 18px; height: 18px; }
.nr-side__cta { width: 100%; min-height: 48px; font-size: .95rem; padding: 10px 18px; background: #fff; color: var(--nr-navy); }
.nr-side__cta:hover { background: var(--nr-orange-50); color: var(--nr-navy); }
.nr-side__help :focus-visible { outline-color: #fff; box-shadow: 0 0 0 6px rgba(17,19,53,.5); }

/* ---------- Generic wide sections ---------- */
.nr-band { padding: clamp(48px, 6vw, 88px) 0; position: relative; }
.nr-band--tint { background: linear-gradient(180deg, var(--nr-slate-50), #fff); }
.nr-band--first { padding-top: clamp(40px, 5vw, 72px); }
.nr-band__head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }

.nr-band__head h2 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); font-weight: 800; margin: 0 0 12px; }
.nr-band__head p { margin: 0; color: var(--nr-muted); font-size: 1.0625rem; }
.nr-band__head .nr-heading { margin-bottom: 14px; }
.nr-kicker { display: inline-block; margin: 0 0 10px; font-family: var(--nr-font-head); font-weight: 700; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--nr-teal-deep); }

/* card grid */
.nr-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(18px, 2.2vw, 28px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.nr-cards--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.nr-card {
  height: 100%; display: flex; flex-direction: column; border-radius: 24px; padding: 10px; background: #fff;
  border: 1px solid #e7e7ef; box-shadow: 0 1px 2px rgba(17,19,53,.04); position: relative;
  transition: transform .3s var(--nr-ease), box-shadow .3s var(--nr-ease), border-color .3s;
}
.nr-card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(17,19,53,.4); border-color: var(--nr-purple-100); }
.nr-card__media { border-radius: 16px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--nr-slate-50); }
.nr-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--nr-ease); }
.nr-card:hover .nr-card__media img { transform: scale(1.05); }
.nr-card__body { padding: 18px 14px 12px; display: flex; flex-direction: column; flex: 1; }
.nr-card__body h3 { font-size: 1.2rem; font-weight: 700; margin: 0 0 8px; }
.nr-card__body p { margin: 0 0 12px; font-size: .98rem; line-height: 1.65; color: var(--nr-text); }
.nr-card__body > :last-child { margin-bottom: 0; }
.nr-card__body ul { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 6px; font-size: .95rem; }
.nr-card__body ul li { position: relative; padding-left: 20px; line-height: 1.5; }
.nr-card__body ul li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--nr-teal); }
.nr-card__foot { margin-top: auto; padding-top: 8px; }
.nr-card .nr-link { border-bottom: 0; padding: 6px 18px 6px 0; }
.nr-card .nr-link svg { width: 34px; height: 34px; padding: 9px; border-radius: 50%; background: var(--nr-orange-50); transition: transform .25s var(--nr-ease), background-color .25s, color .25s; }
.nr-card:hover .nr-link svg { background: var(--nr-orange); color: #fff; }
.nr-card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

.nr-card--plain .nr-card__body { padding: 22px 18px 16px; }
.nr-card__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 16px; color: var(--nr-purple); background: var(--nr-purple-50); }
.nr-card__icon svg { width: 24px; height: 24px; }
.nr-card__icon img { width: 30px; height: 30px; }

/* media + text rows (equipment etc.) */
.nr-rows { display: grid; gap: clamp(28px, 4vw, 48px); }
.nr-row { display: grid; gap: 22px 48px; align-items: center; }
@media (min-width: 900px) {
  .nr-row { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .nr-row:nth-child(even) .nr-row__media { order: 2; }
}
.nr-row__media { border-radius: var(--nr-radius-lg); overflow: hidden; background: var(--nr-slate-50); box-shadow: 0 24px 50px -32px rgba(17,19,53,.45); position: relative; }
.nr-row__media img { width: 100%; height: 100%; object-fit: cover; }
.nr-row__body { min-width: 0; }
.nr-row__body h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); font-weight: 800; margin: 0 0 12px; }
.nr-row__num { display: inline-block; margin-bottom: 8px; font: 800 .8125rem/1 var(--nr-font-head); letter-spacing: .12em; color: var(--nr-orange); }
.nr-row__body.nr-prose { font-size: 1rem; }

/* split intro (image + copy) */
.nr-split2 { display: grid; gap: 32px 56px; align-items: center; }
@media (min-width: 960px) { .nr-split2 { grid-template-columns: 1fr 1fr; } .nr-split2--wide-text { grid-template-columns: .9fr 1.1fr; } }
.nr-split2__media { position: relative; }
.nr-split2__media img { width: 100%; border-radius: var(--nr-radius-lg); box-shadow: 0 30px 60px -36px rgba(17,19,53,.5); }
.nr-split2__media::before { content: ""; position: absolute; inset: auto -14px -14px auto; width: 60%; height: 60%; border-radius: var(--nr-radius-lg); background: linear-gradient(135deg, var(--nr-teal-100), var(--nr-purple-100)); z-index: -1; }
.nr-split2 { isolation: isolate; }

/* ---------- Doctors ---------- */
.nr-docs { display: grid; gap: 28px; }
.nr-doc {
  display: grid; gap: 0; border-radius: var(--nr-radius-lg); overflow: hidden; background: #fff;
  border: 1px solid var(--nr-line); box-shadow: 0 1px 2px rgba(17,19,53,.04), 0 24px 50px -38px rgba(17,19,53,.35);
}
@media (min-width: 760px) { .nr-doc { grid-template-columns: 280px minmax(0, 1fr); } }
.nr-doc__photo { position: relative; background: linear-gradient(160deg, var(--nr-purple-50), var(--nr-teal-50)); display: flex; align-items: flex-end; justify-content: center; min-height: 260px; }
.nr-doc__ph { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(160deg, #efe8fb, #d7f1f3); color: #3c2778; font: 800 3rem/1 var(--nr-font-head); }
.nr-edu-reel { max-width: 280px; margin: 8px 0 28px; }
/* Video reel card (e.g. cataract surgery reel on the Cataract page) */
.nr-reelcard { display: grid; gap: 22px; align-items: center; margin: 0 0 2.2em; padding: 18px; border-radius: var(--nr-radius-lg); background: linear-gradient(135deg, var(--nr-purple-50), var(--nr-teal-50)); border: 1px solid var(--nr-line); }
@media (min-width: 720px) { .nr-reelcard { grid-template-columns: minmax(220px, 260px) 1fr; gap: 34px; padding: 22px 34px 22px 22px; } }
.nr-reelcard__media { position: relative; width: 100%; max-width: 280px; margin: 0 auto; aspect-ratio: 9 / 16; border-radius: 20px; overflow: hidden; background: var(--nr-navy); box-shadow: 0 26px 46px -26px rgba(17,19,53,.65); }
.nr-reelcard__media video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.nr-reelcard__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,19,53,0) 55%, rgba(17,19,53,.6)); pointer-events: none; transition: opacity .3s; }
.nr-reelcard__play { position: absolute; left: 50%; top: 50%; z-index: 1; width: 66px; height: 66px; margin: -33px 0 0 -33px; padding: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); background: rgba(255,255,255,.22); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .25s, border-color .25s, transform .25s var(--nr-ease); }
@supports (backdrop-filter: blur(6px)) { .nr-reelcard__play { backdrop-filter: blur(8px); } }
.nr-reelcard__play svg { width: 24px; height: 24px; margin-left: 4px; }
.nr-reelcard__play:hover, .nr-reelcard__play:focus-visible { background: var(--nr-orange); border-color: var(--nr-orange); transform: scale(1.06); }
.nr-reelcard__play:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.nr-reelcard__time { position: absolute; left: 12px; bottom: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(17,19,53,.55); color: #fff; font-size: .8125rem; font-weight: 600; line-height: 1; pointer-events: none; }
.nr-reelcard__time svg { width: 13px; height: 13px; }
.nr-reelcard.is-playing .nr-reelcard__play, .nr-reelcard.is-playing .nr-reelcard__time, .nr-reelcard.is-playing .nr-reelcard__media::after { opacity: 0; pointer-events: none; }
.nr-reelcard__eyebrow { margin: 0 0 6px; font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--nr-orange); }
.nr-prose .nr-reelcard__body h2 { margin-top: 0; padding-top: 0; }
.nr-prose .nr-reelcard__body h2::before { display: none; }
.nr-reelcard__body > p:not(.nr-reelcard__eyebrow) { margin: 0 0 1em; }
.nr-reelcard__body .nr-btn { margin-top: 4px; }
.nr-doc__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.nr-doc__body { padding: clamp(22px, 3vw, 36px); min-width: 0; }
.nr-doc__role { display: inline-block; margin: 0 0 6px; padding: 6px 12px; border-radius: 999px; background: var(--nr-teal-50); color: var(--nr-teal-deep); font: 700 .8125rem/1.3 var(--nr-font-head); }
.nr-doc__reg { margin: 0 0 10px; color: var(--nr-muted); font-size: .875rem; font-weight: 600; letter-spacing: .02em; }
.nr-doc h2 { font-size: clamp(1.3rem, 1.15rem + .6vw, 1.65rem); font-weight: 800; margin: 0 0 4px; }
.nr-doc__cred { margin: 0 0 18px; color: var(--nr-slate); font-weight: 600; font-size: .98rem; }
.nr-doc__label { margin: 0 0 10px; font: 700 .8125rem/1 var(--nr-font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--nr-muted); }
.nr-doc__edu { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 8px; }
.nr-doc__edu li { position: relative; padding-left: 26px; font-size: .97rem; line-height: 1.55; }
.nr-doc__edu li::before { content: ""; position: absolute; left: 0; top: .42em; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--nr-purple-100); background: var(--nr-purple); box-sizing: border-box; }
.nr-doc__interests { margin: 0; padding: 16px 18px; border-radius: 16px; background: var(--nr-slate-50); font-size: .97rem; line-height: 1.6; }
.nr-doc__interests strong { color: var(--nr-ink); }
.nr-doc--lead { border-color: var(--nr-purple-100); }
@media (min-width: 760px) { .nr-doc--lead { grid-template-columns: 340px minmax(0, 1fr); } }

/* ---------- Contact ---------- */
.nr-info { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.nr-info__item { height: 100%; padding: 24px; border-radius: var(--nr-radius-lg); background: #fff; border: 1px solid var(--nr-line); box-shadow: 0 1px 2px rgba(17,19,53,.04); }
.nr-info__item h3 { font-size: 1.0625rem; font-weight: 800; margin: 0 0 10px; }
.nr-info__item p { margin: 0 0 6px; font-size: .98rem; line-height: 1.6; }
.nr-info__item a { color: var(--nr-purple); font-weight: 600; text-decoration: none; }
.nr-info__item a:hover { text-decoration: underline; }
.nr-info__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; color: #fff; background: linear-gradient(135deg, var(--nr-purple), var(--nr-teal-deep)); box-shadow: 0 10px 22px -12px rgba(107,79,158,.8); }
.nr-info__icon svg { width: 22px; height: 22px; }
.nr-map { border-radius: var(--nr-radius-lg); overflow: hidden; border: 1px solid var(--nr-line); box-shadow: var(--nr-shadow); background: var(--nr-slate-50); min-height: 360px; position: relative; }
.nr-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

.nr-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: nr-step; }
@media (min-width: 760px) { .nr-steps { grid-template-columns: 1fr 1fr; } }
.nr-steps > li { counter-increment: nr-step; position: relative; padding: 26px 24px 24px; border-radius: var(--nr-radius-lg); background: #fff; border: 1px solid var(--nr-line); }
.nr-steps > li::before { content: "Step " counter(nr-step); display: inline-block; margin-bottom: 12px; padding: 6px 12px; border-radius: 999px; font: 700 .75rem/1 var(--nr-font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--nr-orange); background: var(--nr-orange-50); }
.nr-steps h3 { font-size: 1.15rem; font-weight: 800; margin: 0 0 8px; }
.nr-steps p { margin: 0 0 10px; font-size: .98rem; line-height: 1.65; }
.nr-steps p:last-child { margin: 0; }

.nr-person { display: flex; gap: 18px; align-items: center; }
.nr-person img { width: 84px; height: 84px; border-radius: 22px; object-fit: cover; flex: none; }
.nr-person h3 { margin: 0; font-size: 1.15rem; font-weight: 800; }
.nr-person p { margin: 2px 0 0; color: var(--nr-muted); font-size: .95rem; }

/* ---------- Forms (Netlify Forms) ---------- */
.nr-form { display: grid; gap: 16px; }
.nr-form__row { display: grid; gap: 16px; }
@media (min-width: 640px) { .nr-form__row--2 { grid-template-columns: 1fr 1fr; } }
.nr-field { display: grid; gap: 6px; }
.nr-field label, .nr-field .nr-field__label { font-family: var(--nr-font-head); font-weight: 700; font-size: .9rem; color: var(--nr-ink); }
.nr-field label span { color: var(--nr-orange); }
.nr-field input, .nr-field select, .nr-field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid #d9d9e5; background: #fff;
  font: inherit; font-size: 1rem; color: var(--nr-ink); transition: border-color .2s, box-shadow .2s;
}
.nr-field textarea { min-height: 120px; resize: vertical; }
.nr-field input:focus, .nr-field select:focus, .nr-field textarea:focus { outline: none; border-color: var(--nr-purple); box-shadow: 0 0 0 4px var(--nr-purple-50); }

.nr-file { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1.5px dashed #c9c9da; background: var(--nr-slate-50); cursor: pointer; transition: border-color .2s, background-color .2s; }
.nr-file:hover, .nr-file:focus-within { border-color: var(--nr-purple); background: var(--nr-purple-50); }
.nr-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; min-height: 0; }
.nr-file__icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--nr-purple); box-shadow: var(--nr-shadow); }
.nr-file__icon svg { width: 20px; height: 20px; }
.nr-file__text { font-size: .95rem; line-height: 1.4; color: var(--nr-text); }
.nr-file__text strong { display: block; color: var(--nr-ink); }
.nr-form .nr-btn { justify-self: start; }
.nr-form__note { margin: 0; font-size: .875rem; color: var(--nr-muted); }
.nr-hp { position: absolute !important; left: -9999px !important; }
.nr-formcard { padding: clamp(22px, 3vw, 36px); border-radius: var(--nr-radius-lg); background: #fff; border: 1px solid var(--nr-line); box-shadow: 0 30px 60px -44px rgba(17,19,53,.5); }
.nr-formcard h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.85rem); font-weight: 800; margin: 0 0 8px; }
.nr-formcard > p { color: var(--nr-muted); margin: 0 0 22px; }

/* ---------- Jobs ---------- */
.nr-jobs { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.nr-job { height: 100%; display: flex; flex-direction: column; padding: 24px; border-radius: var(--nr-radius-lg); background: #fff; border: 1px solid var(--nr-line); transition: transform .3s var(--nr-ease), box-shadow .3s, border-color .3s; }
.nr-job:hover { transform: translateY(-3px); box-shadow: var(--nr-shadow-hover); border-color: var(--nr-purple-100); }
.nr-job h3 { font-size: 1.2rem; font-weight: 800; margin: 0 0 14px; }
.nr-job ul { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 8px; font-size: .95rem; }
.nr-job li { display: flex; align-items: center; gap: 10px; color: var(--nr-text); }
.nr-job li svg { width: 18px; height: 18px; color: var(--nr-teal-deep); flex: none; }
.nr-job .nr-btn { margin-top: auto; align-self: flex-start; min-height: 46px; padding: 10px 20px; font-size: .95rem; }

/* ---------- Gallery + lightbox ---------- */
.nr-gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.nr-gallery a { position: relative; display: block; border-radius: 18px; overflow: hidden; background: var(--nr-slate-50); aspect-ratio: 1; box-shadow: 0 1px 2px rgba(17,19,53,.06); }
.nr-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--nr-ease), filter .3s; }
.nr-gallery a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(17,19,53,.55)); opacity: 0; transition: opacity .3s; }
.nr-gallery__zoom { position: absolute; right: 14px; bottom: 14px; z-index: 1; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--nr-navy); background: #fff; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s var(--nr-ease); }
.nr-gallery__zoom svg { width: 20px; height: 20px; }
.nr-gallery a:hover img, .nr-gallery a:focus-visible img { transform: scale(1.06); }
.nr-gallery a:hover::after, .nr-gallery a:focus-visible::after, .nr-gallery a:hover .nr-gallery__zoom, .nr-gallery a:focus-visible .nr-gallery__zoom { opacity: 1; transform: none; }
.nr-gallery--wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.nr-gallery--wide a { aspect-ratio: 4 / 3; }

.nr-lightbox { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 64px 16px; background: rgba(11,12,38,.92); }
.nr-lightbox[hidden] { display: none; }
.nr-lightbox img { max-width: min(1100px, 100%); max-height: calc(100vh - 140px); width: auto; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.nr-lightbox__cap { position: absolute; left: 16px; right: 16px; bottom: 18px; text-align: center; color: rgba(255,255,255,.8); font-size: .95rem; }
.nr-lightbox button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color .2s; }
.nr-lightbox button:hover { background: rgba(255,255,255,.2); }
.nr-lightbox button svg { width: 22px; height: 22px; }
.nr-lightbox__close { top: 16px; right: 16px; }
.nr-lightbox__prev { left: 16px; top: 50%; margin-top: -26px; }
.nr-lightbox__next { right: 16px; top: 50%; margin-top: -26px; }
.nr-lightbox :focus-visible { outline-color: #fff; }

/* ---------- What's new ---------- */
.nr-news { display: grid; gap: clamp(28px, 4vw, 44px); }
.nr-news__item { padding: clamp(22px, 3vw, 40px); border-radius: var(--nr-radius-lg); background: #fff; border: 1px solid var(--nr-line); box-shadow: 0 1px 2px rgba(17,19,53,.04), 0 30px 60px -48px rgba(17,19,53,.5); }
.nr-news__item > h2 { font-size: clamp(1.35rem, 1.15rem + .9vw, 1.9rem); font-weight: 800; margin: 0 0 18px; }
.nr-news__date { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; font: 700 .8125rem/1 var(--nr-font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--nr-teal-deep); }
.nr-news__date svg { width: 16px; height: 16px; }
.nr-pubs { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: nr-pub; }
.nr-pubs li { counter-increment: nr-pub; position: relative; padding: 18px 20px 18px 66px; border-radius: 18px; background: #fff; border: 1px solid var(--nr-line); font-size: .97rem; line-height: 1.6; overflow-wrap: anywhere; }
.nr-pubs li::before { content: counter(nr-pub, decimal-leading-zero); position: absolute; left: 18px; top: 18px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font: 800 .8125rem/1 var(--nr-font-head); color: var(--nr-purple); background: var(--nr-purple-50); }
.nr-pubs strong { color: var(--nr-ink); }
.nr-pubs a { color: var(--nr-purple); }
.nr-inner .nr-tabs__list { margin-bottom: clamp(28px, 4vw, 40px); }
.nr-inner [role="tabpanel"]:focus-visible { outline-offset: 8px; }

/* ---------- Stats strip (reuses homepage .nr-stats) ---------- */
.nr-inner .nr-stats { padding: 0; background: none; }

/* ---------- Quote / mission cards ---------- */
.nr-mv { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
@media (min-width: 900px) { .nr-mv { grid-template-columns: repeat(3, 1fr); } }
.nr-mv li { position: relative; padding: 30px 26px; border-radius: var(--nr-radius-lg); background: #fff; border: 1px solid var(--nr-line); overflow: hidden; isolation: isolate; }
.nr-mv li::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, var(--nr-purple-50), transparent 70%); z-index: -1; }
.nr-mv h2 { font-size: 1.35rem; font-weight: 800; margin: 0 0 10px; }
.nr-mv p { margin: 0; line-height: 1.7; }
.nr-mv li:nth-child(2) .nr-card__icon { color: var(--nr-teal-deep); background: var(--nr-teal-50); }
.nr-mv li:nth-child(3) .nr-card__icon { color: var(--nr-orange); background: var(--nr-orange-50); }

/* ---------- Misc ---------- */
.nr-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.nr-center { text-align: center; }
.nr-nav__more[data-current="true"] { color: var(--nr-purple); }
.nr-inner .nr-cta { margin-top: 0; }
@media print {
  .nr-pagehero { background: none; color: var(--nr-ink); padding: 0 0 20px; }
  .nr-pagehero h1, .nr-crumbs, .nr-crumbs a { color: var(--nr-ink); }
  .nr-side, .nr-cta, .nr-pager, .nr-enquire, .nr-totop { display: none !important; }
}
a.nr-card { text-decoration: none; color: inherit; }
a.nr-card:hover { color: inherit; }
.nr-card__title { font-size: 1.2rem; font-weight: 700; margin: 0 0 8px; }
.nr-contact-list { margin: 18px 0 0; }
.nr-contact-list a { color: var(--nr-ink); background: var(--nr-slate-50); border-color: var(--nr-line); }
.nr-contact-list a:hover { color: var(--nr-navy); background: var(--nr-purple-50); border-color: var(--nr-purple-100); }
.nr-contact-list small { color: var(--nr-muted); }
.nr-contact-list .nr-side__icon { background: #fff; color: var(--nr-purple); box-shadow: 0 1px 2px rgba(17,19,53,.08); }
.nr-contact-list .nr-side__icon--wa { background: #25d366; color: #fff; }
.nr-split2 > * { min-width: 0; }
.nr-split2 .nr-steps { grid-template-columns: 1fr; margin-top: 22px; }

/* ---------- Section tabs (full-width pages) ---------- */
.nr-subnav { position: relative; z-index: 2; margin-top: -26px; }
.nr-subnav ul { list-style: none; margin: 0; padding: 6px; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; width: max-content; max-width: 100%;
  background: #fff; border: 1px solid var(--nr-line); border-radius: 999px; box-shadow: 0 18px 40px -24px rgba(17,19,53,.35); }
.nr-subnav ul::-webkit-scrollbar { display: none; }
.nr-subnav a { display: block; white-space: nowrap; padding: 10px 18px; border-radius: 999px; font: 600 .9375rem/1.2 var(--nr-font-head); color: var(--nr-text); text-decoration: none; transition: background-color .2s, color .2s; }
.nr-subnav a:hover { background: var(--nr-slate-50); color: var(--nr-navy); }
.nr-subnav a[aria-current="page"] { background: var(--nr-purple); color: #fff; }
.nr-subnav + .nr-band--first { padding-top: clamp(36px, 4.5vw, 64px); }
.nr-mv__photo { margin: clamp(32px, 4vw, 56px) 0 0; }
.nr-mv__photo img { width: 100%; }
.nr-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.nr-checks li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--nr-line); line-height: 1.55; transition: border-color .25s, transform .25s var(--nr-ease), box-shadow .25s; }
.nr-checks li:hover { border-color: var(--nr-purple-100); transform: translateY(-2px); box-shadow: var(--nr-shadow); }
.nr-checks svg { flex: none; width: 26px; height: 26px; padding: 5px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--nr-purple), var(--nr-teal-deep)); box-sizing: border-box; }
.nr-optos-benefits .nr-card__body h3 { font-size: 1.1rem; margin: 0; }
.nr-optos-benefits .nr-card__icon { width: 64px; height: 64px; background: var(--nr-teal-50); }
.nr-optos-benefits .nr-card__icon img { width: 40px; height: 40px; }
.nr-figs__cap { margin-top: -.6em; color: var(--nr-muted); font-size: .95rem; font-style: italic; }

/* ==========================================================================
   Motion layer for inner pages (decorative; content is identical with motion off)
   ========================================================================== */
@keyframes nr-inner-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes nr-inner-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes nr-inner-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes nr-inner-orbit { to { transform: rotate(360deg); } }
@keyframes nr-inner-glow { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.18); } }
@keyframes nr-inner-from-left { from { opacity: 0; transform: translateX(-36px); } to { opacity: 1; transform: none; } }
@keyframes nr-inner-from-right { from { opacity: 0; transform: translateX(36px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: no-preference) {
  /* hero entrance */
  .js .nr-pagehero .nr-crumbs { animation: nr-inner-fade .6s var(--nr-ease) both; }
  .js .nr-pagehero__eyebrow { animation: nr-inner-rise .7s var(--nr-ease) .08s both; }
  .js .nr-pagehero__eyebrow::before { transform-origin: left; animation: nr-inner-grow .8s var(--nr-ease) .3s both; }
  .js .nr-pagehero h1 { animation: nr-inner-rise .8s var(--nr-ease) .16s both; }
  .js .nr-pagehero__lead { animation: nr-inner-rise .8s var(--nr-ease) .28s both; }
  .js .nr-subnav ul { animation: nr-inner-rise .7s var(--nr-ease) .38s both; }
  .nr-pagehero__art span:nth-child(1) { border-style: dashed; animation: nr-inner-orbit 80s linear infinite; }
  .nr-pagehero__art span:nth-child(3) { animation: nr-inner-glow 6s ease-in-out infinite; }
  .js .nr-side { animation: nr-inner-rise .8s var(--nr-ease) .3s both; }

  /* scroll reveals (classes added by inner.js) */
  .js .nr-prose h2.nr-reveal::before { transform: scaleX(0); transform-origin: left; transition: transform .8s var(--nr-ease) .15s; }
  .js .nr-prose h2.nr-reveal.is-visible::before { transform: scaleX(1); }
  .js .nr-row.nr-reveal .nr-row__media { opacity: 0; transform: translateX(-36px); transition: opacity .8s var(--nr-ease), transform .8s var(--nr-ease); }
  .js .nr-row.nr-reveal:nth-child(even) .nr-row__media { transform: translateX(36px); }
  .js .nr-row.nr-reveal.is-visible .nr-row__media { opacity: 1; transform: none; }
  .js .nr-doc.nr-reveal .nr-doc__photo img { transform: scale(1.08); transition: transform 1.2s var(--nr-ease); }
  .js .nr-doc.nr-reveal.is-visible .nr-doc__photo img { transform: none; }

  /* hover polish */
  .nr-figure { overflow: visible; }
  .nr-figure img, .nr-row__media img, .nr-split2__media img { transition: transform .7s var(--nr-ease), box-shadow .4s; }
  .nr-figure:hover img { transform: translateY(-3px); box-shadow: 0 26px 50px -26px rgba(17,19,53,.5); }
  .nr-row__media { overflow: hidden; }
  .nr-row:hover .nr-row__media img { transform: scale(1.05); }
  .nr-doc { transition: transform .35s var(--nr-ease), box-shadow .35s, border-color .35s; }
  .nr-doc:hover { transform: translateY(-3px); border-color: var(--nr-purple-100); box-shadow: 0 30px 60px -38px rgba(17,19,53,.45); }
  .nr-doc__photo { overflow: hidden; }
  .nr-doc:hover .nr-doc__photo img { transform: scale(1.04); }
  .nr-info__item { transition: transform .3s var(--nr-ease), box-shadow .3s, border-color .3s; }
  .nr-info__item:hover { transform: translateY(-3px); box-shadow: var(--nr-shadow-hover); border-color: var(--nr-purple-100); }
  .nr-info__item:hover .nr-info__icon { animation: nr-inner-glow 1.6s ease-in-out infinite; }
  .nr-mv li { transition: transform .3s var(--nr-ease), box-shadow .3s; }
  .nr-mv li:hover { transform: translateY(-4px); box-shadow: var(--nr-shadow-hover); }
  .nr-side__nav a { transition: background-color .15s, color .15s, padding-left .2s var(--nr-ease); }
  .nr-side__nav a:hover { padding-left: 18px; }
  .nr-subnav a:not([aria-current]):hover { transform: translateY(-1px); }
  .nr-subnav a { transition: background-color .2s, color .2s, transform .2s var(--nr-ease); }
}
/* sidebar: section nav scrolls with the page, the help card stays in view */
@media (min-width: 1024px) {
  .nr-page__grid { align-items: stretch; }
  .nr-side { position: static; align-content: start; }
  .nr-side__help { position: sticky; top: calc(var(--nr-header-h) + 24px); }
}
.nr-split2--top { align-items: start; }
@media (min-width: 960px) { .nr-split2--top > .nr-formcard { position: sticky; top: calc(var(--nr-header-h) + 24px); } }
.nr-prose ul.nr-crit { gap: 14px; }
.nr-prose ul.nr-crit > li { display: flex; gap: 18px; align-items: flex-start; padding: 18px 20px; border-radius: 18px; border: 1px solid var(--nr-line); background: #fff; }
.nr-prose ul.nr-crit > li::before { display: none; }
.nr-crit img { flex: none; width: 56px; height: 56px; padding: 10px; border-radius: 16px; background: var(--nr-teal-50); }
.nr-crit h4 { margin: 0 0 4px; color: var(--nr-ink); font-size: 1.05rem; }
.nr-crit p { margin: 0; }

/* ---------- Educational videos ---------- */
.nr-vids--inline { margin-top: 48px; padding: 28px; border-radius: var(--nr-radius-lg); background: linear-gradient(135deg, var(--nr-slate-50), var(--nr-teal-50)); border: 1px solid var(--nr-line); clear: both; }
.nr-vids__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin-bottom: 20px; }
.nr-vids__head h2 { margin: 0 !important; padding: 0 !important; font-size: clamp(1.3rem, 1.15rem + .6vw, 1.7rem); font-weight: 800; }
.nr-vids__head h2::before { display: none; }
.nr-vids .nr-link { border-bottom: 0; }
.nr-prose .nr-vids a.nr-link { text-decoration: none; color: var(--nr-slate); font-weight: 700; }
.nr-vids__grid { list-style: none !important; margin: 0 !important; padding: 0 !important; display: grid !important; gap: 16px !important; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.nr-vids__grid > li { padding: 0 !important; }
.nr-vids__grid > li::before { display: none !important; }
.nr-vids .nr-video, .nr-figure--video .nr-video { display: block; position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--nr-navy); }
.nr-vids .nr-video img, .nr-figure--video .nr-video img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; box-shadow: none; }
.nr-vids .nr-video iframe, .nr-figure--video .nr-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.nr-figure--video { max-width: 520px; }
.nr-figure--video.nr-figure--float { max-width: none; }
.nr-prose ul.nr-gallery { display: grid; gap: 16px; margin: 1.4em 0; }
.nr-prose ul.nr-gallery > li { padding: 0; }
.nr-prose ul.nr-gallery > li::before { display: none; }
.nr-prose .nr-gallery img { border-radius: 0; }
.nr-pubs li::before { box-shadow: none !important; }
.nr-prose ul.nr-pubs > li { padding: 18px 20px 18px 66px; }
.nr-prose ul.nr-pubs > li::before { content: counter(nr-pub, decimal-leading-zero); display: grid; place-items: center; font: 800 .8125rem/1 var(--nr-font-head); color: var(--nr-purple); left: 18px; top: 18px; width: 34px; height: 34px; border-radius: 10px; background: var(--nr-purple-50); }

/* ---------- Doctor photos: one uniform framed portrait, face centred ---------- */
.nr-doc { padding: 12px; gap: 0; align-items: start; }
@media (min-width: 760px) { .nr-doc, .nr-doc--lead { grid-template-columns: 260px minmax(0, 1fr); } }
@media (min-width: 1100px) { .nr-doc, .nr-doc--lead { grid-template-columns: 300px minmax(0, 1fr); } }
.nr-doc__photo { min-height: 0; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; display: block; }
.nr-doc__photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--fx, 50%) var(--fy, 18%); }
.nr-doc__body { padding: clamp(14px, 2.4vw, 28px) clamp(10px, 2.4vw, 28px) clamp(10px, 2vw, 20px); }
@media (max-width: 759.98px) { .nr-doc__photo { aspect-ratio: 1; max-width: 340px; width: 100%; margin: 0 auto; } }

/* ---------- Equipment rows: image stays in view while the text scrolls ---------- */
@media (min-width: 900px) {
  .nr-row { align-items: start; }
  .nr-row__media { position: sticky; top: calc(var(--nr-header-h) + 28px); }
  .nr-split2:not(.nr-split2--top) { align-items: start; }
  .nr-split2:not(.nr-split2--top) > .nr-split2__media { position: sticky; top: calc(var(--nr-header-h) + 28px); }
}

/* ---------- More sticky media: doctor photos and the contact map ---------- */
.nr-doc { overflow: clip; }                       /* clip (not hidden) so the photo can stick */
@media (min-width: 760px) {
  .nr-doc__photo { position: sticky; top: calc(var(--nr-header-h) + 28px); }
}
@media (min-width: 960px) {
  .nr-split2 { align-items: start; }
  .nr-split2 > .nr-map { position: sticky; top: calc(var(--nr-header-h) + 28px); }
}

/* ---------- Service enquiry popup ---------- */
.nr-modal { position: fixed; inset: 0; z-index: 420; display: grid; place-items: center; padding: 16px; }
.nr-modal[hidden] { display: none; }
.nr-modal__scrim { position: absolute; inset: 0; background: rgba(11,12,38,.6); opacity: 0; transition: opacity .35s var(--nr-ease); }
@supports (backdrop-filter: blur(4px)) { .nr-modal__scrim { backdrop-filter: blur(4px); } }
.nr-modal__panel { position: relative; width: min(460px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; border-radius: 26px; background: #fff;
  box-shadow: 0 40px 90px -30px rgba(11,12,38,.6); opacity: 0; transform: translateY(26px) scale(.96); transition: opacity .4s var(--nr-ease), transform .45s cubic-bezier(.2,1.2,.3,1); }
.nr-modal.is-open .nr-modal__scrim { opacity: 1; }
.nr-modal.is-open .nr-modal__panel { opacity: 1; transform: none; }
.nr-modal__head { position: relative; padding: 28px 28px 24px; color: rgba(255,255,255,.85); overflow: hidden;
  background: radial-gradient(320px 180px at 100% 0%, rgba(143,214,220,.35), transparent 70%), linear-gradient(130deg, var(--nr-navy), var(--nr-purple-deep) 60%, var(--nr-purple)); }
.nr-modal__head h2 { color: #fff; font-size: clamp(1.35rem, 1.2rem + .7vw, 1.7rem); font-weight: 800; margin: 0 0 8px; padding-right: 30px; }
.nr-modal__head p { margin: 0; font-size: .95rem; line-height: 1.5; }
.nr-modal__eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 8px !important; font: 700 .78rem/1 var(--nr-font-head) !important; letter-spacing: .12em; text-transform: uppercase; color: #8fd6dc; }
.nr-modal__eyebrow svg { width: 16px; height: 16px; }
.nr-modal__close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color .2s, transform .3s var(--nr-ease); }
.nr-modal__close:hover { background: rgba(255,255,255,.25); transform: rotate(90deg); }
.nr-modal__close svg { width: 18px; height: 18px; }
.nr-modal__form { padding: 24px 28px 26px; }
.nr-modal__submit { width: 100%; justify-self: stretch !important; }
.nr-modal__submit[disabled] { opacity: .7; cursor: progress; }
.nr-modal__status { margin: 0; font-size: .9rem; color: #b3261e; min-height: 1.2em; }
.nr-modal__status:empty { display: none; }
.nr-modal__done { padding: 36px 28px 32px; text-align: center; }
.nr-modal__done h2 { font-size: 1.4rem; font-weight: 800; margin: 14px 0 6px; }
.nr-modal__done p { color: var(--nr-muted); margin: 0 0 22px; }
.nr-modal__tick { width: 68px; height: 68px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--nr-teal), var(--nr-teal-deep)); box-shadow: 0 16px 34px -14px rgba(53,141,149,.8); animation: nr-tick-pop .6s cubic-bezier(.2,1.6,.4,1) both; }
.nr-modal__tick svg { width: 32px; height: 32px; }
@keyframes nr-tick-pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.nr-modal :focus-visible { outline-offset: 2px; }
.nr-modal__head :focus-visible { outline-color: #fff; }
@media (prefers-reduced-motion: reduce) { .nr-modal__panel, .nr-modal__scrim { transition: none; } .nr-modal__tick { animation: none; } }
.nr-modal__panel { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
/* short windows (laptops with display scaling): keep the whole form on screen */
@media (max-height: 760px) {
  .nr-modal__head { padding: 20px 24px 16px; }
  .nr-modal__head h2 { font-size: 1.3rem; margin-bottom: 4px; }
  .nr-modal__head p { font-size: .9rem; }
  .nr-modal__form { padding: 16px 24px 20px; gap: 10px; }
  .nr-modal .nr-field { gap: 4px; }
  .nr-modal .nr-field input { min-height: 44px; padding: 9px 14px; }
  .nr-modal__submit { min-height: 46px; }
  .nr-modal__close { top: 10px; right: 10px; width: 36px; height: 36px; }
}

/* ---------- Tighter spacing between sections ---------- */
.nr-page { padding: clamp(32px, 4vw, 56px) 0 clamp(40px, 5vw, 68px); }
.nr-band { padding: clamp(36px, 4.5vw, 64px) 0; }
.nr-band--first { padding-top: clamp(32px, 4vw, 52px); }
.nr-band__head { margin-bottom: clamp(20px, 2.8vw, 32px); }
.nr-pagehero { padding: clamp(28px, 4vw, 48px) 0 clamp(36px, 4.5vw, 56px); }
