:root {
  color-scheme: light;
  --page: #008080;
  --paper: #ffffcc;
  --panel: #c0c0c0;
  --panel-light: #ffffff;
  --panel-dark: #404040;
  --ink: #000000;
  --link: #0000ee;
  --visited: #551a8b;
  --hot: #ff00ff;
  --cyan: #00ffff;
  --yellow: #ffff00;
  --red: #ff0000;
  font-family: "Times New Roman", Times, serif;
}

* {
  box-sizing: border-box;
}

html {
  background:
    linear-gradient(45deg, rgba(255, 255, 255, 0.16) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.16) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(0, 0, 0, 0.12) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(0, 0, 0, 0.12) 75%),
    var(--page);
  background-position: 0 0, 0 10px, 10px -10px, -10px 0;
  background-size: 20px 20px;
}

body {
  width: min(960px, calc(100% - 18px));
  margin: 10px auto;
  border: 6px ridge var(--panel);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.35;
}

a {
  color: var(--link);
  font-weight: bold;
}

a:visited {
  color: var(--visited);
}

.site-header,
.site-footer,
main {
  width: auto;
  margin: 0;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px;
  border-bottom: 4px ridge var(--panel);
  background: var(--panel);
}

.brand,
.nav,
.hero-actions,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 8px;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  text-decoration: none;
  text-shadow: 1px 1px 0 var(--panel-light);
}

.brand-mark {
  width: 38px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 3px outset var(--panel);
  background: var(--yellow);
  color: var(--red);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.88rem;
  font-weight: 900;
}

.nav {
  flex-wrap: wrap;
  gap: 6px;
}

.nav a,
.button {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 3px outset var(--panel);
  background: var(--panel);
  color: var(--link);
  padding: 3px 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: underline;
}

.nav a:active,
.button:active {
  border-style: inset;
}

main {
  padding: 8px;
}

.marquee-box {
  border: 4px double var(--hot);
  background:
    repeating-linear-gradient(90deg, rgba(255, 0, 255, 0.16), rgba(255, 0, 255, 0.16) 10px, rgba(0, 255, 255, 0.18) 10px, rgba(0, 255, 255, 0.18) 20px),
    var(--paper);
}

.hero {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 280px;
  gap: 12px;
  align-items: stretch;
  padding: 10px;
}

.hero-copy {
  max-width: none;
  padding: 10px;
  border: 3px inset var(--panel);
  background: #ffffff;
}

.eyebrow {
  margin: 0 0 10px;
  display: inline-block;
  border: 2px dashed var(--red);
  background: var(--yellow);
  color: var(--red);
  padding: 2px 6px;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  color: var(--hot);
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: clamp(2.2rem, 7vw, 4.8rem);
  font-weight: 900;
  line-height: 0.95;
  max-width: 12ch;
  text-shadow: 2px 2px 0 var(--cyan), 4px 4px 0 var(--ink);
}

h2 {
  margin-bottom: 0;
  color: var(--red);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1;
  text-shadow: 1px 1px 0 var(--yellow);
}

h3 {
  margin-bottom: 8px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  line-height: 1.15;
}

.lede {
  max-width: 620px;
  color: var(--ink);
  font-size: 1.2rem;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.button.primary {
  background: var(--yellow);
  color: var(--red);
}

.button.ghost {
  background: var(--cyan);
}

.visual-panel {
  min-height: 300px;
  margin: 0;
  display: grid;
  place-items: center;
  border: 3px outset var(--panel);
  background:
    radial-gradient(circle at 50% 42%, rgba(0, 255, 0, 0.28), transparent 34%),
    #000080;
  overflow: hidden;
}

.screen-asset {
  position: relative;
  width: min(82%, 240px);
  aspect-ratio: 1.05 / 1;
  border: 8px ridge var(--panel);
  background: #000000;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.55);
}

.screen-asset::before {
  content: "WELCOME";
  position: absolute;
  inset: 18px 16px auto;
  color: #00ff00;
  font-family: "Courier New", Courier, monospace;
  font-size: 1.4rem;
  font-weight: 900;
  text-align: center;
}

.screen-asset::after {
  content: "";
  position: absolute;
  left: 32%;
  right: 32%;
  bottom: -34px;
  height: 28px;
  border: 5px outset var(--panel);
  background: var(--panel);
}

.screen-line,
.screen-dot {
  position: absolute;
  display: block;
}

.screen-line {
  left: 14%;
  height: 8px;
  background: #00ff00;
}

.screen-line.wide {
  top: 42%;
  width: 70%;
}

.screen-line:not(.wide):not(.short) {
  top: 54%;
  width: 56%;
}

.screen-line.short {
  top: 66%;
  width: 42%;
}

.screen-dot {
  width: 14px;
  height: 14px;
  background: var(--hot);
}

.screen-dot.one {
  left: 18%;
  top: 78%;
}

.screen-dot.two {
  left: 36%;
  top: 78%;
  background: var(--cyan);
}

.screen-dot.three {
  left: 54%;
  top: 78%;
  background: var(--yellow);
}

.section-band {
  margin-top: 10px;
  padding: 10px;
  border: 4px ridge var(--panel);
  background: #ffffff;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 3px double var(--ink);
}

.post-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.post-card {
  min-height: 190px;
  padding: 10px;
  border: 3px outset var(--panel);
  background: #e6e6e6;
}

.post-card time {
  display: inline-block;
  margin-bottom: 16px;
  border: 2px inset var(--panel);
  background: #ffffff;
  color: var(--ink);
  padding: 2px 5px;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.84rem;
}

.post-card p,
.focus-list {
  color: var(--ink);
}

.work-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 12px;
  margin-top: 10px;
  padding: 10px;
  border: 4px ridge var(--panel);
  background: #ffffff;
}

.focus-list {
  margin: 0;
  padding: 10px 10px 10px 32px;
  border: 3px inset var(--panel);
  background: #ffffee;
  font-size: 1.08rem;
}

.focus-list li + li {
  margin-top: 10px;
}

.site-footer {
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  padding: 8px;
  border-top: 4px ridge var(--panel);
  background: var(--panel);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

.article-page {
  padding: 12px;
  border-top: 0;
}

.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 12px;
  border: 4px ridge var(--panel);
  background: #ffffff;
}

.article h1 {
  max-width: 12ch;
  font-size: clamp(2.2rem, 7vw, 4.5rem);
}

.article p:not(.eyebrow):not(.lede) {
  color: var(--ink);
  font-size: 1.12rem;
}

@media (max-width: 760px) {
  body {
    width: calc(100% - 10px);
    margin-block: 5px;
    border-width: 4px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .work-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 11ch;
  }

  .visual-panel {
    min-height: 260px;
  }

  .post-list {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .nav,
  .hero-actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .nav a,
  .button {
    width: 100%;
  }
}
