:root {
  --paper: #fff;
  --ink: #11120f;
  --serif: 'Courier New', Courier, monospace;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--paper); color: var(--ink); }
body { width: 100%; height: 100vh; height: 100svh; overflow: hidden; background: #fff; -webkit-font-smoothing: antialiased; }
.home { display: grid; place-items: start center; width: 100%; height: 100vh; height: 100svh; overflow: hidden; background: #fff; }
.design-canvas { position: relative; flex: none; width: min(100vw, 177.7778svh); max-width: 100vw; aspect-ratio: 3 / 2; container-type: inline-size; }
.design-image { display: block; width: 100%; height: 100%; object-fit: contain; filter: brightness(1.08); user-select: none; }
.canvas-text { position: absolute; z-index: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #fff; color: #111; text-align: center; white-space: nowrap; }
.brand-name { top: 7.6%; left: 14.25%; width: 36%; height: 3.8%; font: 700 1.43cqw/1 Arial, Helvetica, sans-serif; letter-spacing: .50cqw; }
.header-about, .header-contact { top: 7.6%; height: 3.8%; font: 600 1.35cqw/1 Arial, Helvetica, sans-serif; letter-spacing: .45cqw; }
.header-about { left: 72.8%; width: 9%; }
.header-contact { left: 83.7%; width: 11.4%; }
.heading-topics, .heading-news { top: 57.2%; height: 3.8%; font: 600 1.82cqw/1 Arial, Helvetica, sans-serif; letter-spacing: .50cqw; }
.heading-topics { left: 14.2%; width: 31%; }
.heading-news { left: 58%; width: 27%; }
.copy-topics, .copy-news { top: 63.8%; width: 30%; height: 6.6%; font: 1.25cqw/1.6 'Courier New', Courier, monospace; letter-spacing: .05cqw; white-space: normal; }
.copy-topics { left: 15.5%; }
.copy-news { left: 57%; }
.hotspot { position: absolute; z-index: 1; display: block; background: transparent; text-decoration: none; }
.hotspot:focus-visible { outline: 1px dashed rgba(17, 18, 15, .75); outline-offset: 2px; }
.brand-hotspot { left: 6.4%; top: 4.5%; width: 48%; height: 12%; }
.about-hotspot { left: 72.8%; top: 7%; width: 9%; height: 5.4%; }
.contact-hotspot { left: 83.7%; top: 7%; width: 11.4%; height: 5.4%; }
.topics-hotspot { left: 14.2%; top: 30.5%; width: 31%; height: 39%; }
.news-hotspot { left: 58%; top: 30.5%; width: 27%; height: 39%; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.panel { position: fixed; z-index: 4; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; overflow-y: auto; padding: 70px 24px; background: #fff; text-align: center; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.panel:target { opacity: 1; visibility: visible; }
.panel-kicker { color: #68685e; font: 600 10px var(--sans); letter-spacing: 4px; }
.panel h2 { margin: 20px 0 38px; font: 400 clamp(32px, 5vw, 54px) var(--serif); }
.topic-list { display: flex; flex-direction: column; width: min(440px, 100%); text-align: left; }
.topic-list a { display: flex; justify-content: space-between; padding: 16px 4px; border-bottom: 1px solid #d8d5ca; color: var(--ink); font: 17px var(--serif); text-decoration: none; }
.topic-list a:first-child { border-top: 1px solid #d8d5ca; }
.topic-list a:hover { padding-inline: 10px; }
.topics-panel { justify-content: flex-start; padding: 54px 24px 42px; }
.topics-panel .panel-kicker { margin: 0; }
.topics-panel h2 { flex: none; margin: 14px 0 24px; }
.pillar-list { flex: none; width: min(900px, 100%); text-align: left; }
.pillar { border-top: 1px solid #d8d5ca; }
.pillar:last-child { border-bottom: 1px solid #d8d5ca; }
.pillar summary { position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; padding: 16px 40px 16px 8px; color: var(--ink); font: 600 15px/1.45 var(--sans); cursor: pointer; list-style: none; }
.pillar summary::-webkit-details-marker { display: none; }
.pillar summary::after { position: absolute; top: 13px; right: 8px; content: "+"; font: 22px/1 var(--serif); }
.pillar[open] summary::after { content: "−"; }
.pillar summary:hover { color: #68685e; }
.pillar summary:focus-visible { outline: 1px dashed rgba(17, 18, 15, .75); outline-offset: -2px; }
.pillar-number { color: #68685e; font: 15px/1.45 var(--serif); }
.module-list { margin: 0; padding: 0 12px 14px 52px; list-style: none; }
.module-list li { display: grid; grid-template-columns: 3.2em 1fr; gap: 12px; padding: 9px 0; border-top: 1px solid #e9e7e0; font: 14px/1.5 var(--serif); }
.module-number { color: #68685e; }
.panel-copy { max-width: 540px; font: 17px/1.7 var(--serif); }
.back-link { margin-top: 26px; color: var(--ink); font: 13px var(--sans); text-underline-offset: 4px; }
.close-panel { position: absolute; top: 5%; right: 7%; color: var(--ink); font: 32px var(--serif); text-decoration: none; }
.close-panel:hover { opacity: .6; }

@media (max-width: 600px) and (orientation: portrait) {
  .about-hotspot { left: 70%; top: 0; width: 13%; height: 21%; }
  .contact-hotspot { left: 83%; top: 0; width: 15%; height: 21%; }
  .topics-panel { padding: 54px 18px 32px; }
  .pillar summary { grid-template-columns: 30px 1fr; gap: 8px; padding-right: 34px; font-size: 14px; }
  .module-list { padding-left: 38px; padding-right: 2px; }
  .module-list li { grid-template-columns: 3.1em 1fr; gap: 8px; font-size: 13px; }
}

@media (max-height: 620px) {
  .panel { padding-top: 44px; padding-bottom: 44px; }
  .panel h2 { margin: 14px 0 24px; }
  .topic-list a { padding-top: 12px; padding-bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
