:root {
  --paper: #f7efde;
  --ink: #192440;
  --terminal: #1b2542;
  --orange: #fc6636;
  --rule: #667082;
  --gutter: clamp(1.25rem, 4.5vw, 3.75rem);
  --mono: "DejaVu Sans Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--mono); }
figure, h1, h2, h3, p { margin: 0; }
a { color: inherit; text-underline-offset: .23em; }
a:focus-visible, summary:focus-visible { outline: .17rem solid currentColor; outline-offset: .25rem; }
.shell { width: min(calc(100% - 2 * var(--gutter)), 73rem); margin-inline: auto; }
.skip { position: absolute; padding: .75rem; background: var(--paper); transform: translateY(-150%); }
.skip:focus { z-index: 1; transform: translateY(0); }

.masthead { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.masthead { padding-block: clamp(1rem, 2.2vw, 1.8rem); border-bottom: 2px solid var(--ink); }
.wordmark { font-size: clamp(1.65rem, 5vw, 3.4rem); font-weight: 800; line-height: 1; letter-spacing: -.085em; text-decoration: none; white-space: nowrap; }
nav { display: flex; gap: clamp(.95rem, 4vw, 2.8rem); font-size: .9rem; font-weight: 700; text-transform: uppercase; }
nav a { text-decoration: none; }
nav a:hover, .wordmark:hover { text-decoration: underline; }

.hero { display: grid; align-items: center; grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr); gap: clamp(.65rem, 2.2vw, 2rem); padding-block: 1.25rem; }
.terminal { padding: .21rem; border: 2px solid var(--ink); background: var(--paper); }
.titlebar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: var(--terminal); color: var(--paper); padding: .2rem .35rem .2rem .7rem; font-size: .9rem; line-height: 1.4; font-weight: 700; }
.window-marks { display: flex; gap: .2rem; }
.window-marks span { display: grid; place-items: center; width: 1rem; height: 1rem; background: var(--paper); color: var(--ink); line-height: 1; }
.terminal-body { margin-top: .18rem; padding: clamp(1rem, 2.5vw, 2rem); background: var(--terminal); color: var(--paper); }
.terminal h1 { font-size: clamp(1.8rem, 4.15vw, 3.5rem); line-height: 1.08; letter-spacing: -.08em; text-wrap: balance; }
.cursor { display: inline-block; margin-left: .18em; width: .29em; height: .48em; background: var(--orange); vertical-align: -.04em; }
.terminal p { max-width: 30ch; margin-block: 1rem 1.3rem; font-size: clamp(1rem, 1.8vw, 1.35rem); line-height: 1.4; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.05rem; }
.text-action { font-size: .94rem; font-weight: 700; }
.text-action:hover { color: var(--orange); }
.button { display: inline-flex; min-height: 2.65rem; align-items: center; padding: .4rem .8rem; background: var(--orange); color: var(--ink); font-weight: 800; text-decoration: none; }
.button:hover { background: var(--paper); }
.button:focus-visible { outline-color: var(--paper); }
.computer { position: relative; margin: 0; }
.computer > img { display: block; width: 100%; height: auto; }
.monitor-screen {
  position: absolute;
  left: 24%;
  top: 18%;
  width: 36%;
  height: 32%;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at 50% 50%, #101a38 75%, #101a38d9 92%, transparent 100%);
  clip-path: polygon(13% 7%, 97% 0, 100% 11%, 94% 85%, 85% 92%, 11% 100%, 0 88%, 4% 22%);
}
.monitor-screen img {
  display: block;
  width: 86%;
  height: auto;
  transform: translate(-3%, -5%) skew(-5deg, -5deg);
  mix-blend-mode: lighten;
}

.section-row { display: grid; grid-template-columns: minmax(8rem, .23fr) minmax(0, 1fr); padding-block: 1.4rem; gap: 1.15rem 2rem; border-top: 1px solid var(--ink); }
.section-row h2 { font-size: clamp(1rem, 1.8vw, 1.25rem); line-height: 1.3; text-transform: uppercase; }
.event-board, .section-copy { padding-left: clamp(1rem, 3vw, 2.15rem); border-left: 1px solid var(--ink); }
.event-list { margin: 0; padding: 0; list-style: none; }
.event { position: relative; display: flex; justify-content: space-between; align-items: baseline; gap: .35rem 1.5rem; padding: .65rem 0 .65rem 1.1rem; border-bottom: 1px solid var(--rule); }
.event::before { position: absolute; top: 1.05rem; left: 0; content: ""; width: .52rem; height: .52rem; background: var(--orange); }
.event:first-child { padding-top: 0; }
.event:first-child::before { top: .43rem; }
.event h3 { font-size: 1.04rem; line-height: 1.4; }
.event p { margin-top: .2rem; font-size: .88rem; }
.event time { flex: none; text-align: right; font-size: .88rem; }
.event time span { display: block; }
#past-events { margin-top: .75rem; }
#past-events summary { width: fit-content; cursor: pointer; font-size: .94rem; font-weight: 700; }
#past-events .event-list { margin-top: .65rem; }
.section-copy p { max-width: 66ch; }
.section-copy p + p { margin-top: .6rem; }


@media (max-width: 48rem) {
  .hero { grid-template-columns: 1fr; gap: 1rem; }
  .terminal h1 { font-size: clamp(1.8rem, 6.8vw, 3rem); }
  .computer { width: min(100%, 23rem); margin-inline: auto; }
  .section-row { grid-template-columns: 1fr; gap: .8rem; }
  .event-board, .section-copy { border-left: 0; padding-left: 0; }
}
@media (max-width: 33rem) {
  .masthead { flex-wrap: wrap; }
  .masthead { align-items: flex-start; }
  .event { flex-wrap: wrap; }
  .event time { text-align: left; }
  .event time span { display: inline; }
}

/* Both sections stay in the document, Events before Community. */
html { scroll-behavior: auto; scroll-padding-top: 1.5rem; }
.monitor-screen {
  left: 20.4%; top: 12.6%; width: 53.2%; height: 39%;
  display: flex; align-items: center; justify-content: center;
  background: none; clip-path: none; overflow: visible;
}
.computer { container-type: inline-size; }
.monitor-menu {
  position: static; inset: auto; width: 81%;
  display: flex; flex-direction: column; align-items: stretch;
  gap: .55rem; transform: none; line-height: 1.3;
  font-size: clamp(.8rem, 3.5cqw, 1.12rem);
  text-transform: none; font-weight: 700;
}
.monitor-menu a {
  display: flex; align-items: center; min-height: 2.2em;
  padding: .35em .55em; text-decoration: none;
  color: #ffd99c; background: transparent;
  border: 1px solid #ffd99c80;
}
.monitor-menu a::before { content: '>'; margin-right: .6em; }
.monitor-menu a:hover, .monitor-menu a:focus-visible {
  background: #ffd99c; color: #192440;
}
.monitor-menu a:focus-visible { outline: 2px solid #ffd99c; outline-offset: 4px; }
.community-copy h3 { font-size: clamp(1.3rem, 2.1vw, 1.65rem); line-height: 1.35; letter-spacing: -.045em; margin-bottom: 1rem; max-width: 34ch; }
.community-copy p { max-width: 65ch; line-height: 1.75; }
.community-copy p + p { margin-top: .9rem; }
.community-join { margin-top: 1.35rem; }
.community-join p { margin-top: .75rem; font-size: .82rem; max-width: 60ch; }
.community-join .button:hover { background: var(--ink); color: var(--paper); }
.community-join .button:focus-visible { outline-color: var(--ink); }

/* Quiet riverfront layer behind the original composition. */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
  right: -4%;
  top: 7%;
  width: 85%;
  height: 84%;
  background: url('/assets/austin-riverfront-backdrop.webp') center / contain no-repeat;
  opacity: .065;
}
@media (max-width: 48rem) {
  .hero::before { top: auto; bottom: 4%; right: -12%; width: 124%; height: 48%; opacity: .06; }
}

/* The same riverfront, softly lit inside the CRT. */
.monitor-screen::before {
  content: '';
  position: absolute;
  inset: 38% 3% 5%;
  pointer-events: none;
  background-color: #ffd99c;
  -webkit-mask: url('/assets/austin-riverfront-backdrop.webp') center bottom / contain no-repeat;
  mask: url('/assets/austin-riverfront-backdrop.webp') center bottom / contain no-repeat;
  opacity: .16;
}
.monitor-menu { position: relative; z-index: 1; }
.monitor-menu a { background-color: #192440c9; }
.monitor-menu a:hover, .monitor-menu a:focus-visible { background-color: #ffd99c; }

.site-footer { padding-block: 1.4rem 2rem; border-top: 1px solid var(--ink); font-size: .82rem; }
.faq h3 { font-size: 1.04rem; line-height: 1.4; }
.faq h3:not(:first-child) { margin-top: 1.1rem; }
.faq p { margin-top: .25rem; }
