:root {
  --paper: #f7f3ec;
  --ink: #141414;
  --muted: #4a4a47;
  --line: #e3ddd2;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    17px/1.75 Inter,
    Arial,
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
}
a,
button,
img {
  transition:
    opacity 0.25s,
    background 0.25s,
    color 0.25s,
    transform 0.4s;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}
h1,
h2,
h3,
.serif {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  line-height: 1.06;
  margin: 0;
}
h1 {
  font-size: clamp(65px, 8.5vw, 145px);
  letter-spacing: -0.05em;
}
h2 {
  font-size: clamp(44px, 5vw, 78px);
  letter-spacing: -0.035em;
}
h3 {
  font-size: 35px;
  letter-spacing: -0.02em;
}
p {
  max-width: 65ch;
  color: var(--muted);
}
header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--paper);
  padding: 19px 4%;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  font:
    30px "Cormorant Garamond",
    Georgia;
  white-space: nowrap;
  letter-spacing: -1px;
}
nav {
  display: flex;
  gap: 19px;
  align-items: center;
}
nav a {
  font-size: 11px;
  line-height: 1.4;
  position: relative;
}
nav a:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 1px;
  background: var(--ink);
  transition: width 0.25s;
}
nav a:hover:after,
nav a[aria-current="page"]:after {
  width: 100%;
}
.menu {
  display: none;
}
.plain {
  border: 0;
  background: none;
  color: var(--ink);
  padding: 6px;
}
.wrap {
  padding: 0 7%;
  max-width: 1800px;
  margin: auto;
}
.hero {
  padding-top: 64px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  column-gap: 8%;
  align-items: center;
}
.hero h1 {
  white-space: pre-line;
}
.hero h1 em {
  font-weight: 400;
}
.hero p {
  font-size: 16px;
  max-width: 350px;
  margin: 30px 0;
}
.hero .photo {
  height: 460px;
  position: relative;
  margin: 0 0 -55px;
}
.photo {
  overflow: hidden;
  background: var(--line);
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}
.photo:hover img {
  transform: scale(1.025);
}
.hero .photo:after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid #f7f3ec66;
  pointer-events: none;
}
.arrowlink {
  display: inline-flex;
  gap: 50px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--ink);
  font-size: 12px;
}
.arrowlink span {
  font-size: 22px;
  transition: transform 0.25s;
}
.arrowlink:hover span {
  transform: translateX(7px);
}
.hero-bottom {
  margin-top: 65px;
  padding: 24px 0 28px;
  width: 48%;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  max-width: 420px;
}
.category-rail {
  margin-top: 88px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  font-family: "Cormorant Garamond", Georgia;
  font-size: 23px;
}
.category-rail a:hover {
  font-style: italic;
}
.feature {
  padding: 100px 0;
  display: grid;
  grid-template-columns: 90px 1.3fr 1fr;
  gap: 34px;
  align-items: start;
}
.section-no {
  font: italic 23px "Cormorant Garamond";
  padding-top: 8px;
}
.feature h2 {
  white-space: pre-line;
}
.feature p {
  margin: 8px 0 22px;
  font-size: 16px;
}
.kind {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
  display: block;
}
.poetry {
  background: var(--ink);
  color: var(--paper);
  padding: 85px 7%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.poetry p {
  color: var(--paper);
}
.poetry h2 {
  font-size: 55px;
  white-space: pre-line;
}
.poetry blockquote {
  font: italic clamp(37px, 4vw, 62px)/1.22 "Cormorant Garamond";
  white-space: pre-line;
  margin: 0;
}
.poetry .arrowlink {
  border-color: var(--line);
  margin-top: 30px;
}
.art {
  padding: 110px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  align-items: center;
}
.art .photo {
  height: 490px;
}
.art h2 {
  white-space: pre-line;
}
.art p {
  font-size: 15px;
}
.booksection {
  padding: 70px 7% 90px;
  background: #fff;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 48px;
}
.section-heading p {
  font-size: 14px;
}
.books {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6%;
}
.bookstage {
  background: var(--paper);
  min-height: 310px;
  display: grid;
  place-items: center;
  padding: 35px;
  margin-bottom: 24px;
}
.bookcover {
  background: var(--line);
  color: var(--ink);
  width: 170px;
  height: 245px;
  border: 1px solid var(--muted);
  border-left: 7px double var(--muted);
  padding: 25px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  transform: rotate(-4deg);
  font-family: "Cormorant Garamond";
  line-height: 1.12;
}
.bookcover strong {
  font-size: 29px;
  font-weight: 500;
}
.bookcover small {
  font-size: 16px;
}
.bookstage:hover .bookcover {
  transform: rotate(0) translateY(-8px);
}
.books > article:nth-child(2) .bookcover {
  background: var(--ink);
  color: var(--paper);
  transform: rotate(3deg);
}
.bookcover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.books h3 {
  font-size: 28px;
}
.books p {
  font-size: 13px;
}
.books button {
  width: 100%;
  border: 0;
}
.bookauthor {
  font-size: 12px;
  color: var(--muted);
}
footer {
  padding: 70px 7% 25px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 60px;
}
.footer-top h2 {
  font-size: 60px;
}
.footer-links {
  display: flex;
  gap: 28px;
  font-size: 13px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  font-size: 11px;
  color: var(--muted);
}
.intro {
  padding: 70px 0 45px;
}
.intro h1 {
  font-size: clamp(60px, 7vw, 105px);
}
.intro p {
  max-width: 550px;
}
.filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 25px;
  margin-bottom: 35px;
}
.filters input {
  width: 260px;
  margin-right: auto;
}
.filters button {
  font-size: 12px;
  padding: 8px 15px;
  border: 1px solid var(--line);
  background: transparent;
}
.filters button.active {
  background: var(--ink);
  color: var(--paper);
}
input,
textarea,
select {
  border: 1px solid var(--line);
  padding: 12px;
  background: transparent;
  color: var(--ink);
  border-radius: 0;
}
input {
  font-size: 14px;
}
.collection {
  min-height: 45vh;
  padding-bottom: 80px;
}
.list-item {
  display: grid;
  grid-template-columns: 60px 1.3fr 1fr 30px;
  gap: 25px;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.list-item p {
  font-size: 14px;
}
.list-item:hover h3 {
  font-style: italic;
}
.poemcards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.poemcard {
  padding: 55px 35px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
}
.poemcard pre {
  font: 24px/1.8 "Cormorant Garamond";
  white-space: pre-wrap;
}
.reading {
  max-width: 780px;
  padding: 65px 24px 100px;
  margin: auto;
}
.reading.wide {
  max-width: 1150px;
}
.reading h1 {
  font-size: clamp(50px, 6vw, 87px);
  margin: 35px 0;
}
.reading .standfirst {
  font: 26px/1.45 "Cormorant Garamond";
  margin-bottom: 40px;
}
.bodycopy {
  white-space: pre-wrap;
  font-size: 18px;
  line-height: 1.9;
}
.bodycopy.poem {
  font: 28px/1.9 "Cormorant Garamond";
  text-align: center;
  margin: 55px 0;
}
.bodycopy.monologue {
  font: 27px/1.75 "Cormorant Garamond";
}
.reading-tools {
  display: flex;
  gap: 15px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
  margin: 25px 0;
}
.reading-tools button {
  font-size: 12px;
}
.parallel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin: 40px 0;
}
.parallel > div {
  border-top: 1px solid var(--line);
  padding-top: 25px;
}
.parallel p {
  white-space: pre-wrap;
  font:
    25px/1.8 "Cormorant Garamond",
    Georgia;
}
.art-reading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.art-reading img {
  width: 100%;
}
.art-reading button {
  padding: 0;
  border: 0;
  background: none;
}
.about {
  display: grid;
  grid-template-columns: 0.65fr 1fr;
  gap: 10%;
  padding: 75px 0 100px;
}
.monogram {
  height: 400px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  font: 140px "Cormorant Garamond";
  font-style: italic;
}
.about h1 {
  font-size: 80px;
  white-space: pre-line;
}
.about p {
  white-space: pre-line;
}
.contact {
  margin-top: 60px;
  padding-top: 35px;
  border-top: 1px solid var(--line);
}
.contact h2 {
  font-size: 40px;
}
dialog {
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 30px;
  max-width: 95vw;
  max-height: 92vh;
}
dialog::backdrop {
  background: #141414dd;
}
dialog img {
  max-height: 70vh;
  max-width: 80vw;
}
dialog .bookcover {
  width: 260px;
  height: 380px;
  transform: none;
}
.progress {
  height: 2px;
  position: fixed;
  top: 0;
  left: 0;
  background: var(--ink);
  z-index: 30;
  width: 0;
}
.editor {
  max-width: 1000px;
  margin: auto;
  padding: 55px 24px;
}
.editor h1 {
  font-size: 65px;
}
.editor p {
  font-size: 14px;
}
.editor details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.editor summary {
  font: 32px "Cormorant Garamond";
  cursor: pointer;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 25px 0;
}
.fields label {
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.fields textarea {
  min-height: 100px;
  white-space: pre-wrap;
  font: 16px/1.5 Georgia;
}
.fields .full {
  grid-column: 1/-1;
}
.toolbar {
  position: sticky;
  top: 70px;
  background: var(--paper);
  z-index: 5;
  padding: 15px 0;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.solid {
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  padding: 11px 20px;
  font-size: 12px;
}
.solid:hover {
  color: var(--ink);
  background: var(--paper);
}
.status {
  font-size: 13px;
  min-height: 25px;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 20px;
  top: 80px;
  background: var(--paper);
  z-index: 40;
}
.reveal {
  animation: rise 0.7s both;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 1500px) {
  .hero .photo {
    height: 580px;
  }
}
@media (max-width: 1100px) {
  nav {
    gap: 11px;
  }
  nav a {
    font-size: 10px;
  }
  .hero .photo {
    height: 380px;
  }
  .category-rail {
    font-size: 19px;
  }
  .feature {
    grid-template-columns: 40px 1fr 1fr;
  }
}
@media (max-width: 800px) {
  header {
    padding: 16px 6%;
  }
  .menu {
    display: block;
  }
  nav {
    display: none;
    position: absolute;
    top: 69px;
    left: 0;
    right: 0;
    padding: 25px 6%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: start;
    gap: 20px;
  }
  nav.open {
    display: flex;
  }
  nav a {
    font-size: 15px;
  }
  .wrap {
    padding: 0 6%;
  }
  .hero {
    padding-top: 40px;
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .hero h1 {
    font-size: 76px;
  }
  .hero p {
    max-width: 100%;
  }
  .hero .photo {
    height: 330px;
    margin: 0;
  }
  .hero-bottom {
    width: 100%;
    margin-top: 25px;
    max-width: none;
  }
  .category-rail {
    margin-top: 20px;
    overflow: auto;
    justify-content: start;
    white-space: nowrap;
    gap: 28px;
    padding: 17px 0;
  }
  .feature {
    padding: 55px 0;
    grid-template-columns: 30px 1fr;
    gap: 20px;
  }
  .feature > div:last-child {
    grid-column: 2;
  }
  .poetry {
    padding: 55px 7%;
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .poetry h2 {
    font-size: 42px;
  }
  .art {
    padding: 60px 0;
    gap: 35px;
    grid-template-columns: 1fr;
  }
  .art .photo {
    height: 360px;
  }
  .books {
    gap: 20px;
    grid-template-columns: 1fr;
  }
  .bookstage {
    min-height: 300px;
  }
  .section-heading {
    align-items: start;
  }
  .section-heading .arrowlink {
    white-space: nowrap;
    gap: 15px;
  }
  .footer-top {
    display: block;
  }
  .footer-links {
    margin-top: 30px;
    flex-wrap: wrap;
  }
  .footer-top h2 {
    font-size: 48px;
  }
  .footer-bottom {
    flex-wrap: wrap;
  }
  .list-item {
    grid-template-columns: 25px 1fr 20px;
    gap: 15px;
  }
  .list-item p {
    grid-column: 2;
  }
  .list-item > span:last-child {
    grid-column: 3;
    grid-row: 1;
  }
  .poemcards,
  .parallel,
  .art-reading,
  .about,
  .fields {
    grid-template-columns: 1fr;
  }
  .about {
    gap: 35px;
  }
  .about h1 {
    font-size: 65px;
  }
  .monogram {
    height: 220px;
  }
  .fields .full {
    grid-column: auto;
  }
  .reading h1 {
    font-size: 55px;
  }
  .toolbar {
    top: 65px;
  }
  .intro {
    padding-top: 45px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
@media print {
  header,
  footer,
  .reading-tools,
  .back,
  .progress {
    display: none;
  }
  .reading {
    max-width: 100%;
    padding: 0;
  }
  .bodycopy {
    color: #141414;
  }
}
.hero .photo {
  clip-path: inset(0);
  border-radius: 48% 48% 0 0;
}
.hero .photo:after {
  inset: 18px;
  border-radius: 48% 48% 0 0;
}
.hero h1 {
  font-size: clamp(70px, 8.2vw, 138px);
}
.reading-room {
  padding-top: 80px;
  padding-bottom: 90px;
  border-top: 1px solid var(--line);
}
.room-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}
.room-heading h2 {
  font-size: 53px;
}
.room-tabs {
  display: flex;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
.room-tabs button {
  border: 0;
  padding: 13px 0;
  background: none;
  color: var(--muted);
  font-size: 13px;
}
.room-tabs [aria-selected="true"] {
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
}
#room-content {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 50px;
  align-items: center;
  min-height: 330px;
  padding: 40px 0 0;
}
.room-number {
  font-size: 180px;
  line-height: 1;
  color: var(--line);
  font-style: italic;
}
#room-content h3 {
  font-size: 52px;
}
.room-excerpt {
  white-space: pre-line;
  max-width: 500px;
}
.contact-orbit {
  width: 190px;
  height: 190px;
  border: 1px solid var(--muted);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.contact-orbit span:last-child {
  font: 50px "Cormorant Garamond";
  transition: transform 0.3s;
}
.contact-orbit:hover {
  background: var(--ink);
  color: var(--paper);
}
.contact-orbit:hover span:last-child {
  transform: translate(5px, -5px);
}
.footer-top p {
  font-size: 13px;
}
.contact-page {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 9%;
  padding-top: 80px;
  padding-bottom: 100px;
}
.contact-page h1 {
  font-size: clamp(55px, 6vw, 95px);
}
.contact-page p {
  font-size: 15px;
}
.contact-flower {
  font: 160px "Cormorant Garamond";
  margin-top: 70px;
}
.letter-form {
  border: 1px solid var(--line);
  background: white;
  padding: 36px;
  position: relative;
}
.letter-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}
.letter-top .serif {
  font-size: 32px;
}
.letter-top > span:last-child {
  font-size: 35px;
}
.letter-form label,
.login-page label {
  display: block;
  font-size: 12px;
  margin-bottom: 22px;
}
.letter-form input,
.letter-form textarea,
.login-page input {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  font: 15px/1.6 Inter;
  background: none;
  resize: vertical;
}
.contact-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.letter-bottom {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}
.letter-bottom > span {
  font-size: 10px;
  max-width: 180px;
  color: var(--muted);
}
.letter-bottom button {
  white-space: nowrap;
}
.honeypot {
  position: absolute;
  left: -10000px;
}
.login-page {
  max-width: 470px;
  margin: auto;
  padding: 65px 24px 90px;
  text-align: center;
}
.login-mark {
  font-size: 65px;
  font-style: italic;
  margin-bottom: 35px;
}
.login-page h1 {
  font-size: 60px;
}
.login-page p {
  font-size: 13px;
  margin-bottom: 35px;
}
.login-page form {
  text-align: left;
  margin: 40px 0;
}
.login-page button {
  width: 100%;
}
.login-page .remember-session {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 12px 0 24px;
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
}
.login-page .remember-session input {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: none;
  margin: 1px 0 0;
  accent-color: var(--ink);
}
.inbox-title {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
}
.message summary small {
  font: 12px Inter;
  color: var(--muted);
  margin-left: 20px;
}
.message p {
  font-size: 16px;
}
@media (max-width: 800px) {
  .room-heading {
    display: block;
  }
  .room-heading h2 {
    font-size: 42px;
  }
  .room-tabs {
    margin-top: 25px;
    gap: 15px;
  }
  .room-tabs button {
    font-size: 12px;
  }
  #room-content {
    grid-template-columns: 60px 1fr;
    gap: 20px;
    min-height: 300px;
  }
  .room-number {
    font-size: 75px;
  }
  #room-content h3 {
    font-size: 38px;
  }
  .room-excerpt {
    font-size: 15px;
  }
  .contact-orbit {
    margin-top: 35px;
    width: 150px;
    height: 150px;
  }
  .contact-page {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 45px;
  }
  .contact-flower {
    display: none;
  }
  .letter-form {
    padding: 25px;
  }
  .contact-fields {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .letter-bottom {
    align-items: start;
    flex-direction: column;
  }
  .inbox-title {
    display: block;
  }
}
/* The studio shares the typography and quiet rhythm of the public website. */
.social-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin: 24px 0;
  font-size: 12px;
}
.social-links a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.newsletter {
  width: min(100%, 400px);
}
.newsletter > label:first-child {
  font-family: "Cormorant Garamond", serif;
  font-size: 32px;
}
.newsletter > div {
  display: flex;
  border-bottom: 1px solid #4a4a47;
  margin: 16px 0;
}
.newsletter input[type="email"] {
  border: 0;
  background: transparent;
  padding: 12px 0;
  width: 100%;
  font: inherit;
}
.newsletter .consent {
  display: flex;
  gap: 8px;
  align-items: start;
  font-size: 11px;
  line-height: 1.6;
}
.newsletter input[type="checkbox"] {
  accent-color: #141414;
  margin-top: 4px;
}
.newsletter [role="status"] {
  font-size: 12px;
}
.footer-links {
  flex-wrap: wrap;
  padding: 32px 0;
  gap: 18px;
  font-size: 12px;
}
.login-options {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 24px 0;
}
.login-options button {
  font-size: 12px;
}
.editor details {
  scroll-margin-top: 100px;
}
.editor textarea {
  resize: vertical;
  min-height: 64px;
  line-height: 1.7;
}
.editor textarea[data-path$="body"],
.editor textarea[data-path$="original"],
.editor textarea[data-path$="translation"] {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  white-space: pre-wrap;
  tab-size: 4;
}
.editor select,
.editor input[type="datetime-local"] {
  border: 1px solid #e3ddd2;
  background: #fff;
  color: #141414;
  padding: 14px;
  font: inherit;
  max-width: 100%;
  width: 100%;
}
.editor input[type="file"] {
  font-size: 12px;
  width: 100%;
  margin-top: 8px;
}
.editor small {
  font-size: 11px;
  letter-spacing: 0.08em;
  margin-left: 16px;
  font-family: Inter, sans-serif;
  font-weight: 400;
}
.format-note {
  font-size: 11px;
  color: #4a4a47;
  font-weight: 400;
  line-height: 1.6;
}
.studio-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 64px;
}
.studio-section h2 {
  font-size: 48px;
}
.book-edit {
  border-bottom: 1px solid #e3ddd2;
  padding: 32px 0;
}
.upload-preview {
  display: block;
  width: 104px;
  height: 144px;
  margin: 12px 0;
  border: 1px solid #e3ddd2;
  object-fit: contain;
  background: #fff;
}
.toolbar {
  position: sticky;
  top: 85px;
  z-index: 5;
  background: #f7f3ec;
  padding: 16px 0;
  border-bottom: 1px solid #e3ddd2;
  flex-wrap: wrap;
}
.toolbar button {
  font-size: 12px;
}
.toolbar #editor-status {
  flex-basis: 100%;
  min-height: 1em;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.bookcover img {
  object-fit: contain;
}
.bodycopy strong {
  font-weight: 600;
}
.parallel p {
  overflow-wrap: anywhere;
}
.room-tabs button[aria-selected="true"] {
  border-bottom: 1px solid #141414;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #141414;
  outline-offset: 5px;
}
.poetry a:focus-visible {
  outline-color: #f7f3ec;
}
.bookstage {
  transition: transform 0.25s ease;
}
.bookstage:hover {
  transform: translateY(-6px);
}
@media (max-width: 700px) {
  .toolbar {
    position: static;
  }
  .footer-top {
    gap: 48px;
  }
  .newsletter {
    width: 100%;
  }
  .inbox-title {
    flex-wrap: wrap;
  }
  .studio-section h2 {
    font-size: 36px;
  }
  .social-links {
    gap: 16px;
  }
  .contact-page h1 {
    font-size: 64px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* An open page, a fresco, and writing carried into the foreground. */
.opening {
  padding-top: 56px;
}
.opening-copy {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 10%;
  align-items: center;
  padding-bottom: 48px;
}
.opening h1 {
  font-size: clamp(64px, 7.5vw, 116px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.opening-copy p {
  font-size: 16px;
  max-width: 34ch;
  margin: 0 0 20px;
}
.masterpiece {
  margin: 0;
  position: relative;
  height: clamp(300px, 32vw, 480px);
  overflow: hidden;
  background: var(--line);
}
.masterpiece img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% 46%;
  filter: grayscale(1) contrast(0.88);
  display: block;
}
.masterpiece::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid #f7f3ec80;
  pointer-events: none;
}
.masterpiece figcaption {
  position: absolute;
  right: 28px;
  bottom: 26px;
  font-size: 10px;
  letter-spacing: 0.04em;
  background: var(--paper);
  padding: 4px 9px;
  color: var(--muted);
}
.front-piece {
  position: relative;
  margin: -72px 8% 0 0;
  padding: 40px 48px 36px 0;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 9%;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.front-piece h2 {
  font-size: clamp(42px, 4.5vw, 70px);
}
.front-piece .kind {
  margin-bottom: 14px;
}
.front-piece p {
  font-size: 15px;
  margin: 0 0 10px;
}
.front-piece h2 a:hover {
  opacity: 0.65;
}
.home-writing {
  padding-top: 64px;
  padding-bottom: 56px;
}
.home-writing .section-heading {
  margin-bottom: 30px;
}
.home-writing h2 {
  font-size: 38px;
}
.writing-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.writing-cards article {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: start;
}
.writing-cards h3 {
  font-size: 34px;
}
.writing-cards p {
  font-size: 15px;
}
.writing-cards .arrowlink {
  margin-top: auto;
}
.home-writing .category-rail {
  margin-top: 48px;
}
.scroll-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.scroll-reveal.in-view {
  opacity: 1;
  transform: none;
}
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .masterpiece img {
      animation: fresco-drift linear both;
      animation-timeline: scroll(root);
      animation-range: 0px 720px;
    }
    @keyframes fresco-drift {
      to {
        transform: scale(1.045);
        filter: grayscale(1) contrast(0.88) blur(1.2px);
      }
    }
  }
}
.share-dialog {
  width: min(1000px, 96vw);
  padding: 28px;
}
.share-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.share-heading h2 {
  font-size: 42px;
}
.share-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 32px;
  align-items: start;
}
.share-preview {
  background: var(--line);
  padding: 16px;
  position: sticky;
  top: 0;
}
.share-preview canvas {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line);
}
.share-options {
  min-width: 0;
}
.share-options label {
  display: block;
  font-size: 12px;
  margin: 16px 0;
}
.share-options textarea,
.share-options input {
  display: block;
  width: 100%;
  font-size: 16px;
  resize: vertical;
}
.share-switch {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}
.share-switch button {
  font-size: 13px;
  min-height: 44px;
}
.share-switch [aria-pressed="true"] {
  border-bottom: 1px solid var(--ink);
}
.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.share-actions button {
  min-height: 44px;
  font-size: 12px;
}
.share-help,
.share-options p {
  font-size: 12px;
  line-height: 1.7;
}
.share-options details {
  margin-top: 20px;
}
.share-options summary {
  cursor: pointer;
}
.reading-tools {
  flex-wrap: wrap;
}
.reading-tools .plain {
  min-height: 44px;
}
img {
  max-width: 100%;
}
.fields label,
.fields textarea,
.fields input,
.fields select {
  min-width: 0;
  max-width: 100%;
}
h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}
@media (max-width: 800px) {
  .opening {
    padding-top: 32px;
  }
  .opening-copy {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-bottom: 28px;
  }
  .opening h1 {
    font-size: clamp(58px, 15vw, 85px);
    max-width: 10ch;
  }
  .opening-copy p {
    font-size: 14px;
    line-height: 1.75;
    max-width: 40ch;
    margin-bottom: 8px;
  }
  .masterpiece {
    height: 250px;
    margin-left: -6.82%;
    margin-right: -6.82%;
  }
  .masterpiece img {
    object-position: 41% 45%;
  }
  .masterpiece::after {
    inset: 12px;
  }
  .masterpiece figcaption {
    bottom: 13px;
    right: 14px;
    font-size: 8px;
    padding: 3px 6px;
  }
  .front-piece {
    margin: 0;
    padding: 30px 0 32px;
    grid-template-columns: 1fr;
    gap: 18px;
    border-top: 1px solid var(--line);
  }
  .front-piece h2 {
    font-size: 43px;
  }
  .front-piece p {
    font-size: 14px;
  }
  .home-writing {
    padding-top: 38px;
    padding-bottom: 32px;
  }
  .writing-cards {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .writing-cards article {
    padding-top: 20px;
  }
  .writing-cards h3 {
    font-size: 33px;
  }
  .writing-cards .kind {
    margin-bottom: 12px;
  }
  .home-writing .category-rail {
    margin-top: 32px;
  }
  .share-dialog {
    padding: 20px;
    max-height: 94dvh;
  }
  .share-heading h2 {
    font-size: 32px;
  }
  .share-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .share-preview {
    position: static;
    max-width: 230px;
    margin: auto;
  }
  .share-options label {
    font-size: 13px;
  }
  .share-options textarea,
  .share-options input,
  input,
  select {
    font-size: 16px;
  }
  .reading-tools {
    gap: 8px;
  }
  .reading-tools .kind {
    width: 100%;
  }
  .room-tabs {
    flex-wrap: wrap;
    gap: 16px;
  }
  .room-tabs button,
  .menu,
  .filters button,
  .social-links a {
    min-height: 44px;
  }
  .editor h1 {
    font-size: clamp(42px, 12vw, 65px);
  }
  .editor summary {
    font-size: 27px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-reveal {
    opacity: 1;
    transform: none;
  }
  .masterpiece img {
    transform: none;
  }
}
.opening {
  padding-top: 40px;
}
.opening-copy {
  padding-bottom: 36px;
}
.masterpiece {
  height: clamp(280px, 27vw, 370px);
}
.masterpiece figcaption {
  top: 26px;
  bottom: auto;
  max-width: calc(100% - 56px);
}
@media (max-width: 800px) {
  .opening {
    padding-top: 28px;
  }
  .opening-copy {
    padding-bottom: 24px;
  }
  .opening h1 {
    font-size: clamp(50px, 14.8vw, 80px);
    max-width: none;
  }
  .masterpiece {
    height: 230px;
  }
  .masterpiece figcaption {
    top: 18px;
    right: 18px;
    max-width: calc(100% - 36px);
  }
}
.share-heading {
  position: sticky;
  top: -28px;
  z-index: 2;
  background: var(--paper);
  padding: 12px 0;
}
#close-share {
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 13px;
  min-height: 44px;
}
@media (max-width: 800px) {
  .share-heading {
    top: -20px;
  }
  .share-preview {
    max-width: 180px;
  }
}

.icon-arrow {
  width: 18px;
  height: 18px;
  flex: none;
  display: inline-block;
  vertical-align: -0.24em;
  stroke: currentColor;
}
.arrowlink .icon-arrow {
  width: 20px;
  height: 20px;
}
.arrowlink span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.newsletter .consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  margin-top: 14px;
  cursor: pointer;
  line-height: 1.5;
}
.newsletter input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  inline-size: 18px;
  block-size: 18px;
  min-width: 18px;
  margin: 0;
  border: 1px solid var(--muted);
  border-radius: 0;
  padding: 0;
  background: transparent;
  display: grid;
  place-items: center;
}
.newsletter input[type="checkbox"]:checked::after {
  content: "";
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(-45deg) translate(1px, -1px);
}
.newsletter .consent span {
  min-width: 0;
  overflow-wrap: normal;
  line-height: 1.5;
  padding-top: 1px;
}
.footer-top {
  gap: 48px;
}
.footer-top > div:first-child {
  min-width: 0;
}
@media (max-width: 800px) {
  .newsletter {
    max-width: 100%;
  }
  .newsletter .consent {
    font-size: 12px;
  }
  .arrowlink {
    gap: 24px;
  }
  .reading-tools button {
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }
}

/* Author workspace: a focused, iPhone-first editorial application. */
body.studio-mode {
  background: var(--paper);
}
body.studio-mode > header,
body.studio-mode > footer,
body.studio-mode > .progress {
  display: none;
}
body.studio-mode #main {
  min-height: 100dvh;
}
.studio-app.editor {
  max-width: 1240px;
  min-height: 100dvh;
  padding: 0 32px 120px 126px;
}
.studio-topbar {
  position: relative;
  inset: auto;
  padding: 32px 0 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
}
.studio-topbar h1,
.studio-page-heading h1 {
  font-size: clamp(48px, 6vw, 78px);
}
.studio-kicker {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.studio-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}
.studio-avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  font-size: 24px;
  font-style: italic;
}
.studio-toolbar {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 70px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.studio-toolbar > div:first-child {
  display: flex;
  gap: 8px;
}
.studio-toolbar .solid,
.studio-page-heading .solid,
.message-body .solid {
  min-height: 44px;
  border-radius: 999px;
  padding-inline: 22px;
}
.studio-more {
  min-height: 44px;
}
.studio-tools {
  position: absolute;
  top: calc(100% - 4px);
  right: 0;
  width: 250px;
  padding: 8px;
  border: 1px solid var(--line);
  background: #fff;
  z-index: 10;
}
.studio-tools button {
  width: 100%;
  min-height: 44px;
  text-align: left;
}
.studio-toolbar #editor-status {
  margin-left: auto;
  max-width: 420px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}
.studio-main {
  padding-top: 34px;
}
.studio-panel[hidden] {
  display: none;
}
.studio-welcome {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.7fr);
  align-items: end;
  gap: 32px;
  padding: 28px 0 34px;
}
.studio-welcome h2,
.studio-page-heading h2 {
  font-size: clamp(50px, 6.5vw, 86px);
}
.studio-welcome p,
.studio-page-heading p {
  margin: 12px 0 0;
  font-size: 14px;
}
.studio-primary-card {
  min-height: 122px;
  display: grid;
  grid-template-columns: 38px 1fr 24px;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  padding: 24px;
  text-align: left;
}
.studio-primary-card svg,
.studio-nav svg,
.audience-card > svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.studio-primary-card strong,
.studio-primary-card small {
  display: block;
}
.studio-primary-card strong {
  font: 25px/1.1 "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
}
.studio-primary-card small {
  margin-top: 6px;
  color: var(--line);
  font-size: 11px;
}
.studio-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: #fff;
}
.studio-metrics button {
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  padding: 24px;
  text-align: left;
}
.studio-metrics button:last-child {
  border-right: 0;
}
.studio-metrics strong,
.studio-metrics span {
  display: block;
}
.studio-metrics strong {
  font: 38px/1 "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
}
.studio-metrics span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
}
.studio-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 18px;
  margin-top: 18px;
}
.studio-card {
  border: 1px solid var(--line);
  background: #fff;
  padding: 28px;
}
.studio-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.studio-card h3,
.studio-card-head h3 {
  font-size: 34px;
}
.studio-recent > button {
  width: 100%;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 12px 0;
  text-align: left;
}
.studio-recent strong,
.studio-recent small {
  display: block;
}
.studio-recent strong {
  margin-top: 3px;
  font: 21px/1.2 "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
}
.studio-recent small {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  flex: none;
  min-height: 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  padding: 4px 9px;
  font: 9px/1 Inter, sans-serif;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.status-published,
.status-replied {
  border-color: var(--ink);
  color: var(--ink);
}
.status-new,
.status-draft {
  background: var(--paper);
  color: var(--ink);
}
.crm-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 28px 0 18px;
}
.crm-summary div {
  border-right: 1px solid var(--line);
}
.crm-summary div:last-child {
  border-right: 0;
}
.crm-summary strong,
.crm-summary span {
  display: block;
}
.crm-summary strong {
  font: 34px/1 "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
}
.crm-summary span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 10px;
}
.studio-page-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0 36px;
  border-bottom: 1px solid var(--line);
}
.studio-search {
  display: block;
  margin: 24px 0 8px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.studio-search input {
  display: block;
  width: 100%;
  min-height: 50px;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  padding: 12px 16px;
}
.studio-app details {
  padding: 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 92px;
}
.studio-app details > summary {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  font: 26px/1.15 "Cormorant Garamond", Georgia, serif;
}
.studio-app details > summary::-webkit-details-marker {
  display: none;
}
.studio-app details > summary::after {
  content: "+";
  flex: none;
  color: var(--muted);
  font: 20px Inter, sans-serif;
}
.studio-app details[open] > summary::after {
  content: "−";
}
.piece-list details > summary > span,
.message-list details > summary > span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.piece-list details > summary small,
.message-list details > summary small,
.book-edit summary small {
  margin: 0;
  color: var(--muted);
  font: 9px/1.2 Inter, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.piece-list [data-piece-title] {
  font: inherit;
  font-weight: 400;
}
.piece-list details > summary::after,
.message-list details > summary::after,
.book-edit > summary::after {
  display: none;
}
.studio-app .fields {
  gap: 16px;
  padding: 8px 0 28px;
}
.studio-app .fields label {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.studio-app .fields textarea,
.studio-app .fields select,
.studio-app .fields input[type="datetime-local"] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  padding: 14px;
  text-transform: none;
  letter-spacing: 0;
}
.studio-app .fields textarea {
  min-height: 96px;
}
.studio-app .fields textarea[data-path$="body"],
.studio-app .fields textarea[data-path$="original"],
.studio-app .fields textarea[data-path$="translation"] {
  min-height: 300px;
  font-size: 23px;
}
.studio-item-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.studio-item-actions .plain {
  min-height: 44px;
  border: 1px solid var(--line);
  padding: 8px 14px;
}
.danger {
  margin-left: auto;
}
.book-edit > summary > span {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 14px;
}
.book-edit summary img,
.book-placeholder {
  width: 48px;
  height: 62px;
  display: grid;
  place-items: center;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 28px;
}
.book-edit > summary > .icon-arrow {
  width: 18px;
}
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 24px 0 18px;
}
.audience-card {
  min-height: 160px;
  display: grid;
  grid-template-columns: 32px 1fr 22px;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 24px;
  color: var(--ink);
  text-align: left;
}
.audience-card small,
.audience-card strong,
.audience-card em {
  display: block;
}
.audience-card small {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.audience-card strong {
  margin: 8px 0;
  font: 27px/1.1 "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
}
.audience-card em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}
.crm-guidance {
  max-width: none;
}
.crm-guidance ol {
  margin: 22px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 2;
}
.studio-nav {
  position: fixed;
  z-index: 20;
  top: 50%;
  left: 18px;
  width: 86px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  transform: translateY(-50%);
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px;
}
.studio-nav button {
  min-height: 68px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 9px;
}
.studio-nav button[aria-current="page"] {
  background: var(--ink);
  color: var(--paper);
}
.studio-nav svg {
  width: 20px;
  height: 20px;
}
.crm-view-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 76px;
  border-bottom: 1px solid var(--line);
}
.crm-view-head #back-studio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.crm-view-head #back-studio svg {
  transform: rotate(-135deg);
}
.message-list,
.subscriber-list {
  margin-top: 16px;
  border-top: 1px solid var(--line);
}
.message-body {
  padding: 0 0 28px;
}
.message-body > p:nth-child(2) {
  max-width: 70ch;
  font-size: 15px;
}
.message-body label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.message-body select {
  min-height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px;
}
.subscriber-note {
  margin-top: 20px;
}
.subscriber-list > div {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.subscriber-list small {
  color: var(--muted);
}
.studio-empty {
  padding: 48px 0;
}

@media (max-width: 800px) {
  body.studio-mode {
    padding-bottom: env(safe-area-inset-bottom);
  }
  .studio-app.editor {
    width: 100%;
    padding: 0 18px calc(104px + env(safe-area-inset-bottom));
  }
  .studio-topbar {
    padding: calc(18px + env(safe-area-inset-top)) 0 15px;
  }
  .studio-topbar h1 {
    font-size: 35px;
  }
  .studio-profile .plain {
    min-height: 44px;
    padding-inline: 8px;
    font-size: 10px;
  }
  .studio-avatar {
    width: 42px;
    height: 42px;
  }
  .studio-toolbar {
    min-height: 63px;
    padding: 9px 0;
  }
  .studio-toolbar #editor-status {
    position: fixed;
    z-index: 30;
    left: 18px;
    right: 18px;
    bottom: calc(88px + env(safe-area-inset-bottom));
    max-width: none;
    margin: 0;
    border: 1px solid var(--line);
    background: var(--ink);
    color: var(--paper);
    padding: 10px 14px;
    pointer-events: none;
  }
  .studio-toolbar #editor-status:empty {
    display: none;
  }
  .studio-toolbar .solid,
  .studio-toolbar .plain {
    min-height: 44px;
  }
  .studio-toolbar .studio-more {
    margin-left: auto;
  }
  .studio-tools {
    right: 0;
    left: auto;
    width: min(280px, calc(100vw - 36px));
  }
  .studio-main {
    padding-top: 20px;
  }
  .studio-welcome {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 12px 0 26px;
  }
  .studio-welcome h2,
  .studio-page-heading h2 {
    font-size: 52px;
  }
  .studio-welcome p,
  .studio-page-heading p {
    font-size: 13px;
  }
  .studio-primary-card {
    min-height: 96px;
    padding: 18px;
  }
  .studio-metrics {
    grid-template-columns: 1fr 1fr;
  }
  .studio-metrics button {
    min-height: 94px;
    padding: 18px;
    border-bottom: 1px solid var(--line);
  }
  .studio-metrics button:nth-child(2) {
    border-right: 0;
  }
  .studio-metrics button:nth-child(n + 3) {
    border-bottom: 0;
  }
  .studio-grid,
  .audience-grid {
    grid-template-columns: 1fr;
  }
  .studio-card {
    padding: 20px;
  }
  .studio-page-heading {
    align-items: start;
    flex-direction: column;
    padding: 10px 0 24px;
  }
  .studio-page-heading .solid {
    width: 100%;
  }
  .studio-app details > summary {
    min-height: 76px;
    font-size: 23px;
  }
  .studio-app .fields {
    grid-template-columns: 1fr;
  }
  .studio-app .fields .full,
  .studio-item-actions {
    grid-column: auto;
  }
  .studio-item-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .studio-item-actions .danger {
    grid-column: 1 / -1;
    margin-left: 0;
  }
  .audience-card {
    min-height: 130px;
  }
  .studio-nav {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: auto;
    height: calc(76px + env(safe-area-inset-bottom));
    flex-direction: row;
    justify-content: space-around;
    gap: 0;
    transform: none;
    border: 0;
    border-top: 1px solid var(--line);
    padding: 6px 8px env(safe-area-inset-bottom);
  }
  .studio-nav button {
    flex: 1;
    min-width: 0;
    min-height: 60px;
    padding: 4px 2px;
  }
  .studio-nav button[aria-current="page"] {
    background: transparent;
    color: var(--ink);
  }
  .studio-nav button[aria-current="page"]::after {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--ink);
  }
  .studio-nav button[aria-current="page"] span {
    font-weight: 600;
  }
  .crm-view-head {
    padding-top: env(safe-area-inset-top);
  }
  .crm-view .studio-page-heading h1 {
    font-size: 54px;
  }
  .message-list details > summary {
    align-items: start;
    padding: 14px 0;
  }
  .subscriber-list > div {
    align-items: start;
    flex-direction: column;
    justify-content: center;
    padding: 12px 0;
  }
}
