/* A panoramic illustration introduces each subject; the viewer opens its technical sheet. */
.hero .actions{grid-column:1;grid-row:2;align-self:start;min-width:0;align-items:stretch}
@media(min-width:769px) and (max-width:1050px){.hero .actions{flex-wrap:nowrap;gap:10px;width:100%}.hero .actions>.primary,.hero .actions>.tour-trigger{flex:1 1 0;min-width:0;justify-content:center;text-align:center;gap:8px;padding:11px 10px;font-size:13px;line-height:1.4}.hero .actions>.primary>i{display:none}}
.hero-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);grid-template-rows:auto auto;align-items:center;column-gap:52px;row-gap:0;padding-top:56px;padding-bottom:76px}
.hero-content{grid-column:1;grid-row:1;align-self:end}
.hero-gallery{grid-column:2;grid-row:1 / span 2;position:relative;--gallery-border:var(--line);--gallery-accent:var(--blue);--gallery-surface:var(--surface-blue);--focus:var(--gallery-accent);min-width:0;max-width:560px;width:100%;justify-self:end;color:var(--hero-text)}
.hero-gallery-stage{position:relative;isolation:isolate;overflow:hidden;touch-action:pan-y;padding:0 8px 8px 0}
.hero-subject-card{position:relative;z-index:1;min-width:0;overflow:hidden;border:1px solid var(--gallery-border);border-radius:20px;background:var(--hero-surface);color:var(--hero-text);box-shadow:var(--shadow)}
.hero-gallery-topline{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;min-height:56px;padding:6px 12px;background:var(--hero-surface)}
.hero-gallery-category{display:flex;align-items:center;gap:8px;min-width:0;font-family:var(--font-body);font-size:11px;font-weight:600;line-height:1.35;letter-spacing:.035em;color:var(--hero-muted);overflow-wrap:anywhere}
.hero-gallery-category:before{content:"";width:16px;height:3px;flex:0 0 16px;background:var(--gallery-accent)}
#hero-gallery-count{font-family:var(--font-mono);color:var(--hero-muted);font-size:12px;line-height:1.3;white-space:nowrap;font-variant-numeric:tabular-nums}
.hero-gallery-enlarge{--focus:var(--gallery-accent);display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:44px;min-height:44px;padding:7px 10px;border:1px solid var(--hero-border);border-radius:var(--radius-control);background:var(--hero-surface);color:var(--hero-text);font-size:12px;font-weight:600;line-height:1.25;text-align:center}
.hero-gallery-enlarge>svg{flex:0 0 18px;width:18px;height:18px}
.hero-subject-card img{width:100%;height:auto;aspect-ratio:2/1;object-fit:contain;background:var(--hero-surface);border-top:1px solid var(--gallery-border)}
.hero-gallery-media{position:relative;background:var(--hero-surface);overflow:hidden}
.hero-gallery-media>img{display:block}
.hero-gallery-motion{position:absolute;inset:1px 0 0;pointer-events:none;overflow:hidden;background:var(--hero-surface)}
.hero-gallery-motion>svg{display:block;width:100%;height:100%;overflow:hidden}
.hero-subject-card figcaption{position:relative;min-height:100px;padding:16px 76px 16px 24px;border-top:1px solid var(--gallery-border);background:var(--hero-surface);background-image:none}
.hero-gallery-name{display:grid;align-content:center;max-width:none;min-height:2.3em;margin:0;font-family:var(--font-heading);font-size:clamp(24px,2.4vw,30px);font-weight:600;line-height:1.15;letter-spacing:-.018em;text-wrap:balance;hyphens:auto;overflow-wrap:break-word;color:var(--hero-text)}
.hero-gallery[data-category="electronics"],.hero-subject-card[data-category="electronics"]{--gallery-accent:var(--coral);--gallery-surface:var(--surface-amber)}
.hero-gallery[data-category="computing"],.hero-subject-card[data-category="computing"]{--gallery-accent:var(--lavender);--gallery-surface:var(--surface-lavender)}
.hero-gallery[data-category="secondary"],.hero-subject-card[data-category="secondary"]{--gallery-accent:var(--mint);--gallery-surface:var(--surface-accent)}
.hero-gallery-peek{position:absolute;z-index:0;inset:10px 0 0 8px;overflow:hidden;border:1px solid var(--gallery-border);border-radius:20px;background:var(--hero-surface);opacity:.5;pointer-events:none}
.hero-gallery-peek img{width:100%;height:auto;aspect-ratio:2/1;opacity:0}
.hero-gallery-timeline{height:3px;overflow:hidden;background:var(--line)}
#hero-gallery-progress{display:block;width:100%;height:100%;background:var(--gallery-accent);transform:scaleX(0);transform-origin:left center}
.hero-gallery-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;margin-top:10px;padding-right:8px}
.hero-gallery-navigation{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0}
.hero-gallery-controls .icon-button{color:var(--hero-text);border-color:var(--hero-border);background:var(--hero-surface)}
.hero-gallery-controls .icon-button[aria-pressed="true"]{border-color:var(--hero-accent);background:var(--surface-brand);color:var(--hero-accent)}
.hero-gallery-controls .icon-button:disabled{border-color:var(--control-border);border-style:dashed;background:var(--surface-raised);color:var(--muted);opacity:1;cursor:not-allowed}
.hero-gallery-controls .hero-gallery-rotation{flex:0 1 auto;gap:6px;width:auto;min-width:0;height:44px;padding:5px 9px}
.hero-gallery-rotation>i{flex:0 0 20px;font-size:20px}
.hero-gallery-rotation>span{min-width:0;font-size:12px;font-weight:600;line-height:1.25}
.hero-gallery-controls select{min-width:0;width:100%;min-height:44px;padding:9px 30px 9px 12px;border:1px solid var(--hero-border);border-radius:var(--radius-control);background-color:var(--hero-surface);color:var(--hero-text);font-size:15px;line-height:1.4;color-scheme:inherit}
.hero-gallery-footer{position:absolute;top:50%;right:12px;display:flex;align-items:center;justify-content:center;width:44px;height:44px;margin:0;padding:0;transform:translateY(-50%)}
.hero-gallery-footer .text-link{flex:none;flex-wrap:nowrap;justify-content:center;gap:0;min-width:44px;width:44px;height:44px;padding:0;border:1px solid var(--hero-border);border-radius:var(--radius-control);background:var(--hero-surface);color:var(--hero-accent)}
.hero-gallery-footer .text-link>i{color:currentColor}
@media(hover:hover) and (pointer:fine){.hero-gallery-enlarge:where(:not(:disabled)):hover{border-color:var(--gallery-accent);background:var(--gallery-surface);color:var(--hero-text)}.hero-gallery-controls .icon-button:not([aria-pressed="true"]):where(:not(:disabled)):hover{border-color:var(--gallery-accent);background:var(--surface-raised);color:var(--hero-text)}.hero-gallery-controls select:where(:not(:disabled)):hover{border-color:var(--gallery-accent)}.hero-gallery-footer .text-link:where(:not(:disabled)):hover{background:var(--surface-brand);border-color:var(--hero-accent);color:var(--hero-accent)}}
body:not(.enhanced) .hero-gallery-stage{padding-right:0}
body:not(.enhanced) .hero-gallery-peek,body:not(.enhanced) .hero-gallery-timeline{display:none}
@media(max-width:1100px){.hero-layout{column-gap:32px}.hero-gallery-controls{grid-template-columns:minmax(0,1fr);gap:8px}.hero-subject-card figcaption{padding:14px 68px 14px 20px}.hero-gallery-name{font-size:26px}}
@media(max-width:900px) and (min-width:769px){.hero-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:24px}}
@media(max-width:768px){
  .hero-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:none;gap:0;padding-top:30px;padding-bottom:36px}
  .hero-content{display:contents}
  .hero .actions,.hero-gallery{grid-column:auto;grid-row:auto;align-self:auto}
  .hero-heading{order:1}
  .hero .actions{order:4;flex-wrap:nowrap;gap:10px;width:100%;max-width:520px;margin-top:18px;margin-bottom:26px}
  .hero .actions>.primary,.hero .actions>.tour-trigger{flex:0 1 auto;min-width:0;min-height:44px;justify-content:center;gap:6px;padding:5px 8px;font-size:13px;line-height:1.25;text-align:center}
  .hero .actions>.primary>i{display:none}
  .hero .actions .tour-trigger-detail{font-size:11px}
  .hero .tour-trigger-symbol{flex-basis:24px;width:24px;height:24px}
  .hero .tour-trigger-copy{flex-direction:column;gap:2px;align-items:flex-start}
  .hero .tour-trigger-detail>span[aria-hidden="true"]{display:none}
  .hero .tour-trigger-arrow{display:none}
  .hero-gallery{--gallery-image-height:clamp(144px,42vw,192px);order:3;justify-self:start;max-width:520px}
  .hero-subject-line{order:2;max-width:520px;width:100%;min-height:72px;margin:22px 0 12px;padding:8px 14px}
  .hero-subjects-static{order:2}
  .hero-summary{order:5;max-width:520px}
  .hero-gallery-topline{gap:8px;padding:6px 10px}
  .hero-gallery-category{gap:6px;font-size:11px;letter-spacing:0}
  #hero-gallery-count{font-size:11px}
  .hero-gallery-enlarge{gap:5px;padding-inline:7px;font-size:11px}
  .hero-subject-card img,.hero-gallery-peek img{height:var(--gallery-image-height);aspect-ratio:auto;object-fit:contain}
  .hero-subject-card figcaption{min-height:69px;padding:8px 66px 8px 16px}
  .hero-gallery-name{font-size:23px}
  .hero-gallery-controls{margin-top:8px}
  .hero-gallery-controls select{font-size:16px}
  .hero-scroll{display:none}
}
@media(max-width:380px){.hero-layout{padding-top:24px}.hero-gallery-topline{padding-inline:8px;gap:6px}.hero-gallery-enlarge{padding-inline:6px}.hero-gallery-rotation>span{font-size:11px}}
@media(min-width:769px) and (max-height:800px){.hero-layout{padding-top:36px;padding-bottom:58px}}
/* A full technical sheet is available without enlarging the mobile cover. */
:root.artwork-open{overflow:hidden}
.hero-image-viewer{width:min(1100px,calc(100% - 32px));max-width:none;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--control-border);border-radius:var(--radius-panel);background:var(--surface);color:var(--text);box-shadow:var(--shadow);overflow:auto;overscroll-behavior:contain}
.hero-image-viewer::backdrop{background:var(--tour-veil)}
.hero-viewer-header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 18px;border-bottom:1px solid var(--line);background:var(--surface)}
.hero-viewer-header h2{min-width:0;font-family:var(--font-body);font-size:clamp(18px,3vw,26px);font-weight:600;line-height:1.25}
.hero-viewer-header .icon-button,.hero-viewer-controls .icon-button{flex-shrink:0;border-color:var(--control-border);background:var(--control-bg);color:var(--text)}
#hero-viewer-image{display:block;width:100%;height:auto;object-fit:contain;background:#FFFFFF}
.hero-viewer-reading-tools{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 18px;border-bottom:1px solid var(--line);background:var(--surface-raised)}
.hero-viewer-reading-tools>p{max-width:60ch;color:var(--muted);font-size:13px;line-height:1.5}
.hero-viewer-zoom{flex-shrink:0;min-height:44px;padding:8px 12px;border:1px solid var(--control-border);border-radius:var(--radius-control);background:var(--control-bg);color:var(--text);font-size:13px;font-weight:600}
.hero-viewer-zoom[aria-pressed="true"]{border-color:var(--cyan);background:var(--surface-cyan);color:var(--cyan)}
.hero-viewer-canvas{overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;background:var(--surface-raised)}
.hero-viewer-canvas.is-zoomed{max-height:68vh;max-height:68dvh}
.hero-viewer-canvas.is-zoomed #hero-viewer-image{width:max(100%,1200px);max-width:none}
.hero-viewer-description{margin:0;padding:14px 18px;border-top:1px solid var(--line);background:var(--surface);color:var(--muted);font-size:15px;line-height:1.65}
.hero-viewer-notes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:8px 18px 24px;background:var(--surface)}
.hero-viewer-topic-intro{padding:18px 24px 12px;color:var(--muted);font-size:15px;line-height:1.65;max-width:82ch}
.hero-viewer-notes>section{min-width:0;padding:18px 20px;border-top:1px solid var(--line)}
.hero-viewer-notes>section+section{border-left:1px solid var(--line)}
.hero-note-number{font-family:var(--font-mono);font-size:12px;color:var(--cyan)}
.hero-viewer-notes h3{margin:8px 0 12px;font-size:18px;line-height:1.35;color:var(--text)}
.hero-viewer-notes ul{font-size:15px;line-height:1.6;color:var(--muted);overflow-wrap:anywhere}
.hero-viewer-notes li{position:relative;padding-left:15px}
.hero-viewer-notes li+li{margin-top:12px}
.hero-viewer-notes li:before{content:"";position:absolute;left:0;top:.62em;width:5px;height:5px;border-radius:50%;background:var(--cyan)}
.hero-viewer-example{margin:0 18px 18px;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.hero-viewer-example>h3{padding:18px 18px 6px;font-size:18px;color:var(--text)}
.hero-viewer-example-intro{padding:0 18px 16px;font-size:14px;line-height:1.6;color:var(--muted)}
.hero-viewer-controls{position:sticky;bottom:0;z-index:3;display:flex;align-items:center;justify-content:center;gap:24px;padding:10px 18px;border-top:1px solid var(--line);background:var(--surface)}
#hero-viewer-count{font-family:var(--font-mono);min-width:72px;text-align:center;color:var(--muted);font-size:14px;font-variant-numeric:tabular-nums}
@media(max-width:760px){.hero-viewer-notes{grid-template-columns:1fr;padding:0 16px 16px}.hero-viewer-notes>section{padding:16px 0}.hero-viewer-notes>section+section{border-left:0}.hero-viewer-notes h3{display:inline;margin-left:10px}.hero-viewer-notes ul{margin-top:12px}.hero-viewer-topic-intro{padding:16px}.hero-viewer-example{margin-inline:12px}}
@media(max-width:600px){.hero-viewer-header{padding:10px 12px}.hero-viewer-controls{gap:18px;padding:8px 12px}.hero-viewer-reading-tools{align-items:flex-start;padding:10px 12px}.hero-viewer-reading-tools>p{font-size:12px}.hero-viewer-zoom{font-size:12px;max-width:45%}.hero-viewer-canvas.is-zoomed #hero-viewer-image{width:960px}}
@media print{.hero-layout{display:block;padding:20px 0}.hero-gallery,.hero-image-viewer{display:none!important}.hero-gallery-controls,.hero-gallery-footer{display:none!important}}
