/* RC Models — retro late-90s hobby website */
:root {
  --blue: #087bff;
  --blue-bright: #168cff;
  --ink: #05080d;
  --panel: #05090f;
  --text: #dbe8ff;
  --muted: #9bb4d7;
  --line: #087bff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 22px 14px;
  color: var(--text);
  background-color: #101923;
  background-image: radial-gradient(#34475a 1px, transparent 1px), linear-gradient(135deg, #17232d, #05090f);
  background-size: 7px 7px, auto;
  font-family: Verdana, Arial, sans-serif;
  line-height: 1.5;
}
a { color: var(--blue-bright); text-decoration: underline; font-weight: bold; }
a:hover, a:focus { color: #fff; background: #064eaa; }
.site { max-width: 1280px; margin: 0 auto; }

.masthead {
  display: grid;
  grid-template-columns: 1fr 2.1fr 1fr;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 4px solid var(--line);
  background: #020407;
  box-shadow: 0 0 0 3px #000;
  text-align: center;
}
.brand h1 {
  margin: 0;
  color: var(--blue);
  font: italic 900 clamp(2.3rem, 5vw, 4.6rem)/1 Impact, "Arial Black", sans-serif;
  letter-spacing: 3px;
  text-shadow: 3px 3px 0 #00265e;
}
.eyebrow { margin: 0 0 4px; color: var(--muted); font: bold 0.7rem monospace; letter-spacing: 3px; }
.categories { margin: 7px 0 0; font: bold italic clamp(.9rem, 2vw, 1.3rem) Georgia, serif; }
.categories span, .hero figcaption span { color: var(--blue); padding: 0 7px; }
.tagline { margin: 6px 0 0; color: var(--blue-bright); font-weight: bold; font-style: italic; }
.masthead-art { font-size: clamp(2.7rem, 6vw, 5.5rem); filter: drop-shadow(2px 3px 0 #004caa); }

.columns {
  display: grid;
  grid-template-columns: minmax(190px, 0.9fr) minmax(0, 1.8fr) minmax(230px, 0.9fr);
  margin-top: 12px;
  border: 4px solid var(--line);
  background: var(--ink);
  box-shadow: 0 0 0 3px #000;
}
.sidebar, .main-content { min-width: 0; padding: 18px; }
.left-sidebar { border-right: 4px solid var(--line); }
.right-sidebar { border-left: 4px solid var(--line); }
h2, h3 { color: var(--blue-bright); font-family: "Courier New", monospace; line-height: 1.2; }
.main-content > h2 { margin: 0 0 14px; font-size: clamp(1.5rem, 2.5vw, 2.1rem); }
.main-content > p { margin-top: 0; }
.side-title { margin: 0 0 12px; padding: 7px 10px; color: #02060c; background: linear-gradient(#168cff, #0056c8); font-size: 1.1rem; }
nav { display: grid; gap: 10px; }
nav a { display: flex; align-items: center; gap: 12px; font-size: 1.05rem; }
nav a span { width: 28px; font-size: 1.35rem; text-align: center; text-decoration: none; }
hr { border: 0; border-top: 3px solid var(--line); margin: 20px 0; }
.construction { padding: 8px 0 14px; color: #ffe500; text-align: center; font-family: "Courier New", monospace; }
.warning { margin-bottom: 8px; font-size: 3.1rem; }
.construction p { margin: 5px 0; font-weight: bold; }
.counter { margin-top: 18px; text-align: center; }
.counter-digits { display: inline-block; padding: 2px 6px; border: 2px inset #8b9aaa; background: #111; color: #fff; font: bold 1.25rem "Courier New", monospace; letter-spacing: 4px; }
.counter small { display: block; margin-top: 7px; font-family: monospace; }

.hero { margin: 18px 0 28px; }
.hero img { display: block; width: 100%; max-height: 300px; object-fit: cover; border: 2px solid #263b56; }
.hero figcaption { padding-top: 7px; color: var(--blue-bright); text-align: center; font: italic bold 1.1rem "Courier New", monospace; }
.main-content h3 { margin-bottom: 10px; font-size: 1.25rem; }
.feature-list, .news, .link-list { padding-left: 20px; }
.feature-list { list-style: "▶  "; }
.feature-list li { padding: 3px 0 3px 5px; }
.feature-list a { color: var(--text); text-decoration: none; font-weight: normal; }
.feature-list a:hover { color: var(--blue-bright); text-decoration: underline; }
.hobby-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.hobby-grid article { border: 1px solid #075fc7; padding: 12px; background: #080f19; }
.hobby-grid h3 { margin: 0 0 6px; font-size: 1rem; }
.hobby-grid p { margin: 0; color: var(--muted); font-size: .9rem; }
.signoff { margin: 26px 0 0 !important; padding-top: 14px; border-top: 2px solid var(--line); text-align: center; color: var(--blue-bright); font-weight: bold; font-style: italic; }
.right-sidebar section { margin-bottom: 18px; }
.news { margin-top: 0; }
.news li { padding: 0 0 12px 2px; }
.news time { display: block; color: var(--muted); font-size: .85rem; }
.link-list { margin-bottom: 0; }
.side-photo { margin: 18px 0; }
.side-photo img { display: block; width: 100%; height: 145px; object-fit: cover; border: 2px solid #263b56; }
.side-photo figcaption { padding-top: 6px; color: var(--blue-bright); text-align: center; font-size: .85rem; font-weight: bold; }
.newsletter p { font-size: .9rem; }
footer { padding: 10px 14px; color: var(--muted); text-align: center; font-size: .8rem; }
footer p { margin: 4px 0; }

@media (max-width: 900px) {
  .masthead { grid-template-columns: 1fr; }
  .masthead-art { display: none; }
  .columns { grid-template-columns: 200px minmax(0, 1fr); }
  .left-sidebar { border-right: 4px solid var(--line); }
  .right-sidebar { grid-column: 1 / -1; border-left: 0; border-top: 4px solid var(--line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .side-photo { margin-top: 0; }
}
@media (max-width: 600px) {
  body { padding: 10px 7px; }
  .masthead { padding: 18px 10px; }
  .brand h1 { font-size: 2.4rem; }
  .columns { grid-template-columns: 1fr; }
  .left-sidebar, .right-sidebar { border: 0; border-bottom: 4px solid var(--line); }
  .left-sidebar nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .main-content { grid-row: 1; }
  .left-sidebar { grid-row: 2; }
  .right-sidebar { grid-row: 3; grid-template-columns: 1fr; border-top: 0; }
  .hobby-grid { grid-template-columns: 1fr; }
}
