* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--font-body); }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--accent2); outline-offset: 4px; }
h1, h2 { font-family: var(--font-heading); font-weight: 600; line-height: 1.15; }
h1 { font-size: clamp(2.25rem, 6vw, 3.75rem); margin: 28px 0 16px; }
h2 { font-size: 1.6rem; margin: 0 0 12px; }
p { margin: 0 0 12px; }
.page { max-width: 1120px; margin: auto; padding: 32px 16px; }
.gallery-header { padding-bottom: 24px; }
.brand-lockup { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.ncoe-plate { display: inline-flex; max-width: 100%; }
.ncoe-logo { height: 56px; max-width: 100%; width: auto; object-fit: contain; }
.algoma-plate { display: inline-flex; padding: 10px 14px; background: #fff; border-radius: 10px; }
.algoma-plate img { height: 40px; width: auto; max-width: 100%; object-fit: contain; }
.subtitle { color: var(--muted); max-width: 720px; }
.gallery { display: grid; grid-template-columns: 1fr; gap: 24px; }
.demo-card { overflow: hidden; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); display: flex; flex-direction: column; }
.demo-media { position: relative; aspect-ratio: 16 / 10; background: #222630; }
.demo-media img, .demo-media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.demo-media video { position: absolute; inset: 0; }
.demo-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.pitch { color: var(--muted); }
.access { margin-top: auto; padding-top: 12px; font-size: .925rem; }
.demo-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.button, .present-controls button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid var(--border); padding: 9px 18px; border-radius: 8px; text-decoration: none; color: var(--text); background: var(--surface); font-weight: 600; cursor: pointer; }
.button:hover { border-color: var(--accent2); }
.button.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.solo-link { padding: 8px 0; }
.coming .demo-media { filter: grayscale(1); }
.coming .demo-body { color: var(--muted); }
footer { border-top: 1px solid var(--border); margin-top: 48px; padding-top: 32px; }
.contact { max-width: 760px; }
.contact-org { color: var(--muted); }
.contact-links { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin: 20px 0 32px; }
.contact-links a { overflow-wrap: anywhere; }
.present-all { display: inline-block; padding: 12px 0; font-weight: 600; margin-bottom: 24px; }
.fine-print { font-size: .8rem; color: var(--muted); }
.skip-link { position: absolute; top: -100px; left: 16px; background: var(--surface); padding: 12px; z-index: 2; }
.skip-link:focus { top: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.presenter { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; padding: 12px 16px; text-align: center; }
.present-home { align-self: flex-start; font-size: .85rem; }
.present-screen { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; gap: 1.2vh; }
#present-name { font-size: 6vh; margin: 0; }
#present-pitch { font-size: 2.6vh; max-width: 1000px; line-height: 1.35; margin: 0; }
.present-qr { display: block; width: min(62vh, 80vw); height: min(62vh, 80vw); background: #fff; border-radius: 4px; }
#present-address { font: 400 2.4vh/1.3 ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; margin: 0; max-width: 100%; }
.present-controls { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 12px; }
.present-controls button { padding: 6px 12px; font-size: .85rem; }
.present-controls button:disabled { opacity: .4; cursor: default; }
.present-hint { font-size: .8rem; color: var(--muted); margin: 4px 0 0; transition: opacity .35s; }
.present-hint.faded { opacity: 0; }
@media (min-width: 720px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-color-scheme: light) {
  .ncoe-plate { background: #0f1115; border-radius: 8px; padding: 6px 10px; }
}
@media (max-width: 480px) {
  .brand-lockup { gap: 16px; }
  .demo-body { padding: 20px; }
  #present-name { font-size: clamp(1.75rem, 6vh, 2.75rem); }
  #present-pitch { font-size: clamp(1rem, 2.6vh, 1.3rem); }
  #present-address { font-size: clamp(.8rem, 2.4vh, 1.15rem); }
}
@media (prefers-reduced-motion: reduce) { .present-hint { transition: none; } }
