/* Internal pages. Every rule is scoped away from the approved homepage. */
.er-inner { color: var(--er-ink); }
.er-inner .hero { padding-block: 3rem; }
.er-inner .hero h1 { max-width: 28ch; }
.er-inner .hero p { margin: 1.25rem 0 0; max-width: 76ch; font-size: 1.0625rem; line-height: 1.65; }
.er-content { width: min(1180px, calc(100% - 4rem)); margin-inline: auto; padding-block: 3rem 4.5rem; color: var(--er-ink); font-size: 1.0625rem; line-height: 1.65; overflow-wrap: anywhere; }
.er-content :is(h1,h2,h3) { font-family: var(--er-font); font-weight: 600; color: var(--er-ink); letter-spacing: -.025em; text-wrap: balance; }
.er-content h1 { margin: 0 0 1.25rem; font-size: 3rem; line-height: 1.125; }
.er-content h2 { margin: 0 0 1.25rem; font-size: 2.125rem; line-height: 1.235; }
.er-content h3 { margin: 0 0 1rem; font-size: 1.375rem; line-height: 1.32; }
.er-content :is(h1,h2,h3) strong { font-weight: inherit; }
.er-content p { margin: 0 0 1.25rem; color: var(--er-muted); }
.er-content :is(li,dd) { color: var(--er-muted); }
.er-content strong { color: var(--er-ink); font-weight: 600; }
.er-content :is(p,li,[data-er-copy]) a:not(.button):not(.shot-open):not(.shot-picture) { color: var(--er-action); text-decoration: underline; text-underline-offset: .2em; }
.er-content :is(p,li,[data-er-copy]) a:hover { color: var(--er-action-hover); }
.er-content section[id] { scroll-margin-top: 2rem; }
.er-content ul, .er-content ol { margin: 0 0 1.25rem; padding-left: 1.25rem; }
.er-content li + li { margin-top: .5rem; }
.er-content :is(a,button,summary,input,textarea,select):focus-visible { outline: 3px solid var(--er-action); outline-offset: 4px; }
.er-page-intro { max-width: 850px; margin-bottom: 2.5rem; }
.er-page-intro > div { color: var(--er-muted); }
.er-feature-row { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 4rem; padding-block: 2.5rem; border-top: 1px solid var(--er-border); }
.er-feature-row h2 { margin: 0; max-width: 30ch; font-size: 1.75rem; line-height: 1.25; }
.er-feature-row > div { min-width: 0; color: var(--er-muted); }
.er-feature-row a[href^="tel:"] { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: .5rem; font-size: 1rem; }
.er-feature-row h2 br { display: none; }
.er-toc { margin: 0 0 2.5rem; padding: 0 1.25rem; border: 1px solid var(--er-border); border-radius: .5rem; background: var(--er-canvas); }
.er-toc > summary { display: flex; align-items: center; justify-content: space-between; min-height: 3.5rem; gap: 1rem; padding-block: .75rem; list-style: none; cursor: pointer; font-size: 1rem; font-weight: 600; }
.er-toc > summary::-webkit-details-marker, .er-disclosure > summary::-webkit-details-marker, .er-channel > summary::-webkit-details-marker { display: none; }
.er-toc > summary::after { content: "+"; color: var(--er-action); font-size: 1.5rem; line-height: 1; }
.er-toc[open] > summary::after { content: "−"; }
.er-toc ol { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .375rem 2rem; list-style: none; padding: 0; margin: 0; padding-bottom: 1rem; }
.er-toc li, .er-toc li + li { margin: 0; }
.er-toc a { display: flex; align-items: center; min-height: 2.75rem; padding: .5rem 0; color: var(--er-action); font-size: .9375rem; line-height: 1.5; }
.er-faq-page { display: grid; grid-template-columns: 15rem minmax(0,1fr); gap: 4rem; align-items: start; }
.er-topic-nav { display: flex; flex-direction: column; position: sticky; top: 1.5rem; gap: .5rem; }
.er-topic-nav a { display: flex; align-items: center; min-height: 3rem; padding: .75rem 1rem; border-left: 2px solid var(--er-border); font-size: 1rem; line-height: 1.5; color: var(--er-muted); }
.er-topic-nav a:hover, .er-topic-nav a:focus-visible { border-left-color: var(--er-action); background: var(--er-secondary); color: var(--er-action-hover); }
.er-faq-group + .er-faq-group { margin-top: 3rem; }
.er-faq-group > h2 { font-size: 1.75rem; }
.er-disclosure { border-top: 1px solid var(--er-border); }
.er-disclosure:last-child { border-bottom: 1px solid var(--er-border); }
.er-disclosure > summary { display: flex; align-items: center; justify-content: space-between; min-height: 3rem; padding: 1.25rem 0; gap: 1.5rem; list-style: none; cursor: pointer; }
.er-disclosure > summary::after { content: "+"; color: var(--er-action); flex: 0 0 1.25rem; font-size: 1.5rem; line-height: 1; }
.er-disclosure[open] > summary::after { content: "−"; }
.er-disclosure > summary :is(h2,h3) { margin: 0; font-size: 1.0625rem; line-height: 1.5; letter-spacing: -.01em; text-wrap: pretty; }
.er-answer { max-width: 76ch; padding-bottom: .5rem; font-size: 1rem; line-height: 1.65; }
.er-channel { border-top: 1px solid var(--er-border); scroll-margin-top: 1.5rem; }
.er-channel:last-child { border-bottom: 1px solid var(--er-border); }
.er-channel > summary { display: grid; grid-template-columns: 11rem minmax(0,1fr) 1.5rem; align-items: center; gap: 2rem; padding: 1rem 0; list-style: none; cursor: pointer; font-size: 1.25rem; line-height: 1.4; font-weight: 600; }
.er-channel > summary::after { content: "+"; color: var(--er-action); font-size: 1.5rem; font-weight: 400; }
.er-channel[open] > summary::after { content: "−"; }
.er-channel-logo { display: flex; align-items: center; justify-content: flex-start; width: 100%; min-height: 4.5rem; }
.er-channel-logo img { display: block; max-width: 10rem; max-height: 4.5rem; width: auto; height: auto; object-fit: contain; }
.er-channel-copy { padding: 0 3.5rem 2rem 13rem; color: var(--er-muted); }
.er-channel-copy > div > strong:first-of-type { display: block; margin-bottom: .75rem; color: var(--er-ink); font-size: 1.25rem; line-height: 1.45; }
.er-other-logos { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 2rem; align-items: center; margin-top: 3rem; padding-top: 3rem; border-top: 1px solid var(--er-border); }
.er-other-logos img { display: block; max-width: 100%; max-height: 5rem; width: auto; height: auto; margin: auto; object-fit: contain; }
.er-comparison-note { max-width: 82ch; margin-bottom: 2.5rem; }
.er-comparison-note:last-child { max-width: none; margin-bottom: 0; padding: 2rem; background: var(--er-secondary); border-left: 2px solid var(--er-action); }
.er-comparison-note:last-child p { margin: 0; }
.er-contact-layout { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); grid-template-rows: auto 1fr; gap: 2.5rem 4rem; align-items: start; }
.er-contact-intro { grid-column: 1; grid-row: 1; }
.er-contact-intro h1 { max-width: 17ch; }
.er-contact-form { grid-column: 2; grid-row: 1 / 3; border: 1px solid var(--er-border); border-radius: .75rem; padding: 2rem; background: #fff; box-shadow: 0 6px 24px rgb(29 39 51 / 4%); }
.er-contact-form > h2 { font-size: 1.5rem; line-height: 1.35; }
.er-contact-form > p { font-size: 1rem; line-height: 1.625; }
.er-contact-address { grid-column: 1; grid-row: 2; border-top: 1px solid var(--er-border); padding-top: 2rem; }
.er-contact-address h2 { font-size: 1.375rem; }
.er-contact-address p { font-size: 1rem; line-height: 1.8; }
.er-content small { font-size: .875rem; line-height: 1.5; }
.er-content .form-grid { gap: 1rem; }
.er-content label { font-family: inherit; font-size: .875rem; font-weight: 500; line-height: 1.5; color: var(--er-ink); margin-bottom: .5rem; }
.er-content :is(input,textarea,select):not([type="checkbox"]):not([type="hidden"]) { min-height: 3rem; font-family: inherit; font-size: 1rem; line-height: 1.5; color: var(--er-ink); padding: .625rem .75rem; border: 1px solid var(--er-control-border); border-radius: .5rem; }
.er-content textarea { min-height: 9rem; }
.er-content input[type="checkbox"] { width: 1.125rem !important; height: 1.125rem; vertical-align: middle; accent-color: var(--er-action); margin-right: .5rem; }
.er-content label:has(input[type="checkbox"]) { min-height: 2.75rem; padding-block: .5rem; margin: 0; }
.er-content :is(button,.button) { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .75rem 1.25rem; background: var(--er-action); color: #fff; border-radius: .5rem; font-family: inherit; font-size: 1rem; font-weight: 600; line-height: 1.5; text-decoration: none; }
.er-content :is(button,.button):hover { background: var(--er-action-hover); color: #fff; }
.er-content form button[type="submit"] { width: 100%; }
.er-content .form-status { margin: .75rem 0 0; font-size: .875rem; line-height: 1.5; }
.er-content .form-status:empty { min-height: 0; margin: 0; }
.er-content .form-status[data-state="success"] { color: var(--er-positive); }
.er-content .form-status[data-state="error"] { color: var(--er-error); }
.er-policy-page { max-width: 900px; }
.er-reading { max-width: 80ch; }
.er-reading :is(h2,h3) { padding-top: 1.75rem; margin-bottom: 1rem; font-size: 1.375rem; line-height: 1.35; }
.er-reading h2:first-child { padding-top: 0; }
.er-reading p, .er-reading li { font-size: 1rem; line-height: 1.75; }
.er-book-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.er-book-content > h2 { font-size: 1.375rem; line-height: 1.5; }
.er-book-content .legacy-link-image { margin-block: 1.5rem; text-align: left; }
.er-book-content .legacy-link-image img { width: auto; height: auto; max-width: 100%; max-height: 28rem; margin: 0; }
.er-book-content .pdf-download-row { padding: 1.5rem 0; border-block: 1px solid var(--er-border); }
.er-book-content .pdf-download-row p { min-width: 0; font-size: .9375rem; }
.er-book-content .pdf-file-icon { font-size: .75rem; border-radius: .25rem; }
.er-book-content .pdf-download-row a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.er-book-form { border-left: 1px solid var(--er-border); padding-left: 3rem; }
.er-book-form h2 { font-size: 1.5rem; line-height: 1.35; }
.er-media-page { max-width: 1080px; }
.er-inner .er-video { overflow: hidden; min-height: 22rem; border: 1px solid var(--er-border); border-radius: .75rem; background: var(--er-canvas); }
.er-inner .er-video:has(iframe) { aspect-ratio: 16 / 9; min-height: 0 !important; }
.er-inner .er-video iframe { min-height: 0 !important; width: 100%; height: 100% !important; aspect-ratio: 16 / 9; }
.er-inner .er-video .external-placeholder { max-width: 40rem; padding: 2rem; font-size: 1rem; line-height: 1.65; }
.er-revenue-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 4rem; }
.er-revenue-list figure { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 1.5rem; margin: 0; padding: 2.5rem 0; border-bottom: 1px solid var(--er-border); }
.er-revenue-list img { width: auto; height: auto; max-width: 100%; max-height: 5rem; object-fit: contain; }
.er-revenue-list figcaption { font-weight: 500; font-size: 1.0625rem; }
.er-gallery { display: grid; gap: 2.5rem; }
.er-gallery .product-shot--tariffe { max-width: 34rem; justify-self: start; }
.er-gallery .product-shot figcaption { font-size: 1rem; }
.er-gallery .product-shot { margin: 0; box-shadow: 0 6px 24px rgb(29 39 51 / 4%); }
.er-historical { margin-top: 3rem; }
.er-historical-gallery { display: grid; gap: 2rem; padding-bottom: 2rem; }
.er-historical-shot { margin: 0; }
.er-historical-shot figcaption { font-size: .9375rem; color: var(--er-muted); margin-bottom: .75rem; }
.er-historical-shot img { display: block; width: 100%; height: auto; border: 1px solid var(--er-border); border-radius: .5rem; }
.er-historical-shot a { display: block; }
.er-content .product-viewer h2 { font-size: 1rem; margin: 0; }
.er-content .product-viewer-header button { background: #fff; color: var(--er-ink); font-size: 1.75rem; padding: .25rem; min-height: 2.75rem; }

/* Issue #13: channel descriptions and a readable product gallery. */
.er-channel-status { display: block; margin-top: .375rem; color: var(--er-muted); font-weight: 400; }
.er-channel-copy .er-channel-status-note { padding-left: 1rem; border-left: 2px solid var(--er-border); font-size: .9375rem; }
.er-channel-archive { margin-top: 3rem; }
.er-channel-archive > h2 { font-size: 1.75rem; }
.er-gallery-intro { max-width: 78ch; margin-bottom: 3rem; }
.er-gallery-intro > p:first-child { color: var(--er-ink); font-size: 1.125rem; }
.er-gallery-help, .er-gallery-provenance { font-size: .9375rem; }
.er-gallery-nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; padding-block: .5rem; }
.er-gallery-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--er-action); text-decoration: underline; text-underline-offset: .25em; font-size: 1rem; }
.er-gallery-story { min-width: 0; padding-top: 2rem; border-top: 1px solid var(--er-border); }
.er-gallery-story-copy { max-width: 80ch; margin-bottom: 1.5rem; }
.er-gallery-story-copy h2 { margin-bottom: .75rem; }
.er-gallery-story-copy .er-gallery-subtitle { color: var(--er-ink); font-weight: 500; margin-bottom: .5rem; }
.er-gallery-story--compact { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 3rem; align-items: start; }
.er-gallery-story--compact .product-shot--tariffe { width: 100%; max-width: 32rem; justify-self: end; }
.er-gallery-provenance { margin-top: 2rem !important; }

@media (max-width: 760px) {
  .er-gallery-intro { margin-bottom: 2rem; }
  .er-gallery-nav { gap: .375rem 1rem; }
  .er-gallery-story--compact { display: block; }
  .er-gallery-story--compact .product-shot--tariffe { max-width: none; }
  .er-gallery-story-copy { margin-bottom: 1.25rem; }
  .er-gallery-story .product-shot figcaption { flex-wrap: wrap; padding-block: .625rem; }
}

@media (max-width: 1024px) {
  .er-feature-row { gap: 2.5rem; }
  .er-faq-page { grid-template-columns: 13rem minmax(0,1fr); gap: 2rem; }
  .er-contact-layout, .er-book-layout { gap: 2rem; }
  .er-book-form { padding-left: 2rem; }
  .er-revenue-list { gap: 0 2rem; }
}
@media (max-width: 760px) {
  .er-content { width: calc(100% - 2.5rem); padding-block: 2rem 3rem; font-size: 1rem; line-height: 1.625; }
  .er-inner .hero { padding-block: 2rem !important; }
  .er-inner .hero p { font-size: 1rem; line-height: 1.625; }
  .er-content h1 { font-size: 2.125rem !important; line-height: 1.15 !important; }
  .er-content h2 { font-size: 1.75rem !important; line-height: 1.25 !important; }
  .er-content h3 { font-size: 1.3125rem; line-height: 1.33; }
  .er-feature-row { grid-template-columns: minmax(0,1fr); gap: 1.25rem; padding-block: 2rem; }
  .er-feature-row h2 { max-width: none; font-size: 1.5rem !important; line-height: 1.35 !important; }
  .er-page-intro { margin-bottom: 2rem; }
  .er-toc { margin-bottom: 2rem; padding-inline: 1rem; }
  .er-toc ol { grid-template-columns: minmax(0,1fr); gap: .25rem; }
  .er-faq-page { display: block; }
  .er-topic-nav { position: static; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .5rem; margin-bottom: 2.5rem; }
  .er-topic-nav a { font-size: .9375rem; padding: .625rem .75rem; }
  .er-faq-group > h2 { font-size: 1.5rem !important; }
  .er-disclosure > summary { padding-block: 1rem; gap: 1rem; }
  .er-disclosure > summary :is(h2,h3) { font-size: 1.0625rem !important; line-height: 1.5 !important; }
  .er-channel > summary { grid-template-columns: 6rem minmax(0,1fr) 1rem; gap: 1rem; font-size: 1.0625rem; padding-block: .875rem; }
  .er-channel-logo { min-height: 3rem; }
  .er-channel-logo img { max-width: 6rem; max-height: 3rem; }
  .er-channel-copy { padding: .5rem 0 1.5rem; }
  .er-channel-copy > div > strong:first-of-type { font-size: 1.125rem; }
  .er-other-logos { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2rem; }
  .er-other-logos img { max-height: 4rem; }
  .er-comparison-note:last-child { padding: 1.5rem; }
  .er-contact-layout, .er-book-layout { display: block; }
  .er-contact-form { padding: 1.5rem; margin-top: 2rem; }
  .er-contact-form > h2 { font-size: 1.5rem !important; line-height: 1.35 !important; }
  .er-contact-address { margin-top: 2rem; padding-top: 2rem; }
  .er-contact-address h2 { font-size: 1.3125rem !important; }
  .er-content .form-grid { gap: .875rem; }
  .er-reading :is(h2,h3) { font-size: 1.3125rem !important; line-height: 1.4 !important; }
  .er-reading p, .er-reading li { line-height: 1.7; }
  .er-book-content > h2 { font-size: 1.3125rem !important; line-height: 1.5 !important; }
  .er-book-form { margin-top: 2rem; padding: 2rem 0 0; border-left: 0; border-top: 1px solid var(--er-border); }
  .er-book-form h2 { font-size: 1.5rem !important; line-height: 1.35 !important; }
  .er-inner .er-video { min-height: 18rem !important; }
  .er-inner .er-video .external-placeholder { padding: 1.5rem; }
  .er-revenue-list { grid-template-columns: minmax(0,1fr); }
  .er-revenue-list figure { grid-template-columns: 1fr 1fr; padding-block: 1.75rem; }
  .er-gallery { gap: 2rem; }
  .er-gallery .product-shot figcaption { font-size: .9375rem; }
  .er-gallery .product-shot--tariffe { justify-self: stretch; max-width: none; }
  .er-gallery .product-shot--tariffe img { max-width: 16rem; margin: auto; }
  .er-content .product-viewer h2 { font-size: 1rem !important; line-height: 1.5 !important; }
}
@media print {
  .er-toc, .er-topic-nav { display: none; }
  .er-faq-page { display: block; }
  .er-content { width: 100%; }
}
@media (min-width: 601px) and (max-width: 760px) {
  .er-gallery .product-shot--tariffe img { max-width: 100%; }
}
