/* Every example stays visible; JavaScript only enhances image enlargement. */
.hub-examples { scroll-margin-top: 24px; }
.hub-tour-heading { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; margin-bottom: 28px; }
.hub-tour-heading h2 { margin: 14px 0 0; font-size: clamp(30px, 3.2vw, 44px); }
.hub-tour-heading > p { max-width: 43ch; margin: 0 0 3px; color: #50645b; font-size: 1.0625rem; }
.hub-examples small, .hub-access-help small { font-size: .875rem; letter-spacing: .1em; }
.hub-jump-nav { gap: 8px; padding: 18px 0; border-block: 1px solid var(--line); }
.hub-jump-nav > span { margin-right: auto; font-size: .875rem; font-weight: 700; padding-right: 12px; }
.hub-jump-nav a { min-height: 46px; padding: 9px 15px; font-size: .9375rem; font-weight: 700; background: #fffdf8; border: 1px solid #ddd4c3; border-radius: 6px; }
.hub-jump-nav a:hover { background: var(--sky); border-color: #9fbabc; }
.hub-preview-note { max-width: 100%; margin: 16px 0 32px; color: #53635b; font-size: .875rem; line-height: 1.6; }
.hub-feature { display: grid; grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr); gap: clamp(30px, 4.5vw, 64px); align-items: center; padding-block: 40px; border-bottom: 1px solid #ddd4c3; scroll-margin-top: 28px; }
.hub-feature:first-child { padding-top: 8px; }
.hub-feature-copy { padding-inline: 8px; min-width: 0; }
.hub-feature-copy small { color: #4d6560; }
.hub-feature-copy h3 { margin: 16px 0 20px; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.18; max-width: 20ch; }
.hub-feature-copy p, .hub-feature-copy li { font-size: 1rem; line-height: 1.75; }
.hub-feature-copy p { color: #475c50; }
.hub-feature-copy ul { margin: 20px 0; padding-left: 20px; }
.hub-feature-copy li { padding-left: 5px; margin-block: 10px; }
.hub-feature-copy li::marker { color: #8b6d3d; }
.hub-feature-action { display: inline-flex; align-items: center; min-height: 48px; font-size: 1rem; font-weight: 700; text-decoration-thickness: 1px; }
.hub-feature-figure { margin: 0; min-width: 0; padding: clamp(16px, 2vw, 26px); border: 1px solid var(--sky-line); border-radius: 16px; background: var(--sky); }
.hub-feature:nth-child(even) .hub-feature-figure { background: #eef1e7; border-color: #d0d8c5; }
.hub-preview-image { display: block; position: relative; overflow: hidden; border: 1px solid #c8d4d0; border-radius: 8px; background: #fff; text-decoration: none; }
.hub-preview-image img { display: block; width: 100%; height: auto; }
.hub-enlarge-label { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 10px; font-size: .875rem; font-weight: 700; border-top: 1px solid #d3dedb; background: #fffdf8; }
.hub-enlarge-label svg { width: 18px; height: 18px; }
.hub-preview-image:hover .hub-enlarge-label { background: var(--ink); color: #fffdf8; }
.hub-feature-figure figcaption { margin-top: 14px; font-size: .875rem; line-height: 1.6; color: #4c6460; }
.hub-tour-finish { display: flex; gap: 30px; align-items: center; justify-content: space-between; margin-top: 38px; padding: 30px 36px; border-radius: 12px; background: var(--ink); color: var(--paper); }
.hub-tour-finish strong { display: block; font-size: 1.5rem; letter-spacing: -.02em; }
.hub-tour-finish p { margin: 6px 0 0; color: #dce5d8; }
.hub-tour-finish .btn { flex-shrink: 0; }
.hub-guide-credit { max-width: none; font-size: .875rem; color: #50645b; margin: 18px 0 0; }
.hub-access-help { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(32px, 5vw, 72px); padding: clamp(28px, 4vw, 48px); background: var(--sky); border: 1px solid var(--sky-line); border-radius: 16px; margin-bottom: 28px; }
.hub-access-help h2 { margin-top: 16px; font-size: clamp(28px, 2.6vw, 36px); }
.hub-access-help p { font-size: 1rem; }
.hub-help-questions details { border-color: #bacfd0; padding-block: 12px; }
.hub-help-questions details:first-child { border-top: 1px solid #bacfd0; }
.hub-help-questions summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; list-style: none; font-size: 1rem; }
.hub-help-questions summary::-webkit-details-marker { display: none; }
.hub-help-questions summary::after { content: '+'; font-size: 1.5rem; font-weight: 400; }
.hub-help-questions details[open] summary::after { content: '−'; }
.hub-help-questions details p { margin: 8px 0 14px; color: #435e59; }
.hub-resource-links { display: flex; gap: 12px 28px; margin-bottom: 52px; }
.hub-resource-links a { text-decoration: underline; font-size: .9375rem; }
.hub-image-dialog { width: min(1160px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid #cfdbd4; border-radius: 14px; color: var(--ink); background: #faf6ee; }
.hub-image-dialog::backdrop { background: rgb(10 28 20 / 80%); }
.hub-dialog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 24px; background: #faf6ee; }
.hub-dialog-toolbar small { font-size: .75rem; }
.hub-dialog-toolbar h2 { margin: 6px 0 0; font-size: 1.375rem; }
.hub-dialog-close { font: inherit; font-weight: 700; min-height: 48px; padding: 10px 18px; border: 1px solid #496352; border-radius: 6px; background: var(--ink); color: white; cursor: pointer; flex-shrink: 0; }
.hub-dialog-close:focus-visible { outline: 3px solid #2474a7; outline-offset: 4px; }
.hub-dialog-canvas { padding: 16px; background: #e8f0f1; }
.hub-dialog-canvas img { display: block; max-height: 68dvh; width: 100%; object-fit: contain; margin: auto; }
.hub-dialog-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; padding: 14px 24px; font-size: .875rem; }
.hub-dialog-footer p { margin: 0; }
.hub-dialog-footer a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
html.hub-preview-open { overflow: hidden; }
@media (min-width: 901px) {
  .hub-feature:nth-child(even) { grid-template-columns: minmax(0, 1.24fr) minmax(0, .76fr); }
  .hub-feature:nth-child(even) .hub-feature-copy { grid-column: 2; grid-row: 1; }
  .hub-feature:nth-child(even) .hub-feature-figure { grid-column: 1; grid-row: 1; }
}
@media (max-width: 1000px) { .hub-jump-nav > span { flex-basis: 100%; } }
@media (max-width: 900px) {
  .hub-tour-heading, .hub-feature, .hub-access-help { grid-template-columns: 1fr; gap: 24px; }
  .hub-feature { padding-block: 32px; }
  .hub-feature-copy { padding: 0; }
  .hub-feature-copy h3 { max-width: 26ch; }
  .hub-tour-heading > p { max-width: 60ch; }
  .hub-jump-nav { gap: 8px; }
  .hub-feature-figure { max-width: 720px; width: 100%; }
}
@media (max-width: 600px) {
  .hub-jump-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub-jump-nav > span { grid-column: 1 / -1; margin-bottom: 6px; }
  .hub-jump-nav a { justify-content: center; padding: 9px 8px; text-align: center; font-size: .875rem; }
  .hub-jump-nav a:last-child { grid-column: 1 / -1; }
  .hub-feature-figure { padding: 12px; border-radius: 12px; }
  .hub-feature-copy h3 { font-size: 1.875rem; }
  .hub-tour-finish { flex-direction: column; align-items: flex-start; padding: 26px 24px; gap: 22px; }
  .hub-tour-finish .btn { width: 100%; }
  .hub-access-help { padding: 28px 24px; }
  .hub-resource-links { gap: 4px 20px; }
  .hub-dialog-toolbar { align-items: flex-start; padding: 16px; gap: 12px; }
  .hub-dialog-toolbar small { display: none; }
  .hub-dialog-toolbar h2 { font-size: 1.125rem; }
  .hub-dialog-close { font-size: .875rem; padding: 8px 12px; }
  .hub-dialog-canvas { padding: 8px; }
  .hub-dialog-footer { padding: 14px 16px; }
}
