:root {
  color-scheme: dark;
  --black: #000;
  --gold: #ffc904;
  --text: #f4f4f4;
  --muted: #b4b4bc;
  --line: #ffffff29;
  --blue: #4589ff;
  --purple: #be95ff;
  --pink: #ff7eb6;
  background: var(--black);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--black); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--purple); outline-offset: 6px; }
[hidden] { display: none !important; }
::selection { background: var(--gold); color: var(--black); }
.skip-link { position: fixed; left: 20px; top: -80px; padding: 16px; background: var(--gold); color: #000; z-index: 10; }
.skip-link:focus { top: 15px; }
.header { max-width: 1536px; margin: auto; padding: 19px 5%; display: flex; justify-content: space-between; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 17px; font-size: 16px; letter-spacing: .035em; font-weight: 700; }
.brand img { width: 44px; height: auto; flex-shrink: 0; }
.brand-sub { display: block; font-size: 12px; letter-spacing: .08em; margin-top: 7px; font-weight: 400; color: var(--muted); }
.header nav { display: flex; align-items: center; gap: 34px; font-size: 14px; }
.header nav > a:not(.button):hover, .text-link:hover, .back-top:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 6px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; padding: 19px 23px; min-height: 54px; font-size: 16px; font-weight: 700; line-height: 1.3; border: 1px solid var(--gold); transition: background .2s, border-color .2s; }
.button-dark { color: #000; background: var(--gold); }
.button-dark:hover { background: #ffe066; border-color: #ffe066; }
.button-discord { color: var(--purple); border-color: var(--purple); }
.button-discord:hover { background: #be95ff1a; }
.button span { font-size: 22px; line-height: 1; }
.button-small { padding: 12px 19px; min-height: 44px; font-size: 14px; gap: 30px; }
.hero { max-width: 1536px; margin: auto; padding: 24px 5% 0; background: var(--black); }
.hero-topline { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-family: 'Courier New', monospace; font-size: 12px; letter-spacing: .08em; color: var(--muted); }
.motion-toggle { display: flex; align-items: center; gap: 8px; min-height: 38px; padding: 8px 0 8px 12px; background: none; border: 0; color: var(--muted); font-size: 12px; cursor: pointer; }
.motion-toggle:hover { color: var(--gold); }
.motion-icon { width: 15px; text-align: center; }
.hero-grid { display: grid; grid-template-columns: 1.27fr 1fr; gap: 4%; align-items: center; padding: 54px 0 62px; }
.hero-copy { min-width: 0; position: relative; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: 11px; font-family: 'Courier New', monospace; font-size: 12px; font-weight: 400; letter-spacing: .11em; line-height: 1.6; margin: 0 0 27px; color: var(--gold); }
.eyebrow-line { width: 25px; height: 2px; background: var(--gold); }
h1 { margin: 0; font-weight: 800; font-size: clamp(54px, 6.5vw, 98px); letter-spacing: -.058em; line-height: 1.03; }
h1 > span { display: block; }
.title-qiskit { color: var(--text); font-size: .88em; }
.title-festival { color: var(--gold); white-space: nowrap; font-size: .95em; }
.title-period { color: var(--pink); }
h1 .year { display: block; margin-top: 1px; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px #9f9fa8; font-size: .93em; line-height: 1.06; }
.hero-description { font-size: 18px; line-height: 1.65; margin: 29px 0 31px; color: #ceced4; }
.hero-actions { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; }
.text-link { display: flex; align-items: center; gap: 18px; font-size: 14px; }
.hero-visual { min-width: 0; padding-top: 5px; }
.quantum-network { display: block; width: 100%; height: auto; overflow: visible; }
.network-grid path { fill: none; stroke: #ffffff0c; stroke-width: 1; }
.network-traces { fill: none; stroke: url(#network-color); stroke-width: 1.5; opacity: .45; }
.gold-trace { fill: none; stroke: var(--gold); stroke-width: 1.5; opacity: .5; }
.network-pulse { fill: none; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 32 720; animation: signal-travel 7s linear infinite; }
.pulse-blue { stroke: #4589ff; }
.pulse-purple { stroke: #be95ff; animation-delay: -3s; animation-duration: 9s; }
.pulse-gold { stroke: var(--gold); animation-delay: -2s; animation-duration: 8s; }
.network-nodes { fill: #000; stroke: var(--purple); stroke-width: 1.5; }
.gold-nodes { fill: var(--gold); }
.network-beacon { fill: none; stroke: var(--gold); stroke-width: 1; animation: beacon-pulse 4s ease-in-out infinite; }
.hero-date { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 9px 18px; padding: 24px 4px 5px; border-top: 1px solid #ffc90460; }
.hero-date > span { font-family: 'Courier New', monospace; font-size: 12px; letter-spacing: .1em; color: var(--muted); }
.hero-date strong { font-size: clamp(28px, 3vw, 44px); font-weight: 400; letter-spacing: -.035em; color: var(--gold); }
.event-facts { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 30px; padding: 27px 0 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.event-facts > div { display: flex; flex-direction: column; gap: 10px; }
.event-facts > div + div { border-left: 1px solid var(--line); padding-left: 30px; }
.fact-label { font-family: 'Courier New', monospace; font-size: 12px; letter-spacing: .12em; color: var(--muted); }
.event-facts strong { font-size: 17px; line-height: 1.5; font-weight: 400; }
.fact-note { color: var(--muted); font-size: 14px; }
.section-wrap { max-width: 1536px; margin: auto; padding: 91px 5%; scroll-margin-top: 28px; background: var(--black); }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 31px; }
.section-heading .eyebrow { margin: 0; }
.status-tag { display: inline-block; border: 1px solid #ffc90460; color: var(--gold); font-size: 14px; padding: 9px 13px; line-height: 1.4; }
.program-intro { display: grid; grid-template-columns: 1.15fr 1fr; align-items: end; gap: 12%; margin-bottom: 40px; }
h2 { margin: 0; font-size: clamp(32px, 3.7vw, 54px); font-weight: 750; letter-spacing: -.045em; line-height: 1.12; }
h2 em { font-style: normal; color: var(--gold); }
.program-intro > p { margin: 0 0 3px; font-size: 17px; line-height: 1.7; color: var(--muted); max-width: 500px; }
.program-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); }
.program-row { --accent: var(--blue); display: flex; flex-direction: column; padding: 27px 28px 28px; border-top: 3px solid var(--accent); background: var(--black); }
.program-row:nth-child(2) { --accent: var(--purple); }
.program-row:nth-child(3) { --accent: var(--pink); }
.program-row + .program-row { border-left: 1px solid var(--line); }
.session-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 45px; color: var(--accent); }
.session-number { font-family: 'Courier New', monospace; font-size: 12px; letter-spacing: .06em; }
.session-mark { font-family: 'Courier New', monospace; font-size: 28px; }
.session-title h3 { font-size: clamp(23px, 2.4vw, 34px); font-weight: 500; letter-spacing: -.04em; line-height: 1.2; margin: 0 0 24px; max-width: 260px; }
.program-row p { font-size: 16px; line-height: 1.65; margin: 0 0 25px; color: #c6c6ce; }
.program-row p a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.program-row p a:hover { color: var(--gold); }
.program-row .button { align-self: flex-start; gap: 12px; }
.download-note { margin: 8px 0 22px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.session-note { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; line-height: 1.55; }
.program-footnote { font-size: 14px; line-height: 1.65; color: var(--muted); margin: 24px 0 0; }
.schedule { margin-top: 54px; scroll-margin-top: 28px; }
.schedule-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 28px; }
.schedule-heading h3 { margin: 0; font-size: 28px; font-weight: 500; letter-spacing: -.035em; }
.schedule-heading > p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.schedule-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.schedule-day-heading { border-top: 2px solid var(--gold); padding: 23px 0; }
.schedule-day-heading h4 { margin: 0 0 10px; color: var(--gold); font-size: 24px; font-weight: 500; letter-spacing: -.025em; }
.schedule-day-heading p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.schedule-list { list-style: none; margin: 0; padding: 0; }
.schedule-list li { display: grid; grid-template-columns: 165px minmax(0, 1fr); align-items: baseline; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); }
.schedule-time { color: var(--muted); font-family: 'Courier New', monospace; font-size: 13px; line-height: 1.6; font-variant-numeric: tabular-nums; white-space: nowrap; }
.schedule-list p { margin: 0; font-size: 16px; line-height: 1.6; }
.schedule-session { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.schedule-session > p { flex: 1 1 11rem; }
.schedule-session .button { gap: 10px; padding-inline: 14px; }
.attend { padding-top: 16px; }
.attend > .eyebrow { border-top: 1px solid var(--line); padding-top: 53px; }
.attend-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 10%; }
.attend-description { font-size: 17px; line-height: 1.65; margin: 26px 0 32px; max-width: 430px; color: var(--muted); }
.location-line { display: flex; align-items: center; gap: 18px; font-size: 16px; line-height: 1.65; }
.campus-logo { width: 70px; height: auto; flex-shrink: 0; }
.location-line p { margin: 0; }
.location-line strong { font-weight: 500; }
.location-line p > span { font-size: 14px; color: var(--muted); }
.visit-details > div { display: flex; gap: 22px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.visit-details > div:first-child { padding-top: 0; }
.detail-index { display: flex; align-items: center; justify-content: center; flex: 0 0 30px; height: 30px; font-size: 12px; font-family: 'Courier New', monospace; border: 1px solid #ffc90465; color: var(--gold); }
.visit-details h3 { font-size: 20px; line-height: 1.4; font-weight: 500; letter-spacing: -.015em; margin: 0 0 10px; }
.visit-details p { font-size: 16px; line-height: 1.65; margin: 0; color: var(--muted); }
.visit-details .text-link { margin-top: 15px; }
.registration { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 12%; padding-top: 62px; padding-bottom: 64px; border-top: 1px solid #ffc90465; }
.registration h2 { font-size: clamp(36px, 4.2vw, 62px); }
.festival-art { margin-top: 30px; max-width: 340px; }
.festival-artwork { width: 100%; height: auto; object-fit: contain; }
.registration-action { max-width: 420px; border-left: 3px solid var(--gold); padding-left: 32px; }
.registration-status { display: inline-block; font-family: 'Courier New', monospace; text-transform: uppercase; color: var(--gold); font-size: 14px; line-height: 1.5; letter-spacing: .055em; }
.registration-action > p { font-size: 18px; line-height: 1.65; color: #c6c6ce; margin: 21px 0 25px; }
.registration-note { display: block; font-size: 14px; line-height: 1.6; margin-top: 19px; color: var(--muted); }
.footer { max-width: 1536px; margin: auto; display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 26px 5%; border-top: 1px solid var(--line); }
.footer-identity { display: flex; flex-direction: column; gap: 9px; font-size: 14px; color: var(--muted); }
.footer-title { font-size: 18px; color: var(--text); }
.footer-logos { display: flex; align-items: center; gap: 34px; }
.ibm-logo { width: 185px; height: auto; object-fit: contain; }
.qiskit-logo { width: 39px; height: auto; }
.back-top { display: flex; gap: 16px; align-items: center; font-size: 14px; }
.motion-paused * { animation-play-state: paused !important; }
.motion-running .network-pulse, .motion-running .network-beacon { animation-play-state: running !important; }
@keyframes signal-travel { from { stroke-dashoffset: 750; } to { stroke-dashoffset: 0; } }
@keyframes beacon-pulse { 0%,100% { opacity: .25; } 50% { opacity: .9; } }
@media (max-width: 1100px) {
  .header nav { gap: 24px; }
  .hero-grid { grid-template-columns: 1.35fr 1fr; gap: 3%; }
  h1 { font-size: clamp(54px, 6.8vw, 78px); }
  .hero-actions { gap: 23px; }
  .hero-date { justify-content: flex-start; }
  .hero-date > span:last-child { flex-basis: 100%; }
  .program-intro { gap: 7%; }
  .program-row { padding: 23px; }
  .session-title h3 { font-size: 26px; }
  .attend-grid, .registration { gap: 7%; }
}
@media (max-width: 780px) {
  .header { padding: 15px 5%; gap: 15px; }
  .brand { font-size: 13px; gap: 11px; }
  .brand img { width: 34px; }
  .brand-sub { font-size: 12px; max-width: 190px; line-height: 1.4; letter-spacing: .03em; }
  .header nav > a:not(.button) { display: none; }
  .header .button { font-size: 14px; padding: 11px 14px; gap: 15px; }
  .hero { padding-top: 17px; }
  .hero-topline { font-size: 12px; line-height: 1.5; align-items: flex-start; }
  .hero-topline > span { max-width: 220px; }
  .motion-toggle { flex-shrink: 0; font-size: 12px; padding-top: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 25px; padding: 38px 0 30px; }
  h1 { font-size: clamp(52px, 11.5vw, 88px); }
  .eyebrow { margin-bottom: 22px; }
  .hero-description { font-size: 17px; margin: 25px 0; }
  .hero-actions { gap: 23px; }
  .hero-visual { display: grid; grid-template-columns: 1.6fr 1fr; align-items: center; gap: 25px; padding-top: 5px; }
  .quantum-network { max-height: 205px; }
  .hero-date { display: flex; flex-direction: column; gap: 8px; border: 0; border-left: 1px solid #ffc90460; padding: 0 0 0 22px; }
  .hero-date strong { font-size: 31px; }
  .hero-date > span { font-size: 12px; }
  .event-facts { grid-template-columns: 1fr 1fr; gap: 24px 15px; padding: 24px 0; }
  .event-facts > div + div { padding-left: 0; border: 0; }
  .event-facts > div:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .event-facts strong { font-size: 16px; }
  .section-wrap { padding: 57px 5%; }
  .section-heading { align-items: flex-start; gap: 14px; }
  .status-tag { padding: 7px 10px; }
  h2 { font-size: clamp(31px, 6.5vw, 47px); }
  .program-intro { grid-template-columns: 1fr; gap: 23px; margin-bottom: 30px; }
  .program-intro > p { font-size: 16px; max-width: none; }
  .program-list { grid-template-columns: 1fr; border: 0; }
  .program-row { padding: 25px; border: 1px solid var(--line); border-top: 3px solid var(--accent); }
  .program-row + .program-row { margin-top: 18px; }
  .session-top { margin-bottom: 24px; }
  .session-title h3 { font-size: 29px; max-width: none; }
  .schedule { margin-top: 40px; }
  .schedule-heading h3 { font-size: 26px; }
  .schedule-grid { grid-template-columns: 1fr; gap: 30px; }
  .schedule-list li { grid-template-columns: 155px minmax(0, 1fr); gap: 14px; }
  .schedule-time { font-size: 12px; }
  .attend { padding-top: 0; }
  .attend > .eyebrow { padding-top: 37px; }
  .attend-grid { grid-template-columns: 1fr; gap: 37px; }
  .attend-description { font-size: 16px; max-width: none; }
  .campus-logo { width: 65px; }
  .visit-details h3 { font-size: 19px; }
  .registration { grid-template-columns: 1fr; gap: 40px; }
  .registration h2 { font-size: 43px; }
  .festival-art { max-width: 300px; }
  .registration-action { max-width: none; padding-left: 23px; }
  .registration-action > p { font-size: 17px; }
  .footer { padding: 25px 5%; flex-wrap: wrap; gap: 24px; }
  .footer-identity { font-size: 12px; }
  .footer-title { font-size: 16px; }
  .footer-logos { gap: 24px; }
  .ibm-logo { width: 155px; }
  .qiskit-logo { width: 32px; }
}
@media (max-width: 390px) {
  .brand-sub { max-width: 145px; }
  .brand { font-size: 12px; }
  .brand img { width: 29px; }
  .header { gap: 9px; }
  .hero-topline > span { max-width: 170px; }
  .hero-visual { gap: 12px; }
  .hero-date { padding-left: 14px; }
  .hero-date strong { font-size: 27px; }
  .status-tag { max-width: 115px; }
  .schedule-list li { grid-template-columns: 1fr; gap: 6px; padding: 17px 0; }
  .registration h2 { font-size: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  * { transition: none !important; }
  .network-pulse, .network-beacon { animation-play-state: paused; }
}
@media (forced-colors: active) {
  h1 .year { color: CanvasText; -webkit-text-stroke: 0; }
}
