/* Layout modelled on thisman.org: fixed left branding column, textured grey content area, right widget column. */
:root {
  --side: 270px;
  --brand-bg: #5f5f5f;
  --text: #555;
  --heading: #333;
  --link: #666;
  --area: #efefef;
  --rule: #dcdcdc;
  --font: "Open Sans", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font: 15px/1.67 var(--font);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--link); }
a:hover { color: #222; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; z-index: 10; background: #fff; padding: 6px 10px; }

/* ---------- left column ---------- */
.left {
  position: fixed; top: 0; left: 0; bottom: 0; width: var(--side);
  background: #fff; overflow-y: auto; z-index: 5;
  box-shadow: 0 0 8px rgba(0, 0, 0, .18);
}

.branding { background: var(--brand-bg); text-align: center; padding: 20px 22px; }
.branding .portrait { display: block; width: 200px; margin: 0 auto 4px; background: #fff; }
.site-title {
  display: block; margin: 0;
  font: 800 36px/1.03 var(--font); color: #fff; text-transform: uppercase;
  text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 3px;
  letter-spacing: .02em;
}
.site-title:hover { color: #fff; }
.site-desc {
  margin: 4px 0 0; color: #ddd;
  font: 400 14px/1.05 var(--font); text-transform: uppercase;
}

.left-nav ul { list-style: none; margin: 0; padding: 22px 20px; }
.left-nav li { margin: 0 0 9px; }
.left-nav a { font-size: 15px; text-transform: uppercase; color: #777; }
.left-nav a[aria-current="page"] { color: #222; }

.menu-toggle, .menu-btn { display: none; }

/* ---------- right side ---------- */
.page { margin-left: var(--side); min-height: 100vh; display: flex; flex-direction: column; }

.title-band {
  background: #fff; border-bottom: 1px solid var(--rule);
  min-height: 178px; display: flex; align-items: center; justify-content: center; padding: 30px 20px;
}
.title-band h1 { margin: 0; font: 400 20px/1.3 var(--font); text-transform: uppercase; color: var(--heading); }

.area {
  flex: 1;
  background-color: var(--area);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 50px;
  padding: 50px 35px 60px;
}

.content { max-width: 690px; }
.content p { margin: 0 0 24px; }
.home .content { font-size: 18px; line-height: 1.5; }
.home .content p { margin-bottom: 20px; }
.content h2 { font: 400 20px/1.3 var(--font); color: var(--heading); text-transform: uppercase; margin: 34px 0 10px; }
.content h2:first-child { margin-top: 0; }
.content hr { border: 0; border-top: 1px solid var(--rule); margin: 40px 0 0; }
.content strong { color: #444; }

/* galleries (portraits, in the world, fan art, download) */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; margin: 0 0 24px; }
.gallery figure { margin: 0; background: #fff; padding: 8px; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; }
.gallery figcaption { font-size: 13px; line-height: 1.45; margin-top: 6px; }

/* news posts */
.post { background: #fff; padding: 20px 22px; margin: 0 0 22px; box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.post h2 { margin: 0 0 2px; font-size: 19px; text-transform: none; }
.post .meta { font-size: 13px; color: #999; margin: 0 0 10px; }
.post p { margin: 0 0 10px; }
.post img { margin: 0 0 12px; max-height: 340px; width: auto; }

/* live entries */
.entry { border-bottom: 1px solid var(--rule); padding: 0 0 14px; margin: 0 0 18px; }
.entry p { margin: 0 0 4px; white-space: pre-line; font-style: italic; }
.entry cite { font-size: 13px; color: #999; font-style: normal; }
.live-status { color: #999; font-size: 14px; }

.button {
  display: inline-block; background: var(--brand-bg); color: #fff; text-decoration: none;
  padding: 9px 16px; font-size: 14px; text-transform: uppercase; border-radius: 2px;
}
.button:hover { background: #333; color: #fff; }

/* right widgets */
.widgets { font-size: 14px; }
.widget { margin: 0 0 36px; }
.widget h3 { margin: 0 0 12px; font: 400 17px/1.3 var(--font); color: var(--heading); text-transform: uppercase; }
.widget h3 a { color: var(--heading); }
.widget ul { margin: 0; padding-left: 15px; }
.widget li { margin: 0 0 2px; }
.widget.plain ul { list-style: none; }
.widget a { color: var(--text); }
.widget.menu a { text-transform: uppercase; }
.social { display: grid; grid-template-columns: repeat(2, 44px); gap: 22px 26px; padding: 18px 0 0 14px; }
.social svg { width: 40px; height: 40px; fill: #666; }
.social a:hover svg { fill: #222; }

/* ---------- footer ---------- */
.footer {
  background: #fff; border-top: 1px solid var(--rule);
  text-align: center; padding: 30px 20px 40px;
  font: italic 13px/1.5 Georgia, "Times New Roman", serif; color: #777;
}
.footer a { color: #777; }
.footer .parody { display: block; margin-top: 6px; font-size: 12px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .area { grid-template-columns: 1fr; gap: 20px; }
  .widgets .widget.menu { display: none; }
}

@media (max-width: 760px) {
  .left { position: static; width: auto; box-shadow: none; }
  .page { margin-left: 0; min-height: 0; }
  .branding { padding: 16px; }
  .branding .portrait { width: 150px; }
  .site-title { font-size: 30px; }
  .menu-btn {
    display: block; cursor: pointer; text-align: center; padding: 12px;
    text-transform: uppercase; font-size: 14px; color: #555; border-bottom: 1px solid var(--rule);
  }
  .left-nav ul { display: none; padding: 12px 16px; text-align: center; }
  .menu-toggle:checked ~ ul { display: block; }
  .title-band { min-height: 0; padding: 26px 16px; }
  .area { padding: 30px 16px 40px; }
  .home .content { font-size: 17px; }
}

/* forms (contact, guestbook) */
.form { display: grid; gap: 14px; max-width: 520px; margin: 0 0 30px; }
.form label { display: grid; gap: 4px; font-size: 14px; }
.form input, .form textarea {
  font: 15px/1.5 var(--font); color: #333; padding: 8px 10px;
  border: 1px solid #ccc; background: #fff; border-radius: 0; width: 100%;
}
.form button { justify-self: start; border: 0; cursor: pointer; font-family: var(--font); }

.gallery.flyers img { aspect-ratio: 248 / 351; }
.content > a > img, .post > a > img { margin: 0 0 16px; }
.content .meta { font-size: 13px; color: #999; margin: 0 0 14px; }
.post h2 a { color: var(--heading); text-decoration: none; }

del { text-decoration: line-through; text-decoration-thickness: 2px; }
