:root {
  color-scheme: dark;
  --bg: #19120e;
  --panel: #1d1611;
  --ink: #fff3e3;
  --muted: #bbaa96;
  --nav-ink: #e0d0bd;
  --line: #ffffff17;
  --accent: #e2bb93;
  --lime: #d1d990;
  --nav: 258px;
  --story: 340px;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
}
body {
  font-size: 16px;
  line-height: 1.5;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}
button:active {
  transform: scale(0.96);
}
button,
a {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 5px;
}
::selection {
  background: #c6d386;
  color: #19120e;
}
p {
  margin: 0 0 22px;
}
h1,
h2,
h3 {
  font-size: inherit;
  line-height: 1.35;
  margin: 0;
  font-weight: 500;
}
img {
  display: block;
  max-width: 100%;
}
.workspace {
  display: grid;
  grid-template-columns: var(--nav) var(--story) minmax(0, 1fr);
  height: 100dvh;
  padding: 16px;
  gap: 1px;
  background-color: #241b13;
  background-image:
    linear-gradient(#ffffff02 1px, transparent 1px),
    linear-gradient(90deg, #ffffff02 1px, transparent 1px);
  background-size: 8px 8px;
}
.sidebar {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--bg);
  min-height: 0;
  overflow: auto;
}
.identity {
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}
.identity-mark {
  font-size: 25px;
  color: var(--lime);
  line-height: 1;
}
.bio {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 30px;
}
nav {
  display: grid;
  gap: 3px;
}
nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  padding: 7px 0;
  color: var(--nav-ink);
  transition: color 0.15s;
}
nav a span:last-child {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  opacity: 0.5;
}
nav a:hover,
nav a.active {
  color: var(--ink);
}
nav a.active span:first-child:after {
  content: " ·";
  color: var(--lime);
  font-weight: 700;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 40px;
}
.location {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 17px;
}
#clock {
  font-variant-numeric: tabular-nums;
}
.socials {
  display: grid;
  gap: 5px;
  justify-items: start;
}
.socials a,
.socials button {
  color: var(--accent);
  font-size: 14px;
  padding: 2px 0;
}
.socials a:hover,
.socials button:hover {
  color: var(--ink);
}
.utilities {
  border-top: 1px solid var(--line);
  margin-top: 23px;
  padding-top: 15px;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}
.utilities > span {
  font-size: 11px;
  color: var(--muted);
}
#sound {
  font-size: 12px;
  min-width: 30px;
  min-height: 30px;
  color: var(--accent);
}
#content {
  background: var(--bg);
  padding: 24px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #4e3b2d transparent;
  min-width: 0;
  position: relative;
  outline: none;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 28px;
  gap: 16px;
}
.eyebrow {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.03em;
  margin: 0 0 8px;
}
.panel-head h1 {
  font-size: 20px;
  letter-spacing: -0.03em;
}
.close-panel {
  font-size: 23px;
  line-height: 1;
  min-width: 28px;
  min-height: 28px;
  color: var(--muted);
}
.close-panel:hover {
  color: var(--ink);
}
.intro {
  font-size: 27px;
  line-height: 1.24;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
  max-width: 290px;
}
.body-copy {
  font-size: 15px;
  line-height: 1.62;
  color: #ddcdbb;
}
.body-copy a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.body-copy strong {
  color: var(--ink);
  font-weight: 500;
}
.section-label {
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--muted);
  margin: 34px 0 12px;
}
.index-list {
  display: grid;
}
.index-link {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}
.index-link:hover {
  color: var(--accent);
}
.index-link.active {
  color: var(--ink);
}
.index-link small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}
.arrow {
  color: var(--accent);
  transition: translate 0.15s;
}
.index-link:hover .arrow {
  translate: 3px 0;
}
.portrait {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center 30%;
  margin: 24px 0;
  filter: saturate(0.7);
  outline: 1px solid #ffffff12;
}
.panel-note {
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 30px;
}
.visual {
  min-width: 0;
  position: relative;
  overflow: hidden;
  background: #576141;
  isolation: isolate;
}
#mosaic {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  z-index: -1;
  cursor: crosshair;
}
.visual-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  gap: 15px;
  color: #f6efdb;
  background: linear-gradient(transparent, #14150d75);
  pointer-events: none;
}
.visual-footer button {
  pointer-events: auto;
  font-size: 12px;
  display: flex;
  gap: 7px;
  align-items: center;
  color: inherit;
  min-height: 30px;
}
.visual-footer button:hover {
  color: white;
}
#visual-content {
  height: 100%;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #ffffff50 transparent;
}
.visual-empty {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
  padding: 28px;
}
.field-top {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #1c2815b0;
}
.field-signature {
  font-size: clamp(60px, 7.2vw, 122px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.87;
  color: #20311c99;
  padding-bottom: 50px;
}
.field-signature span {
  display: block;
}
.tile-detail {
  padding: 28px 28px 80px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: reveal 0.38s cubic-bezier(0.2, 0, 0, 1);
}
.media-card {
  width: 100%;
  background: #f6f2e8;
  color: #2d2924;
  box-shadow: 0 12px 50px #120c0528;
  outline: 1px solid #ffffff1a;
}
.media-card img {
  width: 100%;
  height: auto;
}
.media-card.chatellogo {
  padding: 50px 15px;
  background: white;
}
.caption {
  padding: 14px 16px;
  font-size: 12px;
  line-height: 1.5;
  background: #f6f2e8;
  color: #63594e;
}
.media-button {
  padding: 0;
  display: block;
  text-align: left;
  cursor: zoom-in;
  width: 100%;
  transition: transform 0.2s cubic-bezier(0.2, 0, 0, 1);
}
.media-button:hover {
  transform: translateY(-3px);
}
.media-button:active {
  transform: scale(0.99);
}
.project-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
  margin: 25px 0;
  border-block: 1px solid var(--line);
  padding: 18px 0;
  font-size: 13px;
}
.project-meta span {
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-bottom: 5px;
}
.back-link {
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 22px;
  display: inline-block;
}
.external {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e2bb9360;
  padding: 11px 0;
  margin-top: 24px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--accent);
}
.external:hover {
  color: var(--ink);
}
.item-list {
  display: grid;
  gap: 0;
}
.item-row {
  display: grid;
  grid-template-columns: 43px 1fr 14px;
  gap: 14px;
  align-items: center;
  min-height: 93px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  text-align: left;
}
.item-row.active,
.item-row:hover {
  color: var(--accent);
}
.item-row img {
  width: 43px;
  height: 56px;
  object-fit: contain;
  filter: saturate(0.8);
  transition: filter 0.15s;
}
.item-row:hover img {
  filter: saturate(1);
}
.item-row.podcast img {
  height: 43px;
  object-fit: cover;
}
.item-row h2 {
  font-size: 15px;
  line-height: 1.35;
}
.item-row p {
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
  margin: 4px 0 0;
}
.item-row .arrow {
  font-size: 14px;
}
.detail-sheet {
  width: min(100%, 480px);
  text-align: left;
  margin: auto;
}
.book-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 330px;
  margin-bottom: 30px;
}
.book-stage img {
  height: 100%;
  width: auto;
  max-width: 80%;
  object-fit: contain;
  filter: drop-shadow(14px 20px 12px #130b0b55);
  transform: rotate(-4deg);
  transition: transform 0.3s;
}
.book-stage:hover img {
  transform: rotate(0);
}
.detail-copy {
  background: var(--bg);
  padding: 26px;
  box-shadow: 0 15px 40px #0002;
}
.detail-copy h2 {
  font-size: 25px;
  letter-spacing: -0.03em;
  margin: 8px 0 12px;
}
.detail-copy .byline {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}
.detail-copy p {
  font-size: 15px;
  color: #ddcdbb;
  line-height: 1.6;
}
.detail-copy p:last-child {
  margin-bottom: 0;
}
.podcast-stage {
  width: 210px;
  height: 210px;
  margin: 0 auto 30px;
  box-shadow: 12px 20px 30px #0003;
}
.podcast-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tool-list {
  display: grid;
}
.tool {
  display: grid;
  grid-template-columns: 32px 1fr 16px;
  align-items: center;
  gap: 13px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.tool img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.tool h2 {
  font-size: 15px;
}
.tool p {
  font-size: 12px;
  color: var(--muted);
  margin: 3px 0 0;
}
.tool[href]:hover {
  color: var(--accent);
}
.project-wordmark {
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0e9d8;
  color: #31281c;
  font-size: clamp(28px, 4vw, 55px);
  letter-spacing: -0.07em;
  font-weight: 600;
}
.project-wordmark small {
  font-size: 0.4em;
  font-weight: 400;
  letter-spacing: 0;
  align-self: end;
}
.project-wordmark.loral {
  background: #f6f5f2;
  color: #171717;
  letter-spacing: normal;
  font-weight: 400;
  overflow: hidden;
}
.project-wordmark.loral img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  clip-path: inset(35% 0);
}
.photo-stack {
  display: grid;
  gap: 25px;
  width: 100%;
}
.quote-card {
  padding: 35px;
  color: #283023;
  font-size: clamp(25px, 3vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.04em;
  background: #d8dba9;
}
.quote-card small {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0;
  margin-top: 30px;
}
.mobile-title {
  display: none;
}
.skip {
  position: fixed;
  top: -50px;
  left: 20px;
  z-index: 100;
  background: var(--lime);
  color: #19120e;
  padding: 10px;
}
.skip:focus {
  top: 10px;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 15px);
  opacity: 0;
  pointer-events: none;
  background: var(--ink);
  color: var(--bg);
  padding: 12px 20px;
  font-size: 14px;
  z-index: 100;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
dialog {
  border: 0;
  padding: 45px 20px 20px;
  background: #19120ef7;
  color: var(--ink);
  width: min(1100px, 94vw);
  max-height: 94dvh;
}
dialog::backdrop {
  background: #090705dd;
  backdrop-filter: blur(7px);
}
dialog img {
  max-height: 75dvh;
  max-width: 100%;
  margin: auto;
  object-fit: contain;
}
dialog p {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin: 15px 0 0;
}
.lightbox-close {
  position: absolute;
  right: 10px;
  top: 4px;
  font-size: 28px;
  min-height: 40px;
  min-width: 40px;
}
@keyframes reveal {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.content-enter {
  animation: reveal 0.25s cubic-bezier(0.2, 0, 0, 1);
}
@media (min-width: 1500px) {
  :root {
    --nav: 290px;
    --story: 380px;
  }
  .sidebar,
  #content {
    padding: 30px;
  }
  .bio,
  .body-copy {
    font-size: 16px;
  }
  .intro {
    font-size: 31px;
  }
  .portrait {
    height: 260px;
  }
}
@media (max-width: 1000px) {
  :root {
    --nav: 215px;
    --story: 310px;
  }
  .workspace {
    padding: 10px;
  }
  .sidebar,
  #content {
    padding: 20px;
  }
  .tile-detail {
    padding: 20px 20px 70px;
  }
  .field-signature {
    font-size: 70px;
  }
  .visual-footer span {
    max-width: 150px;
  }
  .visual-footer button span {
    display: none;
  }
}
@media (max-width: 760px) {
  .workspace {
    grid-template-columns: 190px minmax(0, 1fr);
    height: auto;
    min-height: 100dvh;
  }
  .sidebar {
    position: sticky;
    top: 10px;
    height: calc(100dvh - 20px);
    grid-row: 1/3;
  }
  .visual {
    grid-column: 2;
    min-height: 520px;
  }
  #content {
    overflow: visible;
    min-height: 0;
  }
  .visual-empty {
    min-height: 520px;
  }
  .visual-footer {
    font-size: 11px;
  }
  .field-signature {
    font-size: 70px;
  }
  .tile-detail {
    min-height: 520px;
  }
  .intro {
    max-width: 100%;
  }
  .book-stage {
    height: 290px;
  }
  .sidebar-bottom {
    padding-top: 20px;
  }
  .location {
    display: block;
  }
  .location time {
    display: block;
  }
  .identity-mark {
    display: none;
  }
  .bio {
    font-size: 14px;
  }
}
@media (max-width: 520px) {
  .workspace {
    display: block;
    padding: 10px;
  }
  .sidebar {
    position: relative;
    top: 0;
    height: auto;
    padding: 18px 16px 0;
    overflow: visible;
  }
  .identity {
    margin-bottom: 11px;
    font-size: 17px;
  }
  .identity-mark {
    display: block;
    font-size: 24px;
  }
  .bio {
    margin-bottom: 18px;
    max-width: 260px;
    font-size: 14px;
  }
  .bio br {
    display: none;
  }
  nav {
    display: flex;
    gap: 5px;
    overflow: auto;
    margin: 0 -16px;
    padding: 0 12px 12px;
    scrollbar-width: none;
  }
  nav a {
    font-size: 13px;
    white-space: nowrap;
    min-height: 38px;
    padding: 6px 10px;
    border: 1px solid var(--line);
  }
  nav a.active {
    background: #32261b;
    border-color: #92704b80;
  }
  nav a span:last-child {
    display: inline;
  }
  nav a.active span:first-child:after {
    content: "";
  }
  .sidebar-bottom {
    padding: 12px 0 0;
    margin: 0;
    border-top: 1px solid var(--line);
  }
  .sidebar-bottom .location,
  .utilities > span {
    display: none;
  }
  .socials {
    display: flex;
    gap: 18px;
    align-items: center;
  }
  .socials a,
  .socials button {
    font-size: 12px;
  }
  .utilities {
    border: 0;
    margin: 0;
    padding: 0;
    position: absolute;
    bottom: -2px;
    right: 12px;
  }
  .socials {
    padding-bottom: 12px;
    padding-right: 35px;
  }
  #content {
    padding: 24px 16px;
    min-height: auto;
    border-top: 1px solid var(--line);
  }
  .panel-head {
    margin-bottom: 24px;
  }
  .intro {
    font-size: 31px;
    max-width: 330px;
  }
  .body-copy {
    font-size: 16px;
  }
  .portrait {
    height: 270px;
    object-position: center 30%;
  }
  .visual {
    min-height: 470px;
    margin-top: 1px;
  }
  .tile-detail {
    min-height: 470px;
    padding: 25px 20px 70px;
  }
  .visual-empty {
    min-height: 470px;
  }
  .field-signature {
    font-size: 82px;
  }
  .item-row {
    min-height: 95px;
  }
  .item-row h2 {
    font-size: 16px;
  }
  .visual-footer {
    padding: 12px 16px;
  }
  .detail-copy {
    padding: 22px;
  }
  .book-stage {
    height: 300px;
  }
  .project-wordmark {
    height: 220px;
  }
  .close-panel {
    min-width: 34px;
    min-height: 34px;
  }
  .item-row {
    scroll-margin-top: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .book-stage img {
    transform: none;
  }
}

/* Give the art its own row before the reading panes become too narrow. */
.visual {
  container-type: inline-size;
}
.field-signature {
  font-size: clamp(40px, 12cqw, 110px);
  overflow-wrap: normal;
}
.field-top {
  color: #142010;
}
.field-signature {
  color: #20311c99;
}
@media (min-width: 761px) and (max-width: 980px) {
  .workspace {
    grid-template-columns: 215px minmax(0, 1fr);
    height: auto;
    min-height: 100dvh;
  }
  .sidebar {
    position: sticky;
    top: 10px;
    height: calc(100dvh - 20px);
    grid-row: 1/3;
  }
  .visual {
    grid-column: 2;
    min-height: 520px;
  }
  #content {
    overflow: visible;
    min-height: 0;
  }
  .visual-empty,
  .tile-detail {
    min-height: 520px;
  }
  .intro {
    max-width: 360px;
  }
}

@font-face {
  font-family: Lora;
  src: url("media/lora-regular.ttf") format("truetype");
  font-weight: 400 500;
  font-display: swap;
}
@font-face {
  font-family: Lora;
  src: url("media/lora-semibold.ttf") format("truetype");
  font-weight: 600 700;
  font-display: swap;
}
:root {
  font-family: Lora, Georgia, serif;
}
.identity {
  font-size: 19px;
  letter-spacing: -0.035em;
}
.bio {
  font-size: 14px;
  line-height: 1.7;
}
.intro {
  font-size: 27px;
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.35;
}
.body-copy {
  font-size: 15px;
  line-height: 1.75;
}
.panel-head h1 {
  font-size: 20px;
}
.eyebrow,
.section-label,
.field-top {
  letter-spacing: 0;
  text-transform: none;
}
.utilities {
  justify-content: flex-start;
}
.utilities > span,
.identity-mark {
  display: none;
}
.item-row h2,
.tool h2 {
  font-size: 15px;
}
nav a {
  font-size: 16px;
}
.field-signature {
  font-style: italic;
  letter-spacing: -0.055em;
}
.detail-copy h2 {
  font-weight: 400;
}
.panel-note {
  line-height: 1.65;
}
.sidebar-bottom .socials {
  gap: 6px;
}
@media (max-width: 520px) {
  nav a {
    font-size: 13px;
  }
  .body-copy {
    font-size: 16px;
  }
  .intro {
    font-size: 29px;
  }
  .identity {
    font-size: 21px;
  }
  .utilities {
    bottom: 0;
  }
  .socials {
    gap: 13px;
  }
  .socials a,
  .socials button {
    font-size: 12px;
  }
}

/* Quiet, compact reading panels. */
.location {
  display: block;
  font-size: 13px;
  line-height: 1.7;
}
.home-portrait {
  height: 185px;
  margin: 0 0 23px;
  object-position: center 30%;
}
.index-link {
  padding: 13px 0;
}
.index-link small {
  font-size: 11px;
}
.panel-head {
  margin-bottom: 22px;
}
.content-enter {
  animation: none;
}
.tile-detail {
  animation: panel-in 0.22s cubic-bezier(0.2, 0, 0, 1);
}
.visual-footer:has(#visual-label:empty) {
  display: none;
}
.project-meta {
  margin-top: 0;
}
.caption {
  font-size: 12px;
}
.visual-empty {
  pointer-events: none;
}
.sidebar-bottom .utilities {
  margin-top: 16px;
}
.detail-copy {
  padding: 23px;
}
.detail-copy h2 {
  font-size: 23px;
  margin-top: 0;
}
.detail-copy .byline {
  margin-bottom: 13px;
}
@keyframes panel-in {
  from {
    transform: translateX(6px);
  }
  to {
    transform: translateX(0);
  }
}
@media (max-width: 520px) {
  .sidebar-bottom .location {
    display: block;
    font-size: 12px;
    margin-bottom: 10px;
  }
  .utilities {
    bottom: 0;
  }
  .home-portrait {
    height: 220px;
  }
  .sidebar-bottom .socials {
    gap: 18px;
  }
  .panel-head {
    margin-bottom: 20px;
  }
}

nav a > span {
  font-size: inherit;
  opacity: 1;
}

.media-link {
  cursor: pointer;
}

.jbt-logo .media-button { background: #fff; padding: 58px 36px; display: flex; justify-content: center; }
.jbt-logo .media-button img { width: min(100%, 273px); height: auto; object-fit: contain; }
.press-card { display: block; padding: 0; background: #f6f2e8; color: #2d2924; text-decoration: none; transition: transform .2s ease; }
.press-card:hover { transform: translateX(3px); }
.press-source { font-size: 11px; color: #63594e; }
.press-card h2 { font-size: 24px; line-height: 1.2; margin: 15px 0 10px; }
.press-card p { font-size: 13px; line-height: 1.5; }
.press-action { display: block; font-size: 13px; margin-top: 22px; }

.media-card.sovani-wordmark { padding: 36px 24px; background: #f5efe7; }

.book-takeaway summary { list-style: none; cursor: pointer; }
.book-takeaway summary::-webkit-details-marker { display: none; }
.book-takeaway summary:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.book-takeaway[open] summary { margin-bottom: 18px; }
.book-takeaway[open] summary span { transform: rotate(180deg); }
.takeaway-copy { animation: reveal .2s ease; }
@media (prefers-reduced-motion: reduce) { .takeaway-copy { animation: none; } }

.event-link.active { color: #fff4df; }
.event-photo img { display: block; width: 100%; height: auto; }

.media-card.rounded-media { border-radius: 8px; overflow: hidden; }

.jbt-logo .media-button img { width: min(100%, 320px); }
.press-card { border-radius: 8px; overflow: hidden; }

.item-row.podcast img,
.podcast-stage,
.podcast-stage img {
  border-radius: 8px;
}
.podcast-stage {
  overflow: hidden;
}

.tool-list img[src$="codex.webp"],
.tool-list img[src$="supermemory-logo.png"] {
  border-radius: 8px;
}

.event-photo {
  border-radius: 8px;
  overflow: hidden;
}
.event-photo img {
  border-radius: 8px;
}

.home-portrait {
  border-radius: 8px;
}

.tool-list img[src$="wispr-flow.png"],
.tool-list img[src$="granola.png"],
.tool-list img[src$="factory.svg"],
.tool-list img[src$="runway-icon.png"],
.tool-list img[src$="cursor.png"] { border-radius: 8px; }

.media-card img[src$="san-diego.png"] {
  aspect-ratio: 2432 / 1522;
  object-fit: cover;
  object-position: center 5%;
  transform: scale(1.04);
}
.media-card:has(img[src$="san-diego.png"]) .media-button {
  overflow: hidden;
}

.tool-list img[src$="taste-logo.png"] {
  filter: brightness(0) invert(1);
}

/* Keep the same background inset on every project, including single-image pages. */
.tile-detail.project-gallery {
  justify-content: flex-start;
  padding: 28px;
}
.project-gallery .photo-stack { gap: 24px; }
#project-summary {
  min-height: 0;
}
.project-current-title {
  margin: 0 0 14px;
  font-size: 23px;
  line-height: 1.2;
  font-weight: 500;
}
.projects-switch-label {
  margin: 22px 0 6px;
}
.projects-index .index-link {
  min-height: 40px;
  padding: 9px 0;
  align-items: center;
}
.projects-index .index-link small {
  display: none;
}
#project-summary .body-copy p {
  margin: 0 0 18px;
}
#project-summary.summary-updated {
  animation: project-summary-in 180ms ease-out;
}
@keyframes project-summary-in {
  from { opacity: .65; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.project-notes {
  margin-bottom: 18px;
  color: #ddcdbb;
  font-size: 13px;
  line-height: 1.6;
}
.project-notes summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 11px 0;
  color: var(--accent);
  cursor: pointer;
  list-style: none;
  border-block: 1px solid var(--line);
}
.project-notes summary::-webkit-details-marker { display: none; }
.project-notes summary span { transition: transform 180ms ease; }
.project-notes[open] summary span { transform: rotate(90deg); }
.project-notes p { margin: 15px 0 0; }
.press-cover { display: block; width: 100%; height: auto; }
.press-copy { padding: 24px; }
@media (max-width: 900px) {
  .tile-detail.project-gallery { padding: 20px; }
  .project-gallery .photo-stack { gap: 20px; }
}

/* Each collection scrolls naturally; the index remains a shortcut. */
#visual-content.book-scroll,
#visual-content.panel-scroll {
  position: relative;
  height: 100%;
  scroll-snap-type: y proximity;
  overscroll-behavior-y: contain;
}
.book-panel,
.scroll-panel {
  min-height: 100%;
  padding: 28px;
  display: flex;
  align-items: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.scroll-panel .photo-stack,
.scroll-panel .detail-sheet { margin: auto; }
.project-panel .photo-stack,
.event-panel .photo-stack { margin: auto 0; }
.book-panel .book-stage { height: clamp(180px, 34dvh, 330px); margin-bottom: 24px; }
.book-panel .detail-sheet { margin: auto; }
@media (max-width: 980px) {
  #visual-content.book-scroll,
  #visual-content.panel-scroll { height: calc(100dvh - 20px); }
  .book-panel,
  .scroll-panel { padding: 24px 20px; }
  #content { min-height: auto; }
  .visual { height: calc(100dvh - 20px); }
}
@media (max-width: 520px) {
  .index-list,
  .item-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    margin-inline: -16px;
    padding-inline: 16px;
    padding-bottom: 8px;
  }
  .index-list::-webkit-scrollbar,
  .item-list::-webkit-scrollbar { display: none; }
  .index-link {
    flex: 0 0 min(48vw, 185px);
    min-height: 84px;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 8px;
    align-items: flex-start;
    scroll-snap-align: start;
  }
  .index-link.active { border-color: var(--accent); }
  .index-link .arrow { align-self: flex-end; }
  .item-row {
    flex: 0 0 min(58vw, 220px);
    grid-template-columns: 38px 1fr;
    gap: 10px;
    min-height: 80px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    scroll-snap-align: start;
  }
  .item-row.active { border-color: var(--accent); }
  .item-row img { width: 38px; height: 50px; }
  .item-row.podcast img { height: 38px; }
  .item-row .arrow { display: none; }
  .item-row h2 { font-size: 14px; }
  .item-row p { font-size: 11px; }
  #visual-content.book-scroll,
  #visual-content.panel-scroll,
  .visual { height: min(72dvh, 620px); }
  .visual { min-height: 0; }
  .book-panel,
  .scroll-panel { padding: 20px 16px; }
  .book-panel .book-stage { height: clamp(145px, 28dvh, 230px); }
  .podcast-stage { width: min(42vw, 170px); height: min(42vw, 170px); margin-bottom: 20px; }
}

.mobile-menu-button,
.mobile-footer,
.mobile-project-copy { display: none; }

@media (max-width: 600px) {
  html { scroll-padding-top: 68px; }
  .workspace {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: auto;
    gap: 0;
    padding: 0;
    background: var(--bg);
  }
  .sidebar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0 12px;
    min-height: 0;
    height: auto;
    padding: 9px 18px;
    overflow: visible;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
  }
  .identity {
    margin: 0;
    font-size: 19px;
  }
  .mobile-menu-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 76px;
    min-height: 44px;
    padding: 8px 11px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    font-size: 13px;
  }
  .mobile-menu-button span { font-family: Arial, sans-serif; font-size: 16px; line-height: 1; }
  .sidebar .bio,
  .sidebar-bottom { display: none; }
  .sidebar nav {
    display: none;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin: 10px 0 4px;
    padding: 0;
    overflow: visible;
  }
  .sidebar.menu-open nav { display: grid; }
  .sidebar nav a {
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 14px;
    white-space: normal;
  }
  .sidebar nav a.active { border-color: var(--accent); }
  #content {
    width: 100%;
    min-height: 0;
    padding: 22px 18px 14px;
    overflow: visible;
    border: 0;
  }
  .panel-head { margin-bottom: 16px; }
  .panel-head h1 { font-size: 23px; }
  .content-enter { animation: none; }
  .visual {
    width: 100%;
    min-height: 0;
    height: auto !important;
    margin: 0;
    overflow: visible;
    background: var(--bg);
  }
  .visual:has(.visual-empty),
  .visual canvas,
  .visual-footer { display: none; }
  #visual-content,
  #visual-content.book-scroll,
  #visual-content.panel-scroll {
    height: auto;
    overflow: visible;
    scroll-snap-type: none;
    overscroll-behavior-y: auto;
  }
  .book-panel,
  .scroll-panel {
    display: block;
    min-height: 0;
    padding: 20px 18px 28px;
    scroll-margin-top: 68px;
    scroll-snap-align: none;
    border-top: 1px solid var(--line);
  }
  .book-panel .detail-sheet,
  .scroll-panel .detail-sheet,
  .scroll-panel .photo-stack { width: 100%; margin: 0; }
  .project-panel .photo-stack { gap: 16px; }
  .book-panel .book-stage { height: clamp(160px, 28dvh, 240px); }
  .media-button:hover,
  .press-card:hover { transform: none; }
  .mobile-project-copy {
    display: block;
    margin-bottom: 20px;
  }
  .mobile-project-copy .project-current-title { font-size: 22px; }
  .mobile-project-copy .project-meta { margin-bottom: 16px; }
  .mobile-project-copy .body-copy { font-size: 15px; }
  #project-summary,
  .projects-switch-label { display: none; }
  .projects-index {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin: 0 -18px;
    padding: 0 18px 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .projects-index .index-link {
    flex: 0 0 auto;
    width: auto;
    min-height: 44px;
    padding: 9px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 13px;
    white-space: nowrap;
  }
  .projects-index .arrow { display: none; }
  .mobile-footer {
    display: block;
    padding: 25px 18px max(24px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
  }
  .mobile-footer p { margin-bottom: 14px; }
  .mobile-footer div { display: flex; flex-wrap: wrap; gap: 18px; }
  .mobile-footer a,
  .mobile-footer button { color: var(--accent); padding: 6px 0; font-size: 13px; }
}
