:root {
  --ncg-ground: #f7e0e6;
  --ncg-ink: #20202f;
  --ncg-accent: #2b2871;
  --ncg-support: #e0ebc6;
  --ncg-paper: #fcfafb;
  --ncg-title: "Caudex", Georgia, serif;
  --ncg-copy: "Molengo", "Trebuchet MS", sans-serif;
  --ncg-gutter: clamp(28px, 5.55vw, 100px);
}
* { box-sizing: border-box; }
html { scroll-padding-top: 28px; }
body { margin: 0; color: var(--ncg-ink); background: var(--ncg-paper); font: 19px/1.55 var(--ncg-copy); }
img { display: block; max-width: 100%; color: var(--ncg-ink); font: 16px/1.4 var(--ncg-copy); }
figure { margin: 0; }
a { color: var(--ncg-accent); text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--ncg-accent); outline-offset: 5px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--ncg-title); font-weight: 400; }
h1 { line-height: 1.04; letter-spacing: -0.04em; text-wrap: balance; }
h2 { line-height: 1.13; letter-spacing: -0.025em; text-wrap: balance; }
p { margin-bottom: 1.1em; }
.ncg-jump { position: absolute; z-index: 20; top: 8px; left: 16px; padding: 10px 16px; background: var(--ncg-paper); transform: translateY(-200%); }
.ncg-jump:focus { transform: translateY(0); }

/* Shelf marks remain available offline; Lucide supplies route-specific line icons. */
.ncg-icon { position: relative; display: inline-flex; flex: 0 0 23px; width: 23px; height: 23px; vertical-align: middle; color: currentColor; }
.ncg-icon i { display: none; }
.ncg-icon svg { width: 23px; height: 23px; }
.ncg-icon-shelves { position: absolute; inset: 3px 1px; background: linear-gradient(currentColor, currentColor) 0 1px / 15px 2px no-repeat, linear-gradient(currentColor, currentColor) 5px 8px / 15px 2px no-repeat, linear-gradient(currentColor, currentColor) 1px 15px / 14px 2px no-repeat; }
.ncg-icons-ready .ncg-icon-shelves { display: none; }

/* Four tabs hang over the opening scene, each with its own depth. */
.ncg-masthead { position: relative; z-index: 5; background: var(--ncg-ground); }
.ncg-page-home .ncg-masthead { position: absolute; inset: 0 0 auto; background: transparent; }
.ncg-hanging { display: grid; grid-template-columns: 2.1fr 1fr 1.12fr 1.15fr; gap: 12px; padding: 0 var(--ncg-gutter); align-items: start; max-width: 1660px; margin: auto; }
.ncg-hanging a { display: flex; text-decoration: none; box-shadow: 0 7px 0 rgb(32 32 47 / 9%); }
.ncg-name-tab { gap: 20px; align-items: center; background: var(--ncg-accent); color: var(--ncg-paper); padding: 24px 26px 23px; min-height: 122px; }
.ncg-wordmark { font-family: var(--ncg-title); font-size: 34px; line-height: 1.04; letter-spacing: -0.035em; max-width: 250px; }
.ncg-brand-shelves { flex: 0 0 40px; height: 43px; background: linear-gradient(currentColor, currentColor) 0 3px / 27px 5px no-repeat, linear-gradient(currentColor, currentColor) 11px 18px / 29px 5px no-repeat, linear-gradient(currentColor, currentColor) 3px 33px / 28px 5px no-repeat; }
.ncg-nav-tab { gap: 12px; align-items: flex-end; padding: 19px 20px; color: var(--ncg-ink); font-size: 20px; line-height: 1.13; transition: padding-bottom 160ms ease, box-shadow 160ms ease; }
.ncg-nav-tab .ncg-icon { margin-bottom: 1px; color: var(--ncg-accent); }
.ncg-tab-molecule { background: var(--ncg-paper); min-height: 87px; }
.ncg-tab-oral { background: var(--ncg-support); min-height: 105px; }
.ncg-tab-injectable { background: #e3c9d6; min-height: 76px; }
.ncg-nav-tab[aria-current="page"] { box-shadow: inset 0 -5px 0 var(--ncg-accent), 0 7px 0 rgb(32 32 47 / 9%); }
.ncg-nav-tab:hover { padding-bottom: 25px; box-shadow: 0 10px 0 rgb(43 40 113 / 16%); }
.ncg-name-tab:hover .ncg-wordmark { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }

/* A pantry scene behind a solid reading panel, lifted on an offset shelf. */
.ncg-home { background: var(--ncg-paper); }
.ncg-opening { position: relative; isolation: isolate; min-height: 850px; padding: 175px var(--ncg-gutter) 118px; overflow: clip; background: var(--ncg-ground); }
.ncg-hero-photo { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ncg-opening-panel { position: relative; width: min(680px, 58%); padding: 30px 34px 28px; background: var(--ncg-paper); box-shadow: 18px 18px 0 rgb(43 40 113 / 16%); }
.ncg-opening-panel::after { content: ""; position: absolute; left: -20px; right: -38px; bottom: -9px; height: 9px; background: var(--ncg-accent); box-shadow: 14px 12px 0 var(--ncg-support); }
.ncg-opening h1 { font-size: clamp(48px, 4.7vw, 68px); margin: 0 0 18px; }
.ncg-orientation { font-size: 20px; line-height: 1.4; margin-bottom: 22px; }
.ncg-shelf-note { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: center; padding: 0; margin: 0; cursor: default; }
.ncg-shelf-note .ncg-note-title { writing-mode: vertical-rl; transform: rotate(180deg); color: var(--ncg-accent); font-size: 16px; line-height: 1; margin: 0; }
.ncg-shelf-copy { font-size: 16.5px; line-height: 1.45; margin: 0; }
.ncg-triptych { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1480px; margin: -46px auto 0; padding: 0 var(--ncg-gutter); }
.ncg-phone-routes { display: none; }
.ncg-phone-routes a { display: block; padding: 16px 20px; font-size: 16px; line-height: 1.3; text-decoration: none; }
.ncg-phone-routes a span { display: block; font-size: 23px; line-height: 1.25; font-family: var(--ncg-title); margin-top: 4px; }
.ncg-label-molecule { background: var(--ncg-ground); }
.ncg-label-oral { background: var(--ncg-paper); }
.ncg-label-injectable { background: var(--ncg-support); }
.ncg-phone-routes a:hover { box-shadow: inset 6px 0 0 var(--ncg-accent); }

/* Three reading surfaces stand at different shelf heights. */
.ncg-route-sheet { position: relative; min-width: 0; padding: 22px 30px 40px; display: flex; flex-direction: column; border-top: 8px solid var(--ncg-accent); }
.ncg-route-sheet.ncg-sheet-oral { margin-top: 34px; }
.ncg-route-sheet.ncg-sheet-injectable { margin-top: 68px; }
.ncg-sheet-molecule { background: var(--ncg-ground); }
.ncg-sheet-oral { background: var(--ncg-paper); }
.ncg-sheet-injectable { background: var(--ncg-support); }
.ncg-route-sheet.ncg-sheet-oral { box-shadow: 12px 14px 0 rgb(43 40 113 / 8%); z-index: 1; }
.ncg-route-id { display: flex; gap: 10px; align-items: center; color: var(--ncg-accent); font-size: 16px; line-height: 1.35; margin-bottom: 18px; }
.ncg-numbered-route { display: block; margin: 0 0 26px; }
.ncg-route-number { display: block; font-family: var(--ncg-title); font-size: 86px; line-height: 1; letter-spacing: -0.07em; margin-left: -5px; }
.ncg-route-name { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 3px; }
.ncg-route-sheet h2 { font-size: clamp(29px, 2.55vw, 38px); min-height: 2.3em; margin-bottom: 27px; }
.ncg-route-sheet .ncg-photo { margin: 0 -14px 28px 0; }
.ncg-route-sheet.ncg-sheet-oral .ncg-photo { margin: 0 0 28px -14px; }
.ncg-route-sheet.ncg-sheet-injectable .ncg-photo { margin-right: -18px; }
.ncg-photo img { width: 100%; height: auto; object-fit: cover; background: var(--ncg-ground); }
.ncg-route-sheet .ncg-photo img { aspect-ratio: 6 / 5; border-bottom: 7px solid var(--ncg-accent); }
.ncg-photo figcaption { font-size: 16px; line-height: 1.4; padding-top: 13px; max-width: 730px; }
.ncg-route-sheet p { font-size: 18px; }
.ncg-route-sheet .ncg-route-id { font-size: 16px; }
.ncg-route-reading { flex: 1; }
.ncg-route-link { font-size: 18px; margin: 22px 0 0; }
.ncg-route-link a { display: inline; font-weight: 400; }
.ncg-route-link .ncg-icon { margin-left: 6px; transition: transform 160ms ease; }
.ncg-route-link a:hover .ncg-icon { transform: translate(3px, -3px); }
.ncg-finding-sheet { padding: 35px 30px 39px; border-top: 5px solid var(--ncg-accent); }
.ncg-finding-sheet:nth-of-type(odd) { box-shadow: inset 0 -12px 0 rgb(43 40 113 / 5%); }
.ncg-finding-sheet h2 { font-size: 32px; margin: 21px 0 24px; }
.ncg-finding-sheet p { font-size: 18px; }
.ncg-finding-sheet .ncg-route-id { font-size: 16px; align-items: flex-start; }
.ncg-crossing { grid-column: 1 / -1; padding: 95px 0 76px; display: grid; grid-template-columns: 0.95fr 1.25fr; gap: 9%; align-items: start; }
.ncg-crossing > div:first-child { position: relative; padding-bottom: 18px; }
.ncg-crossing h2 { font-size: clamp(39px, 4.3vw, 61px); max-width: 500px; margin: 17px 0 24px; }
.ncg-crossing .ncg-cross-copy { padding-top: 44px; max-width: 720px; }
.ncg-crossing .ncg-route-id { font-size: 17px; }
.ncg-offset-mark { width: 180px; height: 52px; margin: 35px 0 0 -24px; }
.ncg-crossing-quality { position: relative; margin: 68px calc(-1 * var(--ncg-gutter)) 0; padding: 65px var(--ncg-gutter) 80px; background: var(--ncg-ground); border-top: 10px solid var(--ncg-accent); }
.ncg-crossing-quality::before { content: ""; position: absolute; width: 155px; height: 16px; top: -26px; right: var(--ncg-gutter); background: var(--ncg-support); box-shadow: -60px -16px 0 var(--ncg-accent); }

/* A compact pantry band introduces the photographed articles. */
.ncg-reading { background: var(--ncg-paper); }
.ncg-article-top { position: relative; background: var(--ncg-ground); padding: 48px var(--ncg-gutter) 52px; }
.ncg-article-heading { position: relative; z-index: 1; max-width: 970px; }
.ncg-crumbs { font-size: 16px; line-height: 1.4; margin-bottom: 29px; }
.ncg-crumbs span { padding: 0 8px; }
.ncg-article-top .ncg-route-id { margin-bottom: 20px; }
.ncg-article-top h1 { font-size: clamp(43px, 4.3vw, 62px); margin: 0 0 26px; }
.ncg-article-lead { font-size: 22px; line-height: 1.45; max-width: 850px; margin: 0; }
.ncg-article-top-photo { isolation: isolate; min-height: 530px; padding-top: 40px; padding-bottom: 46px; }
.ncg-article-top-photo .ncg-article-heading { width: 57%; max-width: 750px; padding: 28px 30px 30px; background: var(--ncg-paper); border-bottom: 8px solid var(--ncg-accent); box-shadow: 15px 16px 0 rgb(43 40 113 / 12%); }
.ncg-article-top-photo .ncg-crumbs { margin-bottom: 23px; }
.ncg-article-top-photo h1 { font-size: clamp(40px, 3.8vw, 55px); }
.ncg-article-top-photo .ncg-article-lead { font-size: 20px; }
.ncg-article-picture { position: absolute; z-index: -1; inset: 0; }
.ncg-article-picture img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ncg-article-picture figcaption { position: absolute; right: var(--ncg-gutter); bottom: 28px; padding: 16px 20px; max-width: 29%; background: var(--ncg-paper); border-left: 5px solid var(--ncg-accent); font-size: 16px; box-shadow: 8px 8px 0 rgb(43 40 113 / 12%); }
.ncg-reading-body { position: relative; padding: 74px var(--ncg-gutter) 78px; }
.ncg-article-section { max-width: 750px; margin: 0 auto 54px; }
.ncg-article-section h2 { position: relative; font-size: 36px; margin: 0 0 23px -75px; padding-left: 24px; border-left: 7px solid var(--ncg-accent); }
.ncg-article-section p { font-size: 20px; line-height: 1.65; }
.ncg-article-section:first-child p:first-of-type::first-letter { float: left; font-family: var(--ncg-title); font-size: 67px; line-height: 0.9; padding: 10px 9px 0 0; color: var(--ncg-accent); }
.ncg-pathway { max-width: 1040px; margin: 0 auto 66px; padding: 25px 25px 22px; background: var(--ncg-support); box-shadow: 14px 14px 0 var(--ncg-ground); }
.ncg-pathway img { width: 100%; height: auto; }
.ncg-pathway figcaption { font-size: 17px; max-width: 750px; margin: 14px auto 0; }
.ncg-source-entry { position: relative; max-width: 750px; margin: 0 auto 37px; padding: 24px 0 5px; border-top: 4px solid var(--ncg-support); }
.ncg-source-entry::before { content: ""; position: absolute; top: -4px; left: -46px; width: 30px; height: 4px; background: var(--ncg-accent); }
.ncg-source-entry h2 { font-size: 29px; margin-bottom: 12px; }
.ncg-source-credit { font-size: 16px; margin-bottom: 12px; }
.ncg-source-entry p:last-child { font-size: 19px; }
.ncg-return-strip { border-top: 8px solid var(--ncg-accent); padding: 27px 24px; max-width: 800px; margin: 16px auto 0; background: var(--ncg-support); box-shadow: 12px 12px 0 var(--ncg-ground); }
.ncg-return-strip p { font-size: 18px; margin: 0; }
.ncg-end-nav { background: var(--ncg-support); padding: 32px var(--ncg-gutter); display: flex; gap: 22px 28px; flex-wrap: wrap; }
.ncg-end-nav a { display: inline-flex; align-items: center; gap: 9px; font-size: 18px; }
.ncg-colophon { padding: 43px var(--ncg-gutter) 38px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 6%; background: var(--ncg-paper); border-top: 6px solid var(--ncg-accent); }
.ncg-colophon p { max-width: 720px; font-size: 17px; margin: 0; }
.ncg-colophon .ncg-copyright { text-align: right; }
.ncg-missing { min-height: 55vh; padding: 70px var(--ncg-gutter); background: var(--ncg-ground); }
.ncg-missing h1 { max-width: 900px; font-size: 66px; }
.ncg-missing p { max-width: 640px; }

/* The sole introductory motion affects photography; all words paint immediately. */
@keyframes ncg-photo-settle { from { transform: scale(1.025); } to { transform: scale(1); } }
@media (min-width: 681px) {
  .ncg-hero-photo { animation: ncg-photo-settle 950ms ease-out both; }
}
@media (min-width: 1700px) {
  .ncg-opening { padding-left: max(var(--ncg-gutter), calc((100vw - 1440px) / 2)); }
}
@media (max-width: 1100px) and (min-width: 681px) {
  .ncg-hanging { gap: 8px; grid-template-columns: 1.7fr 1fr 1fr 1.1fr; }
  .ncg-name-tab { gap: 12px; padding-left: 18px; padding-right: 18px; }
  .ncg-brand-shelves { display: none; }
  .ncg-wordmark { font-size: 29px; }
  .ncg-nav-tab { padding-left: 14px; padding-right: 14px; font-size: 18px; gap: 8px; }
  .ncg-nav-tab .ncg-icon { display: none; }
  .ncg-opening-panel { width: min(650px, 72%); padding: 28px; }
  .ncg-opening h1 { font-size: 57px; }
  .ncg-route-sheet, .ncg-finding-sheet { padding-left: 20px; padding-right: 20px; }
  .ncg-route-number { font-size: 74px; }
  .ncg-route-sheet h2 { min-height: 3.3em; font-size: 30px; }
  .ncg-route-name { font-size: 16px; }
  .ncg-crossing { gap: 6%; }
  .ncg-article-top-photo .ncg-article-heading { width: 66%; }
  .ncg-article-picture figcaption { right: 22px; max-width: 25%; padding: 14px; }
  .ncg-article-section h2 { margin-left: 0; }
}
@media (max-width: 680px) {
  :root { --ncg-gutter: 20px; }
  body { font-size: 18px; }
  .ncg-page-home .ncg-masthead { position: relative; background: var(--ncg-ground); }
  .ncg-hanging { grid-template-columns: 1.18fr 1fr; gap: 0 9px; padding-bottom: 12px; }
  .ncg-name-tab { min-height: 68px; padding: 10px 13px; gap: 10px; }
  .ncg-wordmark { font-size: 22px; max-width: 190px; }
  .ncg-brand-shelves { flex-basis: 24px; height: 31px; background-size: 18px 3px, 18px 3px, 17px 3px; background-position: 0 3px, 6px 13px, 1px 23px; }
  .ncg-nav-tab { font-size: 16px; padding: 12px 13px; gap: 7px; align-items: center; }
  .ncg-nav-tab .ncg-icon { flex-basis: 19px; width: 19px; height: 22px; }
  .ncg-nav-tab .ncg-icon svg { width: 19px; height: 22px; }
  .ncg-tab-molecule { min-height: 58px; }
  .ncg-tab-oral { min-height: 51px; }
  .ncg-tab-injectable { min-height: 61px; }
  .ncg-nav-tab:hover { padding-bottom: 12px; box-shadow: inset 0 -4px 0 var(--ncg-accent); }
  .ncg-opening { display: block; min-height: 0; padding: 0 0 28px; overflow: visible; background: var(--ncg-ground); }
  .ncg-opening-panel { width: 100%; padding: 21px 20px 0; background: var(--ncg-paper); border-bottom: 7px solid var(--ncg-accent); box-shadow: none; }
  .ncg-opening-panel::after { display: none; }
  .ncg-opening h1 { font-size: 34px; line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 16px; }
  .ncg-orientation { font-size: 18px; line-height: 1.4; margin-bottom: 21px; }
  .ncg-shelf-note { display: block; padding: 0 0 22px; margin: 0; }
  .ncg-shelf-note .ncg-note-title { writing-mode: horizontal-tb; transform: none; font-size: 16px; margin-bottom: 8px; }
  .ncg-shelf-copy { font-size: 16px; line-height: 1.45; }
  .ncg-hero-photo { position: relative; z-index: 0; inset: auto; width: 100%; height: 245px; object-fit: cover; object-position: 60% center; }
  .ncg-triptych { display: block; margin: 0; padding: 0 20px; }
  .ncg-phone-routes { display: grid; grid-template-columns: 1fr; margin: 0; border-bottom: 6px solid var(--ncg-accent); }
  .ncg-phone-routes a { display: block; padding: 13px 20px; font-size: 16px; line-height: 1.3; text-decoration: none; }
  .ncg-phone-routes a span { display: block; font-size: 21px; line-height: 1.25; font-family: var(--ncg-title); margin-top: 4px; }
  .ncg-route-sheet { padding: 20px 22px 34px; margin-bottom: 30px; }
  .ncg-route-sheet.ncg-sheet-oral, .ncg-route-sheet.ncg-sheet-injectable { margin-top: 0; }
  .ncg-route-sheet.ncg-sheet-oral { margin-right: -5px; margin-left: 5px; box-shadow: -10px 10px 0 var(--ncg-ground); }
  .ncg-route-sheet.ncg-sheet-injectable { margin-left: -5px; margin-right: 5px; }
  .ncg-route-number { font-size: 70px; }
  .ncg-route-sheet h2 { min-height: 0; font-size: 32px; margin-bottom: 22px; }
  .ncg-route-sheet .ncg-photo { margin: 0 -8px 25px 0; }
  .ncg-route-sheet.ncg-sheet-oral .ncg-photo { margin: 0 0 25px -8px; }
  .ncg-route-sheet.ncg-sheet-injectable .ncg-photo { margin-right: -8px; }
  .ncg-route-sheet .ncg-photo img { aspect-ratio: 6 / 5; }
  .ncg-route-sheet p { font-size: 18px; }
  .ncg-route-sheet .ncg-route-id { font-size: 16px; }
  .ncg-finding-sheet { padding: 27px 22px 29px; }
  .ncg-finding-sheet h2 { font-size: 30px; }
  .ncg-crossing { display: block; padding: 30px 0 43px; }
  .ncg-crossing h2 { font-size: 39px; margin: 14px 0 0; }
  .ncg-crossing .ncg-cross-copy { padding-top: 6px; }
  .ncg-offset-mark { margin: 24px 0 8px -10px; width: 128px; height: 37px; }
  .ncg-crossing-quality { margin: 47px -20px 0; padding: 39px 20px 45px; }
  .ncg-crossing-quality::before { width: 90px; right: 20px; }
  .ncg-article-top { padding: 28px 20px 35px; }
  .ncg-article-top h1 { font-size: 36px; letter-spacing: -0.025em; margin-bottom: 21px; }
  .ncg-crumbs { margin-bottom: 23px; }
  .ncg-article-top .ncg-route-id { font-size: 16px; margin-bottom: 18px; align-items: flex-start; }
  .ncg-article-lead { font-size: 20px; }
  .ncg-article-top-photo { padding: 0; min-height: 0; }
  .ncg-article-top-photo .ncg-article-heading { width: 100%; padding: 28px 20px 30px; box-shadow: none; }
  .ncg-article-top-photo h1 { font-size: 36px; }
  .ncg-article-picture { position: relative; z-index: 0; }
  .ncg-article-picture img { height: 230px; width: 100%; object-position: center; }
  .ncg-article-picture figcaption { position: relative; right: auto; bottom: auto; margin: -27px 20px 0 32px; max-width: none; padding: 14px 16px; box-shadow: 8px 8px 0 var(--ncg-support); }
  .ncg-reading-body { padding: 45px 20px 49px; }
  .ncg-article-section { margin-bottom: 39px; }
  .ncg-article-section h2 { font-size: 29px; margin: 0 0 20px -8px; padding-left: 14px; border-left-width: 5px; }
  .ncg-article-section p { font-size: 18px; line-height: 1.65; }
  .ncg-article-section:first-child p:first-of-type::first-letter { font-size: 59px; }
  .ncg-pathway { margin: 0 0 43px; padding: 15px 8px; box-shadow: 8px 8px 0 var(--ncg-ground); }
  .ncg-pathway figcaption { font-size: 16px; padding: 0 6px; }
  .ncg-source-entry::before { width: 12px; left: -16px; }
  .ncg-source-entry h2 { font-size: 27px; }
  .ncg-source-entry p:last-child { font-size: 18px; }
  .ncg-return-strip { padding: 23px 18px; box-shadow: 8px 8px 0 var(--ncg-ground); }
  .ncg-end-nav { padding: 27px 20px; gap: 19px 25px; }
  .ncg-end-nav a { font-size: 17px; }
  .ncg-colophon { display: block; padding: 30px 20px; }
  .ncg-colophon .ncg-copyright { text-align: left; margin-top: 22px; }
  .ncg-missing { padding: 44px 20px; }
  .ncg-missing h1 { font-size: 37px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
