/*
Theme Name: Ambarish in Panels
Author: Ambarish Ganesh
Description: A responsive, illustrated portfolio for Ambarish Ganesh, with editable narrative panels, recommendations, Yumbrella video players and the complete six-world Chai Quest game. No page builder or build step required.
Version: 1.4.2
Requires at least: 6.6
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ambarish-in-panels
Tags: one-column, two-columns, three-columns, featured-images, theme-options, portfolio, blog
*/

/* Locally bundled fonts. No Google Fonts request is required. */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/barlow-condensed-501f76ca.ttf) format('truetype');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/barlow-condensed-d02cbe27.ttf) format('truetype');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(assets/fonts/barlow-condensed-33f3233b.ttf) format('truetype');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(assets/fonts/barlow-condensed-24ae4f4c.ttf) format('truetype');
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/caveat-22833467.ttf) format('truetype');
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/caveat-fd9ecc6c.ttf) format('truetype');
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/caveat-df369f68.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/dm-sans-0569c822.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/dm-sans-9bd8ba39.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/dm-sans-18e69125.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/dm-sans-8257aa26.ttf) format('truetype');
}


/* Stable unlayered reset for the portfolio and blog. */
*,*::before,*::after{box-sizing:border-box;border:0 solid;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;line-height:1.5;font-family:'DM Sans',Arial,sans-serif}
h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}
a{color:inherit;text-decoration:none}
b,strong{font-weight:bolder}
small{font-size:80%}
ol,ul,menu{list-style:none}
img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}
img,video{max-width:100%;height:auto}
button,input,select,optgroup,textarea{font:inherit;color:inherit;background:transparent;letter-spacing:inherit}
button,[type='button'],[type='submit']{-webkit-appearance:button;appearance:button}
textarea{resize:vertical}
table{border-collapse:collapse;border-color:inherit;text-indent:0}
[hidden]{display:none!important}
:root {
  --background: #faf9f6;
  --foreground: #20201e;
  --primary: #20201e;
  --primary-foreground: #fff;
  --border: #292927;
  --muted: #eeede9;
  --muted-foreground: #666;
  --font-sans: 'DM Sans', Arial, sans-serif;
  --media-thumbnail-height: 128px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23000' opacity='.025' filter='url(%23n)' d='M0 0h160v160H0z'/%3E%3C/svg%3E");
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible {
  outline: 3px dashed #555;
  outline-offset: 6px;
}
.site-header {
  max-width: 1400px;
  margin: auto;
  padding: 24px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #333;
}
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'Caveat', cursive;
  font-size: 38px;
  font-weight: 700;
}
.brand span {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 2px;
  max-width: 135px;
  line-height: 1.5;
}
nav {
  display: flex;
  gap: 36px;
  font-size: 14px;
}
nav a:last-child {
  border-bottom: 1px solid;
  padding-bottom: 5px;
}
main {
  max-width: 1280px;
  margin: auto;
  padding: 0 32px;
}
.edition {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.6px;
  padding: 22px 0;
}
.cover {
  border: 2px solid #262623;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  min-height: 560px;
  padding: 48px 30px 0;
  box-shadow: 4px 4px 0 #292927;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 700;
}
.cover-title {
  z-index: 1;
  padding: 20px 0 45px 10px;
}
h1 {
  font-family: 'Barlow Condensed', Impact, sans-serif;
  text-transform: uppercase;
  font-size: clamp(64px, 6.3vw, 91px);
  line-height: 0.96;
  margin: 25px 0;
  letter-spacing: -1px;
  font-weight: 800;
}
h1 em {
  font-family: 'Caveat', cursive;
  text-transform: none;
  font-size: 1.12em;
  font-weight: 700;
  letter-spacing: -5px;
}
p {
  line-height: 1.7;
}
.intro {
  font-size: 15px;
  line-height: 1.8;
  max-width: 390px;
}
.read-link {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.7px;
  display: inline-flex;
  align-items: center;
  gap: 25px;
  margin-top: 40px;
}
.read-link span {
  font-size: 30px;
}
.cover-art {
  position: relative;
  align-self: end;
  height: 470px;
}
.cover-art img {
  width: 125%;
  max-width: none;
  height: 100%;
  object-fit: contain;
  margin-left: -15%;
  mix-blend-mode: multiply;
}
.bubble {
  position: absolute;
  top: 12px;
  right: 5px;
  border: 2px solid;
  border-radius: 50% 44% 46% 43%;
  padding: 17px 25px;
  font-family: 'Caveat', cursive;
  font-size: 23px;
  line-height: 1;
  background: #faf9f6;
  transform: rotate(6deg);
}
.caption {
  position: absolute;
  bottom: 15px;
  left: 6%;
  background: #faf9f6;
  border: 1px solid;
  padding: 8px 10px;
  font-size: 9px;
  letter-spacing: 0.8px;
  transform: rotate(-2deg);
}
.issue-stamp {
  position: absolute;
  right: 20px;
  top: 15px;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 2px dashed;
  border-radius: 50%;
  font-size: 22px;
  font-weight: bold;
  line-height: 1;
  transform: rotate(14deg);
}
.issue-stamp small {
  font-size: 8px;
  line-height: 1.1;
  text-align: center;
  margin-top: 5px;
}
.chapter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 48px 0 22px;
  scroll-margin-top: 20px;
}
.chapter span:first-child {
  font-size: 11px;
  letter-spacing: 1.4px;
  font-weight: 700;
}
.chapter p {
  font-family: 'Caveat', cursive;
  font-size: 27px;
  margin: 0;
}
.chapter span:last-child {
  font-size: 24px;
}
.panel {
  border: 2px solid #292927;
  padding: 30px;
  background: #faf9f6;
  position: relative;
}
.teaser h2 {
  font-family: 'Barlow Condensed', Impact, sans-serif;
  font-size: 48px;
  line-height: 1.1;
  margin: 20px 0;
}
.teaser h2 em {
  font-family: 'Caveat', cursive;
  font-weight: 600;
}
.teaser p:last-child {
  max-width: 600px;
  font-size: 16px;
}
@media (max-width: 700px) {
  .site-header {
    padding: 17px 20px;
  }
  .brand span {
    display: none;
  }
  nav {
    gap: 20px;
  }
  main {
    padding: 0 18px;
  }
  .edition {
    font-size: 8px;
    letter-spacing: 0.6px;
  }
  .edition span:last-child {
    display: none;
  }
  .cover {
    grid-template-columns: 1fr;
    padding: 20px 20px 0;
  }
  .cover-title {
    padding: 15px 0 0;
  }
  h1 {
    font-size: 72px;
  }
  .cover-art {
    height: 330px;
  }
  .cover-art img {
    width: 110%;
    margin-left: -5%;
  }
  .bubble {
    font-size: 20px;
    top: 0;
    right: 0;
  }
  .read-link {
    margin-top: 10px;
  }
  .issue-stamp {
    width: 53px;
    height: 53px;
    font-size: 16px;
    right: 12px;
    top: 10px;
  }
  .chapter p {
    font-size: 22px;
  }
  .chapter span:first-child {
    font-size: 9px;
  }
  .caption {
    font-size: 7px;
  }
  .teaser h2 {
    font-size: 39px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
.grid {
  display: grid;
  gap: 16px;
}
.work-grid {
  grid-template-columns: 1.25fr 1fr;
}
.panel h2 {
  font-family: 'Barlow Condensed', Impact, sans-serif;
  font-size: 44px;
  line-height: 1.06;
  letter-spacing: -0.5px;
  margin: 18px 0;
}
.panel h2 em {
  font-family: 'Caveat', cursive;
  font-weight: 600;
  font-size: 1.12em;
}
.panel p {
  font-size: 15px;
}
.panel .eyebrow {
  font-size: 10px;
  padding-right: 12px;
}
.panel-no {
  position: absolute;
  right: 12px;
  top: 9px;
  font-family: 'Caveat', cursive;
  font-size: 15px;
  color: #777;
}
.out-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid;
  font-size: 12px;
  font-weight: 700;
  padding-bottom: 6px;
  margin-top: 12px;
  transition: gap 0.2s;
}
.out-link:hover {
  gap: 30px;
}
.out-link span {
  font-size: 20px;
}
.dark {
  background: #252523;
  color: #faf9f6;
}
.dark .panel-no {
  color: #aaa;
}
.process {
  padding: 0;
  list-style: none;
  margin: 25px 0 0;
}
.process li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin: 20px 0;
}
.process li > span {
  font-family: 'Caveat', cursive;
  font-size: 24px;
  opacity: 0.6;
}
.process h3 {
  font-family: 'Barlow Condensed', Impact, sans-serif;
  font-size: 25px;
  margin: 0;
}
.process p {
  font-size: 12px;
  margin: 2px 0;
  color: #ddd;
}
.handwritten {
  font-family: 'Caveat', cursive;
  font-size: 24px !important;
  line-height: 1.2;
  display: block;
}
.dark > .handwritten {
  text-align: right;
  transform: rotate(-5deg);
}
.interlude {
  padding: 50px 10px 0;
  text-align: center;
}
.interlude > span {
  font-size: 9px;
  letter-spacing: 2px;
}
.interlude p {
  font-family: 'Caveat', cursive;
  font-size: 34px;
  margin: 6px 0 0;
}
.family-grid {
  grid-template-columns: 1.45fr 1fr;
}
.art-panel {
  padding: 0;
  overflow: hidden;
  min-height: 390px;
}
.art-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}
.art-panel .bubble {
  top: 16px;
  right: 14px;
  font-size: 21px;
}
.art-panel .caption {
  left: 15px;
}
.family-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.note {
  display: block;
  font-family: 'Caveat', cursive;
  font-size: 25px;
  line-height: 1.2;
  transform: rotate(-4deg);
  margin: 25px 0 12px;
}
.interests-grid {
  grid-template-columns: 1.1fr 1fr;
}
.shelf-panel img {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
  margin: 8px 0;
}
.shelf-labels {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.shelf-labels span {
  border: 1px solid;
  padding: 5px 7px;
  font-size: 8px;
  letter-spacing: 1px;
}
.stack {
  display: grid;
  gap: 16px;
}
.small-panel {
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 27px,
    #2222220b 28px
  );
}
.small-panel h2 {
  font-size: 37px;
}
.three-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 16px;
}
.three-grid .panel {
  display: flex;
  flex-direction: column;
}
.three-grid .panel .out-link {
  align-self: flex-start;
  margin-top: auto;
}
.soundword {
  font-family: 'Barlow Condensed', Impact, sans-serif;
  font-style: italic;
  font-size: 63px;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.1;
  margin: 25px 0 5px;
  transform: rotate(-7deg);
  -webkit-text-stroke: 1px #292927;
  color: transparent;
}
.yumbrella .soundword {
  font-size: 52px;
}
.tea-panel .soundword {
  font-family: 'Caveat', cursive;
  -webkit-text-stroke: 0;
  color: #292927;
}
.contact {
  text-align: center;
  padding: 48px 25px 55px;
  box-shadow: 4px 4px 0 #292927;
  margin-bottom: 35px;
}
.contact h2 {
  font-size: 72px;
  margin: 16px 0 25px;
}
.contact > p:not(.eyebrow) {
  max-width: 520px;
  margin: 0 auto 25px;
}
.contact-button {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  background: #252523;
  color: white;
  padding: 18px 24px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 3px 3px 0 #aaa;
  transition: transform 0.2s;
}
.contact-button:hover {
  transform: translate(-2px, -2px);
}
.contact-button span {
  font-size: 22px;
}
.contact-note {
  display: block;
  margin-top: 25px;
  font-family: 'Caveat', cursive;
  font-size: 22px;
  line-height: 1.2;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid;
  padding: 22px 0 36px;
  font-size: 8px;
  letter-spacing: 1px;
}
.end {
  font-family: 'Caveat', cursive;
  font-size: 24px;
  letter-spacing: 0;
}
.reveal {
  transition:
    opacity 0.65s ease,
    transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.waiting {
  opacity: 0;
  transform: translateY(45px) rotate(0.8deg);
}
.in-view {
  opacity: 1;
  transform: translateY(0) rotate(0);
}
@media (min-width: 701px) {
  .grid > .reveal:nth-child(2) {
    transition-delay: 0.12s;
  }
  .grid > .reveal:nth-child(3) {
    transition-delay: 0.2s;
  }
}
@media (max-width: 900px) {
  .three-grid {
    grid-template-columns: 1fr 1fr;
  }
  .tea-panel {
    grid-column: 1/-1;
  }
  .tea-panel .soundword {
    position: absolute;
    right: 40px;
    top: 25px;
  }
  .family-grid {
    grid-template-columns: 1fr 1fr;
  }
  .panel {
    padding: 24px;
  }
  .art-panel {
    padding: 0;
  }
  .panel h2 {
    font-size: 38px;
  }
}
@media (max-width: 700px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 26px;
  }
  .panel h2 {
    font-size: 42px;
  }
  .art-panel {
    padding: 0;
    min-height: 0;
    aspect-ratio: 1.25;
  }
  .art-panel img {
    object-fit: cover;
  }
  .three-grid .out-link {
    margin-top: 16px !important;
  }
  .interlude p {
    font-size: 28px;
  }
  .interlude {
    padding-top: 38px;
  }
  .contact h2 {
    font-size: 60px;
  }
  .contact {
    padding: 38px 22px;
  }
  .chapter {
    padding-top: 38px;
  }
  .contact-button {
    gap: 18px;
    font-size: 12px;
  }
  .site-footer {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 16px;
  }
  .end {
    width: 100%;
  }
  .process p {
    font-size: 14px;
  }
  .panel p {
    font-size: 16px;
  }
  .out-link {
    font-size: 14px;
  }
}

/* The lettering and full-size portrait each have their own space. */
.cover {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.2fr);
  gap: 14px;
  padding: 28px 24px 20px;
  align-items: start;
  min-height: 0;
  overflow: clip;
}
.cover-title {
  min-width: 0;
  padding: 58px 0 20px 10px;
}
.cover h1 {
  font-size: clamp(58px, 5.5vw, 76px);
}
.cover-art {
  display: flex;
  flex-direction: column;
  align-self: start;
  width: 100%;
  min-width: 0;
  height: auto;
  margin-top: 0;
  padding-top: 0;
}
.cover-art img {
  display: block;
  width: 108%;
  max-width: none;
  height: auto;
  object-fit: contain;
  object-position: center top;
  margin: 64px 0 0 -6%;
}
.hand-note {
  font-family: 'Caveat', cursive;
  font-size: 25px;
  line-height: 1.15;
  display: block;
  font-weight: 600;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  padding: 0;
}
.cover-annotation {
  position: absolute;
  top: 20px;
  right: 22px;
  display: flex;
  align-items: center;
  gap: 24px;
  z-index: 3;
}
.cover-annotation .hand-note {
  margin: 0;
  transform: rotate(-3deg);
  text-align: center;
}
.cover-annotation .issue-stamp {
  position: relative;
  top: auto;
  right: auto;
  flex-shrink: 0;
}
.cover-art .caption {
  position: relative;
  bottom: auto;
  left: auto;
  align-self: center;
  margin: 3px 0;
  max-width: 100%;
  text-align: center;
  line-height: 1.4;
}
.issue-stamp {
  z-index: 3;
  width: 94px;
  height: 94px;
  padding: 13px;
  border: 3px solid;
  border-radius: 50%;
  background: var(--background);
  outline: 1px solid;
  outline-offset: -8px;
  animation: stamp-sway 3.6s ease-in-out infinite;
  box-shadow: 0 0 0 3px var(--background);
}
.issue-stamp small {
  margin-top: 8px;
  line-height: 1.25;
  letter-spacing: 0.4px;
}
@keyframes stamp-sway {
  0%,
  100% {
    transform: rotate(8deg) translateY(0) scale(1);
  }
  45% {
    transform: rotate(17deg) translateY(-9px) scale(1.04);
  }
  55% {
    transform: rotate(15deg) translateY(-7px) scale(1.02);
  }
}
.art-panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
  aspect-ratio: auto;
  padding: 20px 12px 14px;
}
.family-grid .art-panel {
  border: 0;
  background: transparent;
  padding-inline: 0;
}
.art-panel img {
  height: auto;
  aspect-ratio: 3/2;
  object-fit: contain;
  width: 100%;
  order: 1;
}
.art-panel .hand-note {
  position: relative;
  order: 0;
  text-align: center;
  font-size: 25px;
  margin: 0 0 8px;
  padding: 0 20px;
}
.art-panel .caption {
  position: relative;
  order: 2;
  bottom: auto;
  left: auto;
  align-self: center;
  max-width: 100%;
  margin-top: 8px;
  text-align: center;
}
.sketch-icon {
  display: block;
  width: 126px;
  height: 84px;
  background-image: url('assets/art/side-quest-icons.png');
  background-repeat: no-repeat;
  background-size: 200% 300%;
  mix-blend-mode: multiply;
  margin: 16px 0 8px;
}
.icon-0 {
  background-position: 0 0;
}
.icon-1 {
  background-position: 100% 0;
}
.icon-2 {
  background-position: 0 50%;
}
.icon-3 {
  background-position: 100% 50%;
}
.icon-4 {
  background-position: 0 100%;
}
.icon-5 {
  background-position: 100% 100%;
}
.three-grid .soundword {
  display: block;
  position: static;
  margin: 22px 0 10px;
  align-self: flex-start;
}
.three-grid .sketch-icon {
  position: absolute;
  top: 54px;
  right: 20px;
  width: 90px;
  height: 60px;
  margin: 0;
}
.contact {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  text-align: left;
  gap: 0;
  padding: 0;
  overflow: hidden;
}
.contact-copy {
  min-width: 0;
  padding: 40px 28px;
}
.contact-copy > p:not(.eyebrow) {
  max-width: 520px;
  margin: 0 0 25px;
}
.contact h2 {
  font-size: 62px;
}
.chai-art {
  min-width: 0;
  align-self: end;
  margin: 0;
}
.chai-art img {
  display: block;
  width: 120%;
  max-width: none;
  margin: 0 0 0 -10%;
  height: auto;
}
.contact-note {
  font-size: 24px;
}
@media (max-width: 1050px) and (min-width: 701px) {
  .cover {
    grid-template-columns: 0.9fr 1.2fr;
    padding: 28px 20px;
  }
  .cover h1 {
    font-size: 60px;
  }
  .cover-art img {
    width: 108%;
    height: auto;
    margin: 76px 0 0 -6%;
  }
  .cover-title {
    padding-top: 55px;
  }
  .cover-annotation .hand-note {
    font-size: 22px;
  }
  .contact h2 {
    font-size: 48px;
  }
}
@media (max-width: 700px) {
  .cover {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 24px 20px 20px;
  }
  .cover-annotation {
    position: static;
    grid-row: 1;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
  }
  .cover-annotation .hand-note {
    text-align: left;
    font-size: 22px;
  }
  .cover-title {
    padding: 20px 0 0;
  }
  .cover h1 {
    font-size: clamp(50px, 11vw, 72px);
  }
  .cover-art {
    margin-top: 0;
    height: auto;
  }
  .cover-art img {
    height: auto;
    aspect-ratio: 3/2;
    width: 112%;
    margin: -10px 0 0 -6%;
  }
  .cover-art .caption {
    font-size: 9px;
  }
  .cover .eyebrow {
    max-width: 75%;
    line-height: 1.5;
  }
  .issue-stamp {
    width: 76px;
    height: 76px;
    padding: 11px;
    font-size: 18px;
  }
  .art-panel {
    padding: 18px 10px 14px;
    aspect-ratio: auto;
  }
  .family-grid .art-panel {
    padding-inline: 0;
  }
  .art-panel .hand-note {
    font-size: 23px;
  }
  .contact {
    grid-template-columns: 1fr;
    padding: 0;
  }
  .contact-copy {
    padding: 30px 22px 12px;
  }
  .contact h2 {
    font-size: 55px;
  }
  .chai-art {
    margin: 0;
  }
  .sketch-icon {
    width: 75px;
    height: 75px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .issue-stamp {
    animation: none;
  }
}
.shelf-labels {
  display: none;
}
.shelf-panel img,
.art-panel img,
.chai-art img {
  background: transparent;
}
.sketch-icon {
  width: 126px;
  height: 84px;
}
@media (max-width: 700px) {
  .sketch-icon {
    width: 108px;
    height: 72px;
  }
}

/* Composite the original monochrome ink with transparent paper on the page. */
.art-filters {
  position: absolute;
  pointer-events: none;
}
.cover-art img,
.shelf-panel > img,
.art-panel img,
.chai-art img,
.sketch-icon {
  filter: url('#paper-to-alpha');
  mix-blend-mode: normal;
}
.recommendation-heading {
  font-family: 'Caveat', cursive;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.2;
  margin: 22px 0 14px;
}
.cover-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0 0 24px;
  list-style: none;
}
.cover-gallery li,
.cover-gallery figure {
  min-width: 0;
  margin: 0;
}
.cover-gallery .media-thumbnail {
  height: var(--media-thumbnail-height);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.cover-gallery .media-thumbnail img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
  object-position: center bottom;
  mix-blend-mode: normal;
  filter: drop-shadow(2px 3px 2px #20201e22);
}
.cover-gallery figcaption {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  overflow-wrap: anywhere;
}
.film-posters {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 14px;
}
.video-gallery {
  display: grid;
  gap: 20px;
  padding: 0;
  margin: 0 0 24px;
  list-style: none;
}
.video-trigger {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.video-thumbnail {
  display: block;
  position: relative;
  height: var(--media-thumbnail-height);
  overflow: hidden;
  background: #20201e;
}
.video-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 34px;
  border-radius: 8px;
  background: #20201ee6;
  color: #fff;
  font-size: 18px;
  padding-left: 2px;
}
.video-trigger:hover .video-play,
.video-trigger:focus-visible .video-play {
  background: #b51f1f;
}
.video-caption {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}
.video-dialog {
  max-width: min(760px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: 20px;
  border: 2px solid var(--border);
  border-radius: 0;
  background: var(--background);
  color: var(--foreground);
}
.video-dialog-title {
  padding-right: 30px;
  font-family: 'Barlow Condensed', Impact, sans-serif;
  font-size: 28px;
  line-height: 1.1;
}
.video-dialog iframe {
  width: 100%;
  height: auto;
  min-height: 200px;
  aspect-ratio: 16 / 9;
  border: 0;
}
.video-external {
  justify-self: start;
  border-bottom: 1px solid;
  font-weight: 600;
}
@media (max-width: 600px) {
  .book-thumbnails {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 14px;
  }
}
@media (min-width: 701px) and (max-width: 1050px) {
  .cover-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cover-annotation {
    gap: 16px;
  }
}
@media (max-width: 400px) {
  .cover-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
  }
  .three-grid .sketch-icon {
    width: 78px;
    height: 52px;
    right: 16px;
  }
}


/* Native WordPress and dialog integration. */
.site-header.has-custom-brand {
  flex-wrap: wrap;
  gap: 16px 24px;
}
.brand-custom { display: block; min-width: 0; line-height: 0; }
.brand-custom .custom-logo-link { display: inline-block; max-width: 100%; }
.brand-custom .custom-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: min(220px, 70vw);
  max-height: 64px;
  object-fit: contain;
}
.has-custom-brand > nav { flex-wrap: wrap; max-width: 100%; }
.edition > span, .journal-edition > span, .chapter > span:first-child,
.eyebrow, .interlude > span, .brand > span { overflow-wrap: anywhere; }
.edition { column-gap: 16px; }
.edition > span { min-width: 0; flex: 1 1 0; }
.edition > span:nth-child(2) { text-align: center; }
.edition > span:last-child { text-align: right; }
@media (max-width: 700px) {
  .brand-custom .custom-logo { max-width: min(160px, 70vw); max-height: 48px; }
  .edition > span:nth-child(2) { text-align: right; }
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 100001;
  padding: 12px 18px;
  background: var(--foreground);
  color: var(--background);
}
.skip-link:focus { top: 12px; }
#content:focus { outline: none; }
body.admin-bar .skip-link:focus { top: 48px; }
body.video-is-open { overflow: hidden; }
dialog.video-dialog:not([open]) { display: none; }
dialog.video-dialog[open] {
  position: fixed;
  inset: 0;
  display: grid;
  gap: 16px;
  width: min(760px, calc(100vw - 32px));
  height: max-content;
  margin: auto;
  transform: none;
  box-shadow: 0 18px 60px #20201e30;
}
dialog.video-dialog::backdrop {
  background: #20201e55;
  backdrop-filter: blur(3px);
}
.panel .video-dialog .video-dialog-title {
  margin: 0;
  padding-right: 32px;
  font-size: 28px;
  line-height: 1.1;
}
.video-dialog p { margin: 0; font-size: 14px; line-height: 1.5; }
.video-player-mount { min-width: 0; }
.video-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
}
.video-close:hover { background: var(--muted); }
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.wp-content-panel { margin-top: 36px; }
.wp-content-panel h1 { font-size: clamp(40px, 7vw, 76px); line-height: 1.05; margin: 0 0 24px; }
.entry-content { font-size: 17px; line-height: 1.8; overflow-wrap: anywhere; }
.entry-content > * { margin-block: 1em; }
.entry-content h2, .entry-content h3 { font-family: 'Barlow Condensed', Impact, sans-serif; line-height: 1.15; }
.entry-content h2 { font-size: 36px; }
.entry-content h3 { font-size: 28px; }
.entry-content a, .post-title a { text-decoration: underline; text-underline-offset: 4px; }
.entry-content ul, .entry-content ol { padding-left: 1.5em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content img { max-width: 100%; height: auto; }
.entry-content blockquote { border-left: 3px solid; padding-left: 1.25em; }
.entry-content pre { overflow: auto; padding: 1em; background: var(--muted); }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content td, .entry-content th { border: 1px solid var(--border); padding: 8px; }
.entry-content .alignwide { width: 100%; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption, .gallery-caption { max-width: 100%; }
.wp-caption-text { font-size: 14px; }
.post-title { margin-top: 0; }
.post-meta { font-size: 14px; color: var(--muted-foreground); margin-bottom: 20px; }
.post-list > article + article { border-top: 1px solid; padding-top: 30px; margin-top: 30px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 16px; padding-block: 24px; }
.entry-content::after { content: ''; display: table; clear: both; }
.comments-area { margin-top: 32px; }
.comments-area input:not([type='checkbox']), .comments-area textarea { display: block; width: 100%; border: 1px solid; padding: 10px; background: var(--background); }
.comments-area input[type='submit'] { cursor: pointer; width: auto; background: var(--foreground); color: var(--background); }
.comment-list { padding: 0; list-style: none; }
.comment-list .children { padding-left: 20px; }
.comment-body { margin-bottom: 24px; }
.comment-metadata, .reply { font-size: 14px; }
.bypostauthor > .comment-body { border-left: 2px solid; padding-left: 16px; }
.sticky .post-title::before { content: 'Featured: '; }

/* The arcade invitation uses the portfolio's existing ink-and-paper language. */
.site-header{flex-wrap:wrap;gap:16px 24px}.site-header nav{flex-wrap:wrap;gap:14px 25px;align-items:center}.site-header .game-nav-link{border:1px solid #292927;padding:7px 11px;font-weight:700}.game-home-invitation{margin:20px 0 28px;max-width:370px}.game-home-button{display:inline-flex;gap:16px;align-items:center;background:#252725;color:#fff9df;border:2px solid #252725;padding:12px 17px;font:700 15px/1.4 'DM Sans',Arial,sans-serif;box-shadow:3px 3px 0 #a6a18e}.game-home-button:hover{background:#3d4940}.game-home-invitation p{font-size:12px;line-height:1.6;margin:9px 0 0;color:#5a5c54}.game-home-button:focus-visible{outline-offset:5px}@media(max-width:700px){.site-header nav{gap:12px 18px}.game-home-invitation{margin-top:16px;margin-bottom:18px}}


/* The blog extends the portfolio's ink, paper and editorial typography. */
.site-header nav { flex-wrap: wrap; justify-content: flex-end; }
.site-header nav a[aria-current='page'] { border-bottom-width: 2px; font-weight: 700; }
.journal { overflow-wrap: anywhere; }
.journal-edition { display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; font-size: 12px; font-weight: 600; letter-spacing: 1.4px; }
.journal-masthead { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; border: 2px solid var(--border); padding: clamp(26px, 4vw, 54px); margin-bottom: 44px; }
.journal-masthead h1 { font-size: clamp(56px, 7vw, 96px); line-height: .99; letter-spacing: -1.6px; margin: 20px 0 24px; }
.journal-masthead h1 em { display: inline-block; font-family: 'Caveat', cursive; font-weight: 600; letter-spacing: -1px; line-height: 1.1; }
.journal-intro { max-width: 600px; font-size: 18px; line-height: 1.7; margin: 0; }
.journal-handnote { font-family: 'Caveat', cursive; font-size: 30px; line-height: 1.1; transform: rotate(-6deg); padding: 0 8px 12px; }
.journal-section-label { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 2px solid var(--border); }
.journal-section-label h2 { font-family: 'Barlow Condensed', Impact, sans-serif; font-size: 32px; font-weight: 700; margin: 0; }
.journal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.journal-card { min-width: 0; border: 1.5px solid var(--border); background: var(--background); }
.journal-card-link { display: flex; flex-direction: column; height: 100%; }
.journal-card-link:focus-visible { outline-offset: 5px; }
.journal-card-image { overflow: hidden; aspect-ratio: 16 / 9; border-bottom: 1.5px solid var(--border); }
.journal-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.journal-card-link:hover .journal-card-image img { transform: scale(1.025); }
.journal-card-copy { display: flex; flex-direction: column; padding: clamp(22px, 3vw, 34px); flex: 1; }
.journal-card-topline { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; font-size: 12px; line-height: 1.5; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
.journal-number { font-family: 'Caveat', cursive; font-size: 24px; font-weight: 500; letter-spacing: 0; color: var(--muted-foreground); }
.journal-card h2 { font-family: 'Barlow Condensed', Impact, sans-serif; font-size: clamp(32px, 3.2vw, 44px); font-weight: 700; line-height: 1.1; margin: 0 0 16px; }
.journal-card-link:hover h2 { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.journal-card-excerpt { font-size: 16px; line-height: 1.75; margin: 0 0 24px; }
.journal-card-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; padding-top: 8px; margin-top: auto; font-size: 14px; color: var(--muted-foreground); }
.journal-read { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-top: 1px solid var(--border); margin-top: 22px; padding-top: 14px; font-size: 14px; font-weight: 700; }
.journal-read > span { font-family: 'Caveat', cursive; font-size: 30px; font-weight: 500; line-height: 1; }
.journal-card-featured { grid-column: 1 / -1; }
.journal-card-featured .journal-card-link { display: grid; grid-template-columns: 1.03fr 1fr; }
.journal-card-featured .journal-card-image { aspect-ratio: auto; min-height: 360px; border-bottom: 0; border-right: 1.5px solid var(--border); }
.journal-card-featured h2 { font-size: clamp(38px, 4vw, 58px); }
.journal-card-featured .journal-card-topline { margin-bottom: 24px; }
.journal-card-featured.journal-card-text .journal-card-link { display: block; }
.journal-card-featured.journal-card-text .journal-card-copy { max-width: 920px; }
.journal-card-text:not(.journal-card-featured) .journal-card-copy { min-height: 350px; }
.journal-empty { padding: 42px 28px; border: 1.5px solid var(--border); }
.journal-empty-note { font-family: 'Caveat', cursive; font-size: 38px; line-height: 1.2; margin-bottom: 16px; }
.journal-empty > p:not(.journal-empty-note) { font-size: 17px; line-height: 1.6; }
.journal-pagination { margin-top: 36px; padding-block: 14px; border-top: 1px solid var(--border); }
.journal-pagination ul { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.journal-pagination .page-numbers:not(ul) { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--border); font-size: 14px; }
.journal-pagination .current { background: var(--foreground); color: var(--background); }
.journal-pagination a:hover { background: var(--muted); }
.journal-pagination .dots { border-color: transparent !important; }
.article-heading { max-width: 980px; margin: 0 auto; padding: 38px 0 36px; border-top: 2px solid var(--border); }
.article-categories { font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; font-weight: 700; margin-bottom: 24px; }
.article-categories a:hover { text-decoration: underline; }
.article-heading h1 { font-family: 'Barlow Condensed', Impact, sans-serif; font-size: clamp(44px, 6.2vw, 82px); font-weight: 700; letter-spacing: -1px; line-height: 1.04; max-width: 23ch; margin: 0 0 24px; }
.article-deck { max-width: 760px; font-size: 21px; line-height: 1.6; margin: 0 0 30px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; border-top: 1px solid var(--border); padding-top: 20px; font-size: 14px; line-height: 1.6; }
.article-meta a { font-weight: 600; }
.article-meta a:hover { text-decoration: underline; }
.article-featured-image { max-width: 1100px; margin: 0 auto 46px; }
.article-featured-image > img { display: block; width: 100%; height: auto; max-height: 700px; object-fit: contain; border: 1px solid var(--border); }
.article-featured-image figcaption { max-width: 740px; margin: 12px auto 0; font-size: 14px; line-height: 1.6; color: var(--muted-foreground); }
.article-reading-column { max-width: 740px; margin: 0 auto; }
.article-content { font-size: 18px; line-height: 1.85; }
.article-content > :first-child { margin-top: 0; }
.article-content h2 { font-size: 38px; margin-top: 1.4em; }
.article-content h3 { font-size: 30px; margin-top: 1.3em; }
.article-content h4 { font-size: 23px; font-weight: 700; }
.article-content blockquote { padding: 16px 0 16px 26px; font-family: 'Caveat', cursive; font-size: 32px; font-weight: 500; line-height: 1.4; }
.article-content blockquote p { margin: 0 0 12px; }
.article-content blockquote cite { font-family: var(--font-sans); font-size: 14px; font-style: normal; }
.article-content figcaption { font-size: 14px; line-height: 1.5; color: var(--muted-foreground); }
.article-content .wp-block-table { overflow-x: auto; }
.article-content :is(iframe, video) { max-width: 100%; }
.article-content .wp-block-embed__wrapper { overflow: hidden; }
.article-content .wp-block-separator { margin-block: 36px; border-top: 1px solid; }
.article-content .wp-block-pullquote { padding: 26px 0; }
.article-content .wp-block-pullquote blockquote { border: 0; text-align: center; padding: 0; }
.article-page-links { display: flex; flex-wrap: wrap; gap: 14px; font-size: 15px; margin-top: 32px; }
.article-tags { border-top: 1px solid var(--border); padding-top: 22px; margin-top: 36px; font-size: 14px; line-height: 1.7; }
.article-tags > span { color: var(--muted-foreground); margin-right: 6px; }
.article-tags a { text-decoration: underline; text-underline-offset: 3px; }
.article-signoff { position: relative; border: 1.5px solid var(--border); padding: 30px; margin: 40px 0 50px; }
.article-signoff-note { display: block; font-family: 'Caveat', cursive; font-size: 36px; line-height: 1.2; margin-bottom: 22px; }
.article-signoff p { font-size: 16px; line-height: 1.7; margin: 0 0 14px; }
.article-signoff .article-author { font-size: 14px; }
.article-signoff > a { display: inline-block; padding-bottom: 4px; margin-top: 10px; border-bottom: 1px solid; font-weight: 600; font-size: 14px; }
.article-page .post-navigation { display: block; border-block: 1.5px solid var(--border); margin-top: 24px; }
.article-page .post-navigation .nav-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; padding: 28px 0; }
.article-page .nav-next { text-align: right; }
.article-nav-label { display: block; font-size: 13px; margin-bottom: 10px; }
.article-nav-title { display: block; font-family: 'Barlow Condensed', Impact, sans-serif; font-size: 28px; line-height: 1.2; }
.article-page .post-navigation a:hover .article-nav-title { text-decoration: underline; text-underline-offset: 4px; }
.article-page .comments-area { max-width: 740px; margin-inline: auto; }
.article-page .post-password-form input { border: 1px solid; background: transparent; padding: 8px; max-width: 100%; }
.article-page .post-password-form input[type='submit'] { background: var(--foreground); color: var(--background); cursor: pointer; }
.home-journal { margin: 48px 0 12px; }
.home-journal-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; border-top: 2px solid var(--border); padding-top: 28px; margin-bottom: 24px; }
.home-journal-heading h2 { font-family: 'Barlow Condensed', Impact, sans-serif; font-size: 42px; font-weight: 700; line-height: 1.1; margin-top: 14px; }
.home-journal-heading h2 em { font-family: 'Caveat', cursive; font-weight: 600; }
.home-journal-heading .out-link { flex-shrink: 0; margin: 0; }
.home-journal .journal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-journal .journal-card h2 { font-size: 32px; }
.home-journal .journal-card-copy { padding: 24px; }
@media (max-width: 900px) {
  .journal-masthead { grid-template-columns: 1fr; gap: 20px; }
  .journal-handnote { justify-self: end; font-size: 27px; }
  .journal-card-featured .journal-card-image { min-height: 0; }
  .home-journal .journal-grid { grid-template-columns: minmax(0, 1fr); }
  .home-journal .journal-card-link { display: grid; grid-template-columns: 1fr 1.3fr; }
  .home-journal .journal-card-text .journal-card-link { display: block; }
  .home-journal .journal-card-image { aspect-ratio: auto; border-bottom: 0; border-right: 1px solid; }
  .home-journal .journal-card-copy { min-height: 0; }
}
@media (max-width: 700px) {
  .journal-edition { font-size: 10px; letter-spacing: .7px; }
  .journal-edition span:last-child { display: none; }
  .journal-masthead { margin-bottom: 32px; }
  .journal-masthead h1 { font-size: clamp(46px, 10vw, 68px); letter-spacing: -1px; }
  .journal-intro { font-size: 17px; }
  .journal-handnote { font-size: 25px; }
  .journal-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .journal-card-featured .journal-card-link { display: flex; }
  .journal-card-featured .journal-card-image { aspect-ratio: 16 / 9; border-right: 0; border-bottom: 1.5px solid var(--border); }
  .journal-card-text:not(.journal-card-featured) .journal-card-copy { min-height: 0; }
  .journal-card h2, .journal-card-featured h2 { font-size: 36px; }
  .article-heading { padding-top: 28px; }
  .article-deck { font-size: 19px; }
  .article-content { font-size: 17px; line-height: 1.8; }
  .article-content h2 { font-size: 32px; }
  .article-content h3 { font-size: 27px; }
  .article-featured-image { margin-bottom: 30px; }
  .article-signoff { padding: 24px; }
  .article-nav-title { font-size: 24px; }
  .article-page .post-navigation .nav-links { gap: 20px; }
  .home-journal-heading { display: block; }
  .home-journal-heading .out-link { margin-top: 20px; }
  .home-journal .journal-card-link { display: flex; }
  .home-journal .journal-card-image { aspect-ratio: 16 / 9; border-right: 0; border-bottom: 1px solid; }
}
@media (max-width: 400px) {
  .site-header nav { gap: 12px; }
  .site-header nav a { font-size: 12px; }
  .journal-masthead { padding: 22px; }
  .journal-masthead h1 { font-size: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  .journal-card-image img { transition: none; }
  .journal-card-link:hover .journal-card-image img { transform: none; }
}


/* Let navigation, panels and editable labels reflow on narrow screens. */
header { flex-wrap: wrap; gap: 16px 24px; }
header nav { flex-wrap: wrap; gap: 14px 25px; max-width: 100%; }
header .brand, header nav > a { max-width: 100%; overflow-wrap: anywhere; }
.grid > *, .contact > *, .cover > * { min-width: 0; }
.panel, .contact-copy, .chapter, footer { overflow-wrap: anywhere; }
.contact-button, .cover-play, .game-home-button { max-width: 100%; white-space: normal; }
@media (max-width: 700px) {
  header nav { gap: 12px 18px; }
  .contact h2 { font-size: clamp(38px, 10vw, 55px); }
}

/* Keep reading content inside the page without hiding horizontal overflow. */
.article-page { padding-top: clamp(24px, 4vw, 40px); }
.journal-section-label, .journal-card-topline { flex-wrap: wrap; }
.journal :is(.journal-masthead, .journal-card-link, .article-meta, .nav-links) > * { min-width: 0; }
.journal :is(img, video, iframe), .entry-content :is(video, iframe) { max-width: 100%; }
.article-content :is(pre, .wp-block-table) { max-width: 100%; overflow-x: auto; }
.article-content pre { white-space: pre; overflow-wrap: normal; }
.journal .comment-form input, .journal .comment-form textarea { max-width: 100%; }
@media (max-width: 400px) {
  .article-page .post-navigation .nav-links { grid-template-columns: minmax(0, 1fr); }
  .article-page .nav-next { text-align: left; }
  .journal-masthead h1 { font-size: clamp(36px, 11vw, 46px); }
}
