@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,600;0,6..72,700;1,6..72,400&family=UnifrakturMaguntia&display=swap");

:root {
  /* Browns — deeper base, restrained mid accents */
  --page-bg: #251e18;
  --page-bg-elevated: #2e261f;
  --brown-mid: #5c4d40;
  --brown-mid-soft: #4a3e34;
  --brown-mid-deep: #352b24;
  --brown-shadow: #1a1510;
  --brown-void: #14100c;
  --panel: #c4b8a8;
  --panel-edge: #9e8f7c;
  --ink: #1e1812;
  --ink-soft: #3d332a;
  --rust: #6b2f22;
  --rust-hover: #8a3d2c;
  --link: #1e4d8c;
  --link-hover: #9b2d2d;
  /* Accent palette — green, red, blue, yellow */
  --accent-green: #1e6f5c;
  --accent-green-soft: rgba(30, 111, 92, 0.12);
  --accent-red: #a63c3c;
  --accent-red-soft: rgba(166, 60, 60, 0.1);
  --accent-blue: #2563ab;
  --accent-blue-soft: rgba(37, 99, 171, 0.1);
  --accent-yellow: #b8860b;
  --accent-yellow-soft: rgba(184, 134, 11, 0.1);
  --nav-beige: #d8cfc4;
  --nav-beige-mid: #cdc3b6;
  --nav-beige-edge: #beb3a5;
  --content-panel-bg: rgba(228, 220, 206, 0.97);
  --content-panel-border: rgba(28, 22, 18, 0.22);
  --frame-outer: var(--brown-mid-deep);
  --frame-mid: #332a23;
  --frame-highlight: rgba(90, 78, 66, 0.32);
  --frame-rail: var(--brown-shadow);
  --frame-inset: rgba(20, 16, 12, 0.52);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Newsreader", Georgia, serif;
  font-size: 16px;
  text-align: center;
  background: var(--page-bg);
  color: var(--ink);
  line-height: 1.55;
  padding: 16px clamp(6px, 2vw, 14px) 28px;
  border-left: 5px solid var(--frame-rail);
  border-right: 5px solid var(--frame-rail);
  box-shadow:
    inset 6px 0 0 rgba(70, 60, 50, 0.18),
    inset -6px 0 0 rgba(70, 60, 50, 0.18),
    inset 7px 0 0 var(--frame-inset),
    inset -7px 0 0 var(--frame-inset);
}

td,
th {
  font-size: inherit;
  text-align: left;
  line-height: 1.5;
}

#wrapper {
  margin: 0 auto;
  text-align: left;
  width: 100%;
  max-width: 1180px;
  min-height: calc(100vh - 48px);
  position: relative;
  padding: 10px clamp(8px, 2vw, 20px) 0;
  border-left: 2px solid var(--brown-mid-soft);
  border-right: 2px solid var(--brown-mid-soft);
  box-shadow:
    inset 1px 0 0 rgba(70, 60, 50, 0.28),
    inset -1px 0 0 rgba(70, 60, 50, 0.28);
}

#body {
  width: 100%;
  background: linear-gradient(145deg, #373028 0%, var(--page-bg-elevated) 42%, var(--page-bg) 100%);
  border: 2px solid var(--frame-outer);
  border-top-color: var(--brown-mid-soft);
  border-left-color: #494038;
  border-right-color: var(--brown-mid-deep);
  border-bottom-color: var(--brown-void);
  outline: 1px solid rgba(70, 60, 50, 0.38);
  outline-offset: -5px;
  box-shadow:
    inset 0 1px 0 var(--frame-highlight),
    inset 0 0 0 1px rgba(50, 42, 36, 0.5),
    0 1px 0 rgba(70, 60, 50, 0.22),
    0 6px 0 var(--brown-shadow),
    0 10px 28px rgba(0, 0, 0, 0.48);
}

#bodyi {
  width: 100%;
  background: none;
}

/* Inner parchment column + grid — chiseled inset slab */
#bodyj {
  display: grid;
  grid-template-columns: minmax(220px, 32%) minmax(0, 1fr);
  column-gap: 18px;
  row-gap: 0;
  align-items: stretch;
  background:
    linear-gradient(180deg, var(--accent-green-soft) 0%, transparent 28%),
    linear-gradient(225deg, var(--accent-blue-soft) 0%, transparent 35%),
    linear-gradient(168deg, #d2c9bb 0%, var(--panel) 45%, #b5a896 100%);
  border: 2px solid #584a3e;
  border-top-color: #e2d9ce;
  border-left-color: #dcd2c6;
  border-right-color: #6e5f50;
  border-bottom-color: #4a3f36;
  padding: 20px clamp(14px, 2.5vw, 22px) 24px;
  margin: 6px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    inset 2px 2px 4px rgba(255, 255, 255, 0.38),
    inset -3px -4px 8px rgba(28, 22, 18, 0.16),
    0 0 0 1px rgba(45, 38, 32, 0.45),
    0 4px 12px rgba(0, 0, 0, 0.22);
}

h1,
h2,
h3,
#nav,
#nav li {
  margin: 0;
  padding: 0;
}

.wordmark {
  position: static;
  text-align: center;
  margin: 0;
  padding: 14px 16px 16px;
  border: 2px solid var(--frame-outer);
  border-radius: 6px 6px 0 0;
  border-bottom-width: 1px;
  background: linear-gradient(180deg, #43392f 0%, var(--frame-mid) 45%, var(--brown-shadow) 100%);
  box-shadow:
    inset 0 1px 0 var(--frame-highlight),
    inset 0 0 0 1px rgba(40, 34, 28, 0.7),
    inset 0 -1px 0 rgba(20, 16, 12, 0.55);
}

.wordmark a {
  font-family: "UnifrakturMaguntia", Georgia, serif;
  font-size: clamp(2.1rem, 5vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
  color: #f0e4ca !important;
  text-decoration: none !important;
  text-shadow:
    1px 1px 0 var(--brown-shadow),
    2px 2px 0 var(--brown-void),
    0 0 6px rgba(255, 236, 200, 0.9),
    0 0 18px rgba(232, 200, 120, 0.75),
    0 0 32px rgba(201, 162, 58, 0.55),
    0 0 48px rgba(180, 130, 60, 0.3),
    0 12px 20px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.02em;
}

.wordmark a:hover {
  color: #fff8e8 !important;
  text-shadow:
    1px 1px 0 var(--brown-shadow),
    2px 2px 0 var(--brown-void),
    0 0 8px rgba(255, 248, 220, 1),
    0 0 22px rgba(255, 220, 150, 0.85),
    0 0 40px rgba(232, 190, 90, 0.65),
    0 0 56px rgba(201, 162, 58, 0.4),
    0 12px 20px rgba(0, 0, 0, 0.4);
}

#nav {
  font-family: Georgia, serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  position: static;
  line-height: 1.3;
  padding: 12px 16px 14px;
  margin: 0 0 18px;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 8px;
  width: 100%;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(180deg, #e2dbd2 0%, var(--nav-beige) 40%, var(--nav-beige-mid) 100%);
  border: 2px solid var(--frame-outer);
  border-top: 1px solid rgba(230, 222, 212, 0.65);
  border-left-color: #f0ebe4;
  border-right-color: #b5a898;
  border-bottom-color: var(--brown-mid-deep);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 2px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(28, 22, 18, 0.1),
    inset 2px 0 0 rgba(255, 255, 255, 0.1),
    inset -2px 0 0 rgba(60, 50, 42, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.14),
    0 0 0 1px rgba(60, 50, 42, 0.5);
}

#nav li {
  float: none;
  width: auto;
  list-style: none;
  margin: 0;
}

#nav li:not(:last-child)::after {
  content: "·";
  margin-left: 8px;
  color: var(--accent-yellow);
  font-weight: 700;
}

#nav a {
  background: transparent;
  color: var(--ink) !important;
  font-weight: 500;
  text-decoration: none !important;
  display: inline;
  text-align: center;
  padding: 2px 0;
  border: none;
  box-shadow: none;
}

#nav a:hover {
  color: var(--accent-blue) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

#nav a[aria-current="page"] {
  background: transparent;
  color: var(--accent-green) !important;
  border: none;
  box-shadow: none;
  text-decoration: underline;
  text-decoration-color: var(--accent-green);
  text-underline-offset: 3px;
}

#nav a[aria-current="page"]:hover {
  color: var(--accent-red) !important;
}

/* Sidebar — stacked panels, no floats */
#sidebar.sidebar {
  float: none;
  width: auto;
  min-width: 0;
  height: 100%;
  align-self: stretch;
  padding-right: 14px;
  margin-right: 2px;
  border-right: 3px solid var(--brown-mid-soft);
  box-shadow:
    inset -1px 0 0 rgba(255, 255, 255, 0.28),
    3px 0 0 rgba(60, 50, 42, 0.14);
}

.sidebar-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
}

.sidebar-panel {
  background: rgba(220, 212, 198, 0.78);
  border: 1px solid rgba(28, 22, 18, 0.26);
  border-radius: 4px;
  padding: 12px 12px 14px;
  text-align: left;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 1px 3px rgba(20, 16, 12, 0.1);
}

.sidebar-inner .sidebar-panel:nth-child(1) {
  border-left: 3px solid var(--accent-green);
}

.sidebar-inner .sidebar-panel:nth-child(2) {
  border-left: 3px solid var(--accent-red);
}

.sidebar-inner .sidebar-panel:nth-child(3) {
  border-left: 3px solid var(--accent-blue);
}

.sidebar-panel--quotes {
  padding-bottom: 10px;
}

#sidebar .sidebar-heading {
  font-family: "Newsreader", Georgia, serif;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--rust);
  margin: 0 0 0.55rem;
  padding: 0 0 0.45rem;
  border-bottom: 1px solid rgba(107, 47, 34, 0.38);
  line-height: 1.25;
}

.sidebar-subhead {
  margin: 0 0 0.55rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-soft);
  line-height: 1.3;
}

.sidebar-thumb {
  margin: 0 0 0.65rem;
  line-height: 0;
}

.sidebar-thumb img {
  display: block;
  width: 100%;
  max-width: 132px;
  height: auto;
  border: 1px solid rgba(42, 34, 24, 0.38);
  box-shadow: 1px 2px 4px rgba(42, 34, 24, 0.12);
}

.sidebar-thumb--quaffle img {
  max-width: min(100%, 240px);
  border: 2px solid #3d3228;
  border-top-color: #e8e0d4;
  border-left-color: #ddd4c8;
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.2),
    2px 3px 0 var(--brown-shadow),
    4px 6px 10px rgba(0, 0, 0, 0.15);
}

.sidebar-linkline {
  margin: 0;
  text-align: right;
  font-size: 0.9rem;
}

.sidebar-copy {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink);
}

.sidebar-overheard-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 0.5rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(107, 47, 34, 0.38);
}

#sidebar .sidebar-overheard-head .sidebar-heading {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  border-bottom: none;
}

.overheard-next-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(42, 34, 24, 0.35);
  border-radius: 50%;
  background: linear-gradient(180deg, #f5f0e6 0%, #e4dcd0 100%);
  color: var(--rust);
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 1px 2px rgba(42, 34, 24, 0.12);
}

.overheard-next-btn:hover {
  color: var(--ink);
  border-color: rgba(42, 34, 24, 0.5);
}

.overheard-next-btn:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 2px;
}

.overheard-next-btn[hidden] {
  display: none;
}

.sidebar-overheard-list {
  margin: 0;
  min-height: 3.5rem;
}

.overheard-quote {
  margin: 0 0 1.05em;
}

.overheard-quote:last-child {
  margin-bottom: 0;
}

.overheard-quote blockquote {
  margin: 0;
  padding: 0 0 0 0.65em;
  border-left: 2px solid rgba(107, 47, 34, 0.45);
}

.overheard-quote blockquote p {
  margin: 0;
  font-style: italic;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--ink);
}

.overheard-by {
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin: 0.45em 0 0;
  line-height: 1.35;
}

#content {
  float: none;
  width: auto;
  min-width: 0;
  padding-left: 4px;
}

.hero-img {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  margin: 0 auto;
  padding-bottom: 0;
  margin-bottom: 20px;
  border: 2px solid #3d3228;
  border-top-color: #e8e0d4;
  border-left-color: #ddd4c8;
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.2),
    3px 5px 0 var(--brown-shadow),
    6px 10px 18px rgba(0, 0, 0, 0.25),
    0 0 0 3px var(--accent-yellow-soft);
}

#content .content,
#content .main-column {
  margin: 0;
}

#content .content::after {
  content: "";
  display: block;
  clear: both;
}

/* Center column: boxed sections (home + any page using main-column) */
#content .main-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#content .main-column > section {
  position: relative;
  background: var(--content-panel-bg);
  border: 1px solid var(--content-panel-border);
  border-radius: 6px;
  padding: 1rem 1.1rem 1.2rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 2px 10px rgba(42, 34, 24, 0.07);
  overflow: hidden;
}

#content .main-column > section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 6px 6px 0 0;
}

#content .main-column > section.project-block::before {
  background: linear-gradient(90deg, var(--accent-green), #2a8f75);
}

#content .main-column > section.tracklist-block::before {
  background: linear-gradient(90deg, var(--accent-red), #c45c5c);
}

#content .main-column > section > h2 {
  margin-top: 0;
}

/* Inner pages: single column wrapper */
#content > .content {
  position: relative;
  z-index: 0;
  background: var(--content-panel-bg);
  border: 1px solid var(--content-panel-border);
  border-radius: 6px;
  padding: 1.1rem 1.15rem 1.35rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 2px 10px rgba(42, 34, 24, 0.07);
  overflow: hidden;
}

#content > .content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-green), var(--accent-yellow), var(--accent-red));
  opacity: 0.85;
}

#content > .hero-img + .main-column {
  border-top: none;
  padding-top: 4px;
  margin-top: 0;
}

/* Home: Latest Project (flex layout, no float) */
.project-body {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 26px;
  align-items: flex-start;
  margin-top: 0.2em;
}

.project-art {
  flex: 0 0 auto;
}

.project-copy {
  flex: 1 1 220px;
  min-width: 0;
}

.project-copy p:first-child {
  margin-top: 0;
}

.project-cover {
  width: 164px;
  max-width: 100%;
  height: auto;
  display: block;
  border: 2px solid #3d3228;
  border-top-color: #f0ebe2;
  border-left-color: #e8e2d8;
  box-shadow:
    2px 3px 0 var(--brown-shadow),
    4px 6px 10px rgba(0, 0, 0, 0.15);
}

.section-rule {
  border: none;
  border-radius: 2px;
  margin: 0.15rem 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-green), var(--accent-yellow), var(--accent-red), var(--accent-blue));
  opacity: 0.55;
}

.tracklist-block h2 {
  margin-top: 0;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#content .main-column h2,
#content .content > h2 {
  width: fit-content;
  max-width: 100%;
  border-bottom: 2px solid rgba(107, 47, 34, 0.45);
  padding-bottom: 0.25em;
  margin-bottom: 0.65em;
  box-shadow: none;
}

#content .main-column .project-block h2 {
  border-bottom-color: var(--accent-green);
  color: var(--accent-green);
}

#content .main-column .tracklist-block h2 {
  border-bottom-color: var(--accent-red);
  color: var(--accent-red);
}

#content > .content > h2:first-of-type {
  color: var(--accent-blue);
  border-bottom-color: rgba(37, 99, 171, 0.45);
}

#content > .content > h2:nth-of-type(2) {
  color: var(--accent-green);
  border-bottom-color: rgba(30, 111, 92, 0.5);
}

#content .tracklist,
#content .content table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 2px 0 rgba(42, 34, 24, 0.08);
  border: 1px solid rgba(42, 34, 24, 0.25);
  border-radius: 2px;
}

#content .tracklist td,
#content .tracklist th,
#content .content table td,
#content .content table th {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(42, 34, 24, 0.2);
}

#content .tracklist th,
#content .content table th {
  color: var(--accent-blue);
  font-family: "Newsreader", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: 0.9em;
  background: var(--accent-blue-soft);
}

#content .tracklist td.download,
#content .content table td.download {
  text-align: right;
  padding-right: 0;
}

#content .tracklist .tracklist-num {
  width: 2.25rem;
  text-align: right;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}

#content .divider {
  margin: 1.5em 0;
  border: none;
  border-top: 1px solid rgba(42, 34, 24, 0.35);
  background: none;
  height: 0;
  opacity: 1;
}

h2 {
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--rust);
  margin: 1.2em 0 0.55em;
}

#content .content > h2:first-child,
#content .main-column h2:first-of-type {
  margin-top: 0;
}

h3 {
  font-family: "Newsreader", Georgia, serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0.9em 0 0.5em;
  color: var(--ink-soft);
}

p {
  margin: 0.85em 0;
  color: var(--ink);
}

img {
  border: 0;
  max-width: 100%;
  height: auto;
}

img.left {
  float: left;
  margin: 4px 14px 8px 0;
  border: 1px solid rgba(42, 34, 24, 0.35);
}

img.right {
  float: right;
  margin-left: 14px;
}

.readmore {
  text-align: right;
  font-size: 0.95em;
}

.hidden {
  visibility: hidden;
}

.clear {
  display: none;
}

a {
  color: var(--link);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

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

#nav a,
#nav a:visited {
  text-decoration: none;
}

table a {
  font-weight: 600;
  color: var(--accent-blue);
}

table a:hover {
  color: var(--accent-red);
}

/* Tickets: upcoming table + past show posters */
.tickets-muted {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0.5em 0 1em;
}

#content .tickets-table {
  width: 100%;
  border-collapse: collapse;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 2px 0 rgba(42, 34, 24, 0.08);
  border: 1px solid rgba(42, 34, 24, 0.25);
  border-radius: 2px;
  margin: 0.75em 0 0;
}

#content .tickets-table th,
#content .tickets-table td {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(42, 34, 24, 0.2);
  text-align: left;
}

#content .tickets-table th {
  color: var(--accent-blue);
  font-weight: 700;
  font-size: 0.9em;
  background: var(--accent-blue-soft);
}

.past-shows-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin: 0.75em 0 1.25rem;
}

.past-show-card {
  background: rgba(218, 210, 202, 0.55);
  border: 1px solid rgba(28, 22, 18, 0.28);
  border-radius: 2px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 2px 0 rgba(20, 16, 12, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.past-show-poster {
  background: var(--brown-mid-deep);
  line-height: 0;
  border-bottom: 1px solid rgba(42, 34, 24, 0.35);
}

.past-show-poster img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  max-height: 300px;
}

.past-show-meta {
  padding: 12px 14px 14px;
  flex: 1;
}

.past-show-meta h3 {
  margin: 0 0 0.45em;
  font-size: 1.02rem;
  color: var(--rust);
}

.past-show-meta p {
  margin: 0.3em 0;
  font-size: 0.9rem;
}

.past-show-blurb {
  margin-top: 0.45em !important;
  font-size: 0.86rem !important;
  color: var(--ink-soft) !important;
}

/* Homepage: flat parchment + no gradient strips in the main column */
body.page-home #bodyj {
  background: linear-gradient(168deg, #d2c9bb 0%, var(--panel) 45%, #b5a896 100%);
}

body.page-home #content .main-column > section::before {
  display: none;
}

body.page-home .section-rule {
  height: 0;
  background: none;
  opacity: 1;
  border: none;
  border-top: 1px solid rgba(42, 34, 24, 0.32);
  margin: 0.5rem 0;
}

body.page-home .hero-img {
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.2),
    3px 5px 0 var(--brown-shadow),
    6px 10px 18px rgba(0, 0, 0, 0.25);
}

@media (max-width: 720px) {
  body {
    border-left-width: 3px;
    border-right-width: 3px;
    box-shadow:
      inset 4px 0 0 rgba(74, 62, 52, 0.18),
      inset -4px 0 0 rgba(74, 62, 52, 0.18),
      inset 5px 0 0 var(--frame-inset),
      inset -5px 0 0 var(--frame-inset);
  }

  #wrapper {
    padding-left: 6px;
    padding-right: 6px;
  }

  .wordmark {
    padding: 12px 12px 14px;
  }

  #nav {
    gap: 2px 6px;
    padding-left: 12px;
    padding-right: 12px;
  }

  #bodyj {
    grid-template-columns: 1fr;
    padding: 16px 12px 20px;
    margin: 4px;
  }

  #sidebar.sidebar {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
    box-shadow: none;
    padding-bottom: 4px;
    margin-bottom: 10px;
    border-bottom: 2px solid rgba(42, 34, 24, 0.3);
  }

  .sidebar-inner {
    gap: 12px;
  }

  #content {
    padding-left: 0;
    padding-top: 14px;
    border-top: none;
  }
}
