html {
  scroll-behavior: smooth;
}

:root {
  --paper: #fbfaf6;
  --paper-deep: #f2f0ea;
  --ink: #1d211c;
  --ink-muted: rgb(29 33 28 / 0.66);
  --line: rgb(29 33 28 / 0.12);
  --pine: #2f4739;
  --lapis: #225f85;
  --berry: #7b3348;
  --gold: #b48945;
}

body {
  min-width: 320px;
  background: var(--paper);
  font-family: "Manrope", "Inter", "Segoe UI", Arial, sans-serif;
  text-rendering: optimizeLegibility;
}

body.bg-porcelain {
  background: var(--paper);
}

a {
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  border-radius: 0.375rem;
  background: #101820;
  color: #fff;
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgb(251 250 246 / 0.9);
  backdrop-filter: blur(16px);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 0;
  color: rgb(29 33 28 / 0.72);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.nav-link {
  border-bottom: 1px solid transparent;
  padding: 0.7rem 0.35rem;
}

.nav-link:hover {
  background: transparent;
  border-color: var(--gold);
  color: var(--ink);
}

.nav-link svg,
.cms-nav-link svg,
.text-link svg,
.primary-button svg,
.secondary-button svg,
.danger-button svg,
.icon-button svg,
.empty-panel svg {
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
}

.nav-link svg {
  display: none;
}

.brand-logo,
.brand-monogram {
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 2.75rem;
}

.brand-logo {
  border-radius: 999px;
  object-fit: cover;
}

.brand-monogram {
  display: grid;
  place-items: center;
  border: 1px solid rgb(180 137 69 / 0.45);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgb(255 255 255 / 0.9), rgb(242 240 234 / 0.78));
  color: var(--pine);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 30px rgb(29 33 28 / 0.08);
}

.brand-monogram-lg {
  width: 4rem;
  height: 4rem;
  flex-basis: 4rem;
  font-size: 1.6rem;
}

.mobile-menu {
  border-top: 1px solid rgb(16 24 32 / 0.08);
}

.mobile-menu a {
  display: block;
  border-radius: 0.375rem;
  padding: 0.85rem 0.9rem;
  color: rgb(16 24 32 / 0.78);
}

.mobile-menu a:hover {
  background: rgb(29 109 168 / 0.08);
  color: #1d6da8;
}

.hero-section {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}

.hero-section::before {
  position: absolute;
  inset: -8vh 0;
  z-index: -2;
  content: "";
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.07);
  transition: transform 80ms linear;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgb(18 24 20 / 0.78), rgb(18 24 20 / 0.38) 48%, rgb(18 24 20 / 0.1)),
    linear-gradient(0deg, rgb(18 24 20 / 0.48), transparent 44%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  max-width: 100%;
  color: rgb(255 255 255 / 0.82);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-kicker span {
  display: block;
  width: 3rem;
  height: 1px;
  background: rgb(255 255 255 / 0.62);
}

.hero-title {
  margin-top: 1.25rem;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 10vw, 8.5rem);
  font-weight: 600;
  line-height: 0.88;
}

.hero-epigraph {
  max-width: 42rem;
  margin-top: 2rem;
  white-space: pre-line;
  color: rgb(255 255 255 / 0.9);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.25;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2.2rem;
}

.hero-link {
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
  border: 1px solid rgb(255 255 255 / 0.34);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.1);
  padding: 0.72rem 1.05rem;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.hero-link:hover {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}

.section-band {
  padding-block: 5.5rem;
}

.section-heading {
  max-width: 48rem;
}

.section-title {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.08;
}

.page-hero {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, var(--paper-deep));
}

.page-hero.has-image {
  background-image:
    linear-gradient(90deg, rgb(247 251 255 / 0.94), rgb(247 251 255 / 0.66)),
    var(--page-image);
  background-position: center;
  background-size: cover;
}

.page-title {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  font-weight: 600;
  line-height: 1.05;
}

.eyebrow {
  color: var(--lapis);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.prose-like {
  color: var(--ink-muted);
  font-size: 1.05rem;
  line-height: 1.85;
}

.prose-like p + p {
  margin-top: 1rem;
}

.prose-like a {
  color: var(--lapis);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.prose-like blockquote {
  margin-top: 2rem;
  border-left: 3px solid var(--gold);
  padding-left: 1.2rem;
  color: var(--pine);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1.6;
}

.content-card {
  min-width: 0;
}

.card-title,
.row-title {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.2;
}

.card-title {
  font-size: 1.55rem;
}

.row-title {
  font-size: 1.45rem;
}

.content-card a:hover,
.row-title a:hover,
.footer-title + div a:hover {
  color: #1d6da8;
}

.empty-panel {
  display: flex;
  min-height: 10rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border: 1px dashed rgb(16 24 32 / 0.18);
  border-radius: 0.5rem;
  background: rgb(255 255 255 / 0.64);
  padding: 1.25rem;
  color: rgb(16 24 32 / 0.58);
  text-align: center;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #1d6da8;
  font-weight: 700;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  border: 1px solid rgb(29 109 168 / 0.16);
  border-radius: 999px;
  background: #fff;
  padding: 0.35rem 0.75rem;
  color: #1d6da8;
  font-size: 0.84rem;
  line-height: 1.2;
}

.tag-pill:hover,
.tag-pill.is-active {
  border-color: #1d6da8;
  background: rgb(29 109 168 / 0.08);
}

.poems-index-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(115deg, rgb(255 255 255 / 0.94), rgb(242 240 234 / 0.74) 58%, rgb(180 137 69 / 0.2)),
    repeating-linear-gradient(90deg, transparent 0 3.8rem, rgb(29 33 28 / 0.035) 3.8rem 3.85rem),
    var(--paper);
}

.poems-index-hero::before {
  position: absolute;
  right: max(1rem, calc((100vw - 74rem) / 2));
  bottom: -6.5rem;
  color: rgb(180 137 69 / 0.16);
  content: "стихи";
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 14rem;
  font-weight: 600;
  line-height: 0.8;
  pointer-events: none;
}

.poems-index-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.38fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  padding-block: clamp(5rem, 9vw, 8rem);
}

.poems-index-copy {
  display: grid;
  gap: 1.2rem;
  max-width: 52rem;
}

.poems-index-copy .page-title {
  font-size: 6.4rem;
  line-height: 0.92;
}

.poems-index-lead {
  max-width: 39rem;
  color: var(--ink-muted);
  font-size: 1.18rem;
  line-height: 1.8;
}

.poems-index-quote {
  position: relative;
  max-width: 35rem;
  margin-top: 0.35rem;
  border-top: 1px solid rgb(180 137 69 / 0.38);
  padding: 1.1rem 0 0 3.4rem;
  color: var(--pine);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 600;
  line-height: 1.35;
}

.poems-index-quote::before {
  position: absolute;
  top: 0.55rem;
  left: 0;
  color: rgb(180 137 69 / 0.82);
  content: "“";
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.8rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
}

.page-back-link {
  display: inline-flex;
  width: fit-content;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgb(29 109 168 / 0.24);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.78);
  padding: 0.68rem 1rem;
  color: var(--lapis);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.page-back-link svg {
  width: 1rem;
  height: 1rem;
}

.page-back-link:hover {
  border-color: var(--gold);
  color: var(--pine);
  transform: translateX(-0.15rem);
}

.page-hero .page-back-link,
.artwork-hero .page-back-link {
  margin-bottom: 1.5rem;
}

.poems-issue-card {
  position: relative;
  display: grid;
  min-height: 24rem;
  align-content: space-between;
  border: 1px solid rgb(29 33 28 / 0.14);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.82), rgb(251 250 246 / 0.96)),
    var(--paper);
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: 0 28px 80px rgb(29 33 28 / 0.12);
}

.poems-issue-card::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgb(180 137 69 / 0.24), transparent 1px),
    linear-gradient(180deg, transparent 52%, rgb(47 71 57 / 0.08));
  background-size: 1.15rem 100%, 100% 100%;
}

.poems-issue-card > * {
  position: relative;
}

.poems-issue-number,
.poem-cover-label {
  color: rgb(29 33 28 / 0.48);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.poems-issue-card p {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.poems-issue-card strong {
  display: block;
  max-width: 16rem;
  color: var(--pine);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 3.35rem;
  font-weight: 600;
  line-height: 0.96;
}

.poems-issue-card small {
  max-width: 18rem;
  color: var(--ink-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.poems-index-section {
  background:
    linear-gradient(180deg, var(--paper), #fff 18%, var(--paper-deep));
  padding-block: clamp(3.5rem, 6vw, 6rem);
}

.poems-index-layout {
  display: grid;
  grid-template-columns: minmax(14rem, 0.27fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.poems-catalogue-sidebar {
  position: sticky;
  top: 6rem;
  display: grid;
  gap: 2rem;
}

.poems-sidebar-panel {
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
}

.poems-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.poems-collection-list {
  display: grid;
  margin-top: 0.65rem;
}

.poem-collection-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 0.95rem 0;
  color: var(--pine);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.1;
}

.poem-collection-link svg,
.poem-read-link svg {
  width: 1rem;
  height: 1rem;
}

.poem-collection-link:hover {
  color: var(--lapis);
}

.poem-editorial-stack {
  display: grid;
  border-top: 1px solid var(--line);
}

.poem-index-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1rem, 2.6vw, 2rem);
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding: clamp(1.4rem, 3.4vw, 2.6rem) 0;
}

.poem-index-card.is-featured {
  border-bottom-color: rgb(180 137 69 / 0.42);
  padding-block: clamp(2rem, 4vw, 3.2rem);
}

.poem-index-main {
  min-width: 0;
}

.poem-index-card h2 {
  max-width: 48rem;
  margin-top: 0.35rem;
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 4.35rem;
  font-weight: 600;
  line-height: 0.98;
}

.poem-index-card.is-featured h2 {
  font-size: 5.6rem;
}

.poem-index-card h2 a:hover {
  color: var(--lapis);
}

.poem-index-excerpt {
  display: block;
  max-width: 43rem;
  margin-top: 1rem;
  color: var(--pine);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.55;
  white-space: normal;
  transition: color 160ms ease;
}

.poem-index-excerpt:hover {
  color: var(--lapis);
}

.poem-index-excerpt:focus-visible {
  border-radius: 0.2rem;
  outline: 2px solid rgb(34 95 133 / 0.45);
  outline-offset: 0.3rem;
}

.poem-index-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.2rem;
}

.poem-read-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid rgb(34 95 133 / 0.38);
  padding-bottom: 0.24rem;
  color: var(--lapis);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.poem-read-link:hover {
  border-color: var(--gold);
  color: var(--pine);
}

.list-row,
.music-row {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgb(16 24 32 / 0.08);
  border-radius: 0.5rem;
  background: #fff;
  padding: 1.25rem;
  box-shadow: 0 14px 40px rgb(16 24 32 / 0.04);
}

.music-row img {
  width: 7rem;
  height: 7rem;
  flex: 0 0 7rem;
  border-radius: 0.375rem;
  object-fit: cover;
}

.music-listening-room {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 4.75rem) 0;
}

.music-listening-room.has-cover {
  grid-template-columns: minmax(11rem, 17rem) minmax(0, 1fr);
}

.music-listening-cover {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 0.45rem;
  background: var(--paper-deep);
  box-shadow: 0 22px 48px rgb(29 33 28 / 0.14);
}

.music-listening-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.music-listening-player {
  min-width: 0;
}

.music-wave-author {
  margin: -0.8rem 0 0;
  color: var(--ink-muted);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.music-track-content {
  width: min(100%, 52rem);
  margin-inline: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.music-track-content[hidden],
.music-track-description[hidden],
.music-track-lyrics[hidden] {
  display: none;
}

.music-track-description {
  padding: 1.4rem 0;
}

.music-track-description .eyebrow {
  margin-bottom: 0.65rem;
}

.music-track-description-text {
  color: var(--ink-muted);
  font-size: 1rem;
  line-height: 1.75;
  white-space: pre-wrap;
}

.music-track-lyrics {
  border-top: 1px solid var(--line);
}

.music-track-lyrics summary {
  display: flex;
  min-height: 3.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--pine);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  list-style: none;
  text-transform: uppercase;
}

.music-track-lyrics summary::-webkit-details-marker {
  display: none;
}

.music-track-lyrics summary:focus-visible {
  border-radius: 0.2rem;
  outline: 2px solid rgb(180 137 69 / 0.58);
  outline-offset: 0.25rem;
}

.music-track-lyrics-action {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--lapis);
  font-size: 0.7rem;
}

.music-track-lyrics-action svg {
  width: 1rem;
  height: 1rem;
  transition: transform 180ms ease;
}

.music-track-lyrics-close {
  display: none;
}

.music-track-lyrics[open] .music-track-lyrics-open {
  display: none;
}

.music-track-lyrics[open] .music-track-lyrics-close {
  display: inline;
}

.music-track-lyrics[open] .music-track-lyrics-action svg {
  transform: rotate(180deg);
}

.music-track-lyrics-text {
  border-top: 1px solid rgb(29 33 28 / 0.07);
  padding: 1.5rem 0 1.8rem;
  color: var(--pine);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.6;
  white-space: pre-wrap;
}

.music-playlist {
  width: 100%;
  margin: clamp(3rem, 7vw, 6rem) 0 0;
}

.home-music-band {
  background: var(--paper-deep);
}

.home-music-heading {
  max-width: 48rem;
}

.home-music-player {
  margin-top: clamp(1.5rem, 3vw, 3rem);
}

.home-music-playlist {
  max-width: 58rem;
}

.home-music-cta {
  width: fit-content;
  margin: 2rem auto 0;
}

.music-playlist-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.25rem;
}

.music-playlist-heading p:last-child {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.music-track-list {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.music-track {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  gap: 1rem;
  border: 1px solid transparent;
  border-radius: 0.35rem;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  padding: 1.1rem 0.35rem;
  text-align: left;
  transition: background-color 180ms ease, color 180ms ease, padding 180ms ease;
}

.music-track:hover,
.music-track.is-active {
  background: rgb(180 137 69 / 0.09);
  color: var(--pine);
}

.music-track:focus-visible {
  outline: 2px solid rgb(180 137 69 / 0.58);
  outline-offset: -2px;
}

.music-track.is-unavailable {
  cursor: default;
  opacity: 0.48;
}

.music-track-number {
  width: 2.1rem;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.music-track-title,
.music-track-author {
  display: block;
}

.music-track-title {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 700;
  line-height: 1.08;
}

.music-track-author {
  margin-top: 0.3rem;
  color: var(--ink-muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.music-track-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  color: var(--gold);
}

.music-wave-control:disabled {
  cursor: not-allowed;
  opacity: 0.3;
}

.music-wave-player {
  grid-column: 1 / -1;
  width: 100%;
  margin-inline: auto;
}

.music-wave-native {
  width: 100%;
}

.music-wave-ui {
  display: none;
}

.music-wave-player.is-enhanced .music-wave-native {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.music-wave-player.is-enhanced .music-wave-ui {
  display: grid;
  gap: 1.25rem;
}

.music-wave-title {
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.04;
  text-align: center;
  text-transform: none;
}

.music-wave-line {
  display: grid;
  grid-template-columns: 3.75rem minmax(0, 1fr) 3.75rem;
  gap: 0.85rem;
  align-items: center;
}

.music-wave-time {
  color: rgb(29 33 28 / 0.55);
  font-size: 0.88rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.music-wave-scrub {
  position: relative;
  display: block;
  width: 100%;
  height: 6.45rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.music-wave-scrub:focus-visible {
  outline: 2px solid rgb(34 95 133 / 0.55);
  outline-offset: 0.35rem;
}

.music-wave-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.music-wave-status {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: transparent;
  font-size: 0;
  pointer-events: none;
}

.music-wave-status::before {
  width: 3.1rem;
  height: 0.5rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgb(180 137 69 / 0.76) 0 0.2rem, transparent 0.23rem) 0 50% / 1rem 100% repeat-x;
  content: "";
  animation: music-wave-loading 950ms ease-in-out infinite alternate;
}

@keyframes music-wave-loading {
  from {
    opacity: 0.35;
    transform: scaleX(0.72);
  }

  to {
    opacity: 0.95;
    transform: scaleX(1);
  }
}

.music-wave-player.has-waveform .music-wave-status {
  display: none;
}

.music-wave-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}

.music-wave-control {
  display: grid;
  width: 2.55rem;
  height: 2.55rem;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: rgb(29 33 28 / 0.5);
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.music-wave-control:hover {
  border-color: rgb(180 137 69 / 0.2);
  background: rgb(180 137 69 / 0.06);
  color: rgb(120 92 49 / 0.86);
  transform: translateY(-1px);
}

.music-wave-control:focus-visible {
  outline: 2px solid rgb(180 137 69 / 0.34);
  outline-offset: 0.2rem;
}

.music-wave-control svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke-width: 2.35;
}

.music-wave-control.is-primary {
  width: 3.65rem;
  height: 3.65rem;
  border-color: rgb(180 137 69 / 0.32);
  background: linear-gradient(180deg, #fff, rgb(251 247 238 / 0.94));
  box-shadow:
    0 10px 24px rgb(29 33 28 / 0.06),
    inset 0 0 0 1px rgb(255 255 255 / 0.78);
  color: rgb(160 119 54 / 0.95);
}

.music-wave-control.is-primary:hover {
  border-color: rgb(180 137 69 / 0.5);
  background: linear-gradient(180deg, #fff, rgb(246 237 219 / 0.96));
  color: rgb(120 92 49 / 0.95);
}

.music-wave-control.is-primary svg {
  width: 1.65rem;
  height: 1.65rem;
  fill: currentColor;
  stroke-width: 2.2;
}

.poem-text {
  color: #173b2d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.85;
}

.photo-grid,
.gallery-grid {
  columns: 14rem 5;
  column-gap: clamp(0.5rem, 0.8vw, 0.75rem);
}

.photo-grid img,
.gallery-grid img,
.lightbox-trigger img {
  display: block;
  width: 100%;
}

.photo-album-band,
.gallery-masonry-band,
.home-gallery-band {
  overflow: hidden;
}

.photo-album-shell,
.gallery-masonry-shell,
.home-gallery-shell {
  width: min(100%, 92rem);
}

.photo-grid-item,
.gallery-grid-item {
  display: block;
  width: 100%;
  overflow: hidden;
  break-inside: avoid;
  page-break-inside: avoid;
  margin: 0 0 clamp(0.5rem, 0.8vw, 0.75rem);
  border-radius: 0.25rem;
  background: rgb(29 33 28 / 0.05);
  box-shadow: 0 1px 0 rgb(29 33 28 / 0.05);
  transition:
    box-shadow 180ms ease,
    opacity 180ms ease,
    transform 180ms ease;
}

.photo-grid > .empty-panel,
.gallery-grid > .empty-panel {
  column-span: all;
}

.photo-grid img,
.gallery-grid img {
  height: auto;
}

.photo-grid img {
  border-radius: inherit;
}

.photo-grid-item:hover,
.gallery-grid-item:hover {
  box-shadow: 0 16px 36px rgb(29 33 28 / 0.14);
  transform: translateY(-0.15rem);
}

.photo-grid-item:hover {
  opacity: 0.96;
}

.photo-grid-item:focus-visible,
.gallery-grid-item:focus-visible {
  outline: 3px solid rgb(34 95 133 / 0.58);
  outline-offset: 0.2rem;
}

.gallery-grid-item {
  border: 1px solid rgb(29 33 28 / 0.08);
  background: var(--paper);
}

.gallery-grid-item.has-no-image {
  display: grid;
  min-height: 14rem;
  align-content: end;
}

.gallery-grid-caption {
  display: grid;
  gap: 0.45rem;
  padding: 1rem 1.05rem 1.15rem;
}

.gallery-grid-caption small {
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gallery-grid-caption strong {
  color: var(--pine);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.05;
}

.gallery-grid-caption > span {
  color: var(--ink-muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

.home-gallery-heading {
  max-width: 52rem;
}

.home-gallery-cta {
  width: fit-content;
  margin: 2.25rem auto 0;
}

.craft-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

.craft-card {
  display: grid;
  gap: 1rem;
}

.craft-card-image {
  display: block;
  overflow: hidden;
  border-radius: 0.375rem;
  background: rgb(29 33 28 / 0.06);
}

.craft-card-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 620ms ease;
}

.craft-card:hover .craft-card-image img {
  transform: scale(1.035);
}

.craft-card-copy {
  display: grid;
  gap: 0.55rem;
}

.craft-card-description {
  color: var(--ink-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.lightbox-trigger {
  cursor: zoom-in;
}

.metadata-list {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.metadata-list div {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1rem;
}

.metadata-list dt {
  color: rgb(16 24 32 / 0.5);
}

.metadata-list dd {
  color: #101820;
}

.video-embed iframe {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

.footer-title {
  color: #173b2d;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.icon-button,
.primary-button,
.secondary-button,
.danger-button {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.375rem;
  font-weight: 700;
}

.icon-button {
  width: 2.75rem;
  justify-content: center;
  border: 1px solid rgb(16 24 32 / 0.1);
  background: #fff;
}

.icon-button:hover {
  border-color: rgb(29 109 168 / 0.35);
  color: #1d6da8;
}

.primary-button,
.secondary-button,
.danger-button {
  padding: 0.75rem 1rem;
}

.primary-button {
  background: #1d6da8;
  color: #fff;
}

.primary-button:hover {
  background: #165984;
}

.secondary-button {
  border: 1px solid rgb(16 24 32 / 0.12);
  background: #fff;
}

.danger-button {
  background: #80324a;
  color: #fff;
}

.primary-button:disabled,
.secondary-button:disabled,
.danger-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border-radius: 999px;
  background: #101820;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top svg {
  width: 1.2rem;
  height: 1.2rem;
}

.cms-body {
  background:
    radial-gradient(circle at top left, rgb(180 137 69 / 0.12), transparent 28rem),
    linear-gradient(180deg, #f8f7f2, #eeece4);
}

.cms-shell {
  min-height: 100vh;
}

.cms-sidebar {
  border-bottom: 1px solid var(--line);
  background: rgb(255 255 255 / 0.88);
  backdrop-filter: blur(18px);
}

.cms-sidebar-inner {
  display: grid;
  gap: 1.5rem;
  padding: 1rem;
}

.cms-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--ink);
}

.cms-brand-mark {
  display: grid;
  width: 2.9rem;
  height: 2.9rem;
  flex: 0 0 2.9rem;
  place-items: center;
  border: 1px solid rgb(180 137 69 / 0.3);
  border-radius: 0.5rem;
  background:
    linear-gradient(135deg, #fff, #f0e5cf);
  color: var(--pine);
  box-shadow: 0 14px 28px rgb(47 71 57 / 0.08);
}

.cms-brand-mark svg {
  width: 1.25rem;
  height: 1.25rem;
}

.cms-brand-title,
.cms-brand-subtitle {
  display: block;
}

.cms-brand-title {
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
}

.cms-brand-subtitle {
  margin-top: 0.18rem;
  color: rgb(29 33 28 / 0.55);
  font-size: 0.78rem;
  font-weight: 700;
}

.cms-nav,
.cms-sidebar-footer {
  display: grid;
  gap: 0.35rem;
}

.cms-sidebar-footer {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.cms-nav-link {
  display: flex;
  min-height: 2.65rem;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  padding: 0.68rem 0.75rem;
  color: rgb(29 33 28 / 0.68);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
}

.cms-nav-link:hover,
.cms-nav-link.is-active {
  border-color: rgb(180 137 69 / 0.28);
  background: rgb(180 137 69 / 0.11);
  color: var(--ink);
}

.cms-nav-link.is-active svg {
  color: var(--gold);
}

.cms-main {
  min-width: 0;
}

.cms-main-inner {
  width: min(100%, 76rem);
  margin: 0 auto;
  padding: 1.25rem 1rem 3rem;
}

.cms-messages {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.cms-message,
.cms-form-errors {
  border: 1px solid rgb(47 71 57 / 0.18);
  border-radius: 0.5rem;
  background: rgb(255 255 255 / 0.86);
  color: var(--pine);
  box-shadow: 0 14px 34px rgb(29 33 28 / 0.06);
}

.cms-message {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  font-size: 0.92rem;
  font-weight: 700;
}

.cms-message.error,
.cms-form-errors {
  border-color: rgb(123 51 72 / 0.24);
  color: var(--berry);
}

.cms-message.warning {
  border-color: rgb(180 137 69 / 0.3);
  color: #765a24;
}

.cms-form,
.cms-login-panel,
.cms-list-panel,
.cms-empty-state,
.cms-danger-panel {
  border: 1px solid rgb(29 33 28 / 0.1);
  border-radius: 0.5rem;
  background: rgb(255 255 255 / 0.92);
  box-shadow: 0 22px 60px rgb(29 33 28 / 0.08);
}

.cms-form {
  padding: clamp(1rem, 3vw, 1.5rem);
}

.cms-form-errors {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.cms-autogen-panel {
  display: grid;
  gap: 0.9rem;
  align-items: center;
  margin-bottom: 1rem;
  border: 1px solid rgb(34 95 133 / 0.18);
  border-radius: 0.5rem;
  background:
    linear-gradient(135deg, rgb(34 95 133 / 0.08), rgb(180 137 69 / 0.08)),
    #fff;
  padding: 1rem;
}

.cms-autogen-panel h2 {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
}

.cms-autogen-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.cms-upload-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 1rem;
  border: 1px solid rgb(34 95 133 / 0.18);
  border-radius: 0.5rem;
  background: linear-gradient(135deg, rgb(34 95 133 / 0.08), rgb(47 71 57 / 0.08)), #fff;
  padding: 1rem;
}

.cms-upload-panel span {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border-radius: 0.5rem;
  background: rgb(34 95 133 / 0.12);
  color: var(--lapis);
}

.cms-upload-panel svg {
  width: 1.25rem;
  height: 1.25rem;
}

.cms-upload-panel h2 {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
}

.cms-upload-panel p,
.cms-upload-summary {
  color: rgb(29 33 28 / 0.55);
  font-size: 0.86rem;
  line-height: 1.55;
}

.cms-upload-panel p {
  margin-top: 0.25rem;
}

.cms-form-layout {
  display: grid;
  gap: 1.25rem;
}

.cms-form-fields {
  display: grid;
  gap: 1rem;
}

.cms-field {
  display: grid;
  gap: 0.45rem;
}

.cms-field-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: space-between;
}

.cms-field label,
.cms-login-panel label {
  color: rgb(29 33 28 / 0.72);
  font-size: 0.84rem;
  font-weight: 800;
}

.cms-field-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--lapis);
  font-size: 0.82rem;
  font-weight: 900;
}

.cms-field-link svg {
  width: 0.95rem;
  height: 0.95rem;
}

.cms-field-link:hover {
  color: var(--pine);
}

.cms-login-panel input,
.cms-input {
  width: 100%;
  min-height: 2.9rem;
  border: 1px solid rgb(29 33 28 / 0.16);
  border-radius: 0.625rem;
  background: #fff;
  padding: 0.78rem 0.9rem;
  color: var(--ink);
  outline: 0;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.cms-input:focus,
.cms-login-panel input:focus {
  border-color: rgb(34 95 133 / 0.65);
  box-shadow: 0 0 0 4px rgb(34 95 133 / 0.13);
}

textarea.cms-input {
  min-height: 11rem;
  resize: vertical;
}

.cms-field-help,
.cms-field-error {
  font-size: 0.82rem;
  line-height: 1.45;
}

.cms-field-help {
  color: rgb(29 33 28 / 0.52);
}

.cms-field-error {
  color: var(--berry);
  font-weight: 700;
}

.cms-field.has-errors .cms-input {
  border-color: rgb(123 51 72 / 0.55);
  box-shadow: 0 0 0 4px rgb(123 51 72 / 0.1);
}

.cms-tag-native-select {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.cms-tag-picker {
  position: relative;
}

.cms-tag-picker-button {
  display: flex;
  width: 100%;
  min-height: 2.9rem;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgb(29 33 28 / 0.16);
  border-radius: 0.625rem;
  background: #fff;
  padding: 0.78rem 0.9rem;
  color: var(--ink);
  font-weight: 800;
  text-align: left;
}

.cms-tag-picker-button:hover,
.cms-tag-picker-button[aria-expanded="true"] {
  border-color: rgb(34 95 133 / 0.65);
  box-shadow: 0 0 0 4px rgb(34 95 133 / 0.13);
}

.cms-tag-picker-button svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  color: var(--lapis);
}

.cms-tag-picker-menu {
  position: absolute;
  right: 0;
  left: 0;
  z-index: 30;
  display: grid;
  max-height: 17rem;
  gap: 0.15rem;
  margin-top: 0.35rem;
  overflow: auto;
  border: 1px solid rgb(29 33 28 / 0.14);
  border-radius: 0.5rem;
  background: #fff;
  padding: 0.45rem;
  box-shadow: 0 18px 46px rgb(29 33 28 / 0.14);
}

.cms-tag-picker-menu[hidden] {
  display: none;
}

.cms-tag-picker-option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 0.375rem;
  padding: 0.55rem 0.6rem;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.cms-tag-picker-option:hover {
  background: rgb(34 95 133 / 0.08);
}

.cms-tag-picker-option input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--lapis);
}

.cms-tag-picker-empty {
  padding: 0.65rem;
  color: rgb(29 33 28 / 0.55);
  font-size: 0.88rem;
  font-weight: 800;
}

.cms-field-check {
  border: 1px solid rgb(29 33 28 / 0.1);
  border-radius: 0.5rem;
  background: rgb(248 247 242 / 0.78);
  padding: 0.9rem;
}

.cms-checkline {
  display: flex;
  gap: 0.65rem;
  align-items: center;
}

.cms-form-actions {
  display: grid;
  gap: 0.8rem;
  align-content: start;
  border: 1px solid rgb(180 137 69 / 0.18);
  border-radius: 0.5rem;
  background:
    linear-gradient(180deg, #fffaf0, #f7f2e7);
  padding: 1rem;
}

.cms-form-actions h2 {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
}

.cms-form-actions p {
  margin-top: 0.35rem;
  color: var(--ink-muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.cms-login-body {
  display: grid;
  min-height: 100vh;
  place-items: center;
  background:
    radial-gradient(circle at top left, rgb(34 95 133 / 0.14), transparent 28rem),
    linear-gradient(135deg, #f8f7f2, #e8e5db);
  padding: 1rem;
}

.cms-login-shell {
  display: grid;
  width: min(100%, 60rem);
  overflow: hidden;
  border: 1px solid rgb(29 33 28 / 0.1);
  border-radius: 0.5rem;
  background: rgb(255 255 255 / 0.9);
  box-shadow: 0 28px 80px rgb(29 33 28 / 0.12);
}

.cms-login-intro {
  display: grid;
  align-content: end;
  gap: 0.85rem;
  min-height: 18rem;
  background:
    linear-gradient(135deg, rgb(47 71 57 / 0.94), rgb(34 95 133 / 0.8)),
    linear-gradient(135deg, var(--pine), var(--lapis));
  padding: clamp(1.5rem, 4vw, 2rem);
  color: #fff;
}

.cms-login-intro .eyebrow {
  color: rgb(255 255 255 / 0.76);
}

.cms-login-intro h1 {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 0.98;
}

.cms-login-intro p:not(.eyebrow) {
  max-width: 27rem;
  color: rgb(255 255 255 / 0.78);
  line-height: 1.7;
}

.cms-login-panel {
  display: grid;
  gap: 1rem;
  border: 0;
  border-radius: 0;
  padding: clamp(1.25rem, 4vw, 2rem);
  box-shadow: none;
}

.cms-login-head h2 {
  color: var(--ink);
  font-size: 1.4rem;
  font-weight: 900;
}

.cms-login-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  color: rgb(29 33 28 / 0.58);
  font-size: 0.88rem;
  font-weight: 800;
}

.cms-login-link:hover {
  color: var(--lapis);
}

.guestbook-section {
  background: linear-gradient(180deg, #fff, var(--paper));
}

.guestbook-shell {
  display: grid;
  gap: 3rem;
}

.guestbook-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.96), rgb(251 250 246 / 0.96));
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: 0 24px 70px rgb(29 33 28 / 0.08);
}

.guestbook-panel::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, transparent, rgb(180 137 69 / 0.09), transparent);
  opacity: 0.52;
}

.guestbook-panel::after {
  position: absolute;
  top: 2rem;
  bottom: 2rem;
  left: 42%;
  width: 1px;
  content: "";
  background: linear-gradient(180deg, transparent, var(--line), transparent);
}

.guestbook-book-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: stretch;
}

.guestbook-book-intro {
  display: grid;
  align-content: start;
  gap: 1.1rem;
  max-width: 31rem;
}

.guestbook-book-intro h2 {
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(2.65rem, 5vw, 4.6rem);
  font-weight: 600;
  line-height: 0.94;
}

.guestbook-book-intro p {
  color: var(--ink-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.guestbook-book-intro small {
  display: block;
  max-width: 24rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  color: rgb(29 33 28 / 0.48);
  font-size: 0.86rem;
  line-height: 1.65;
}

.guestbook-field {
  position: relative;
  display: grid;
  gap: 0.55rem;
  margin-top: 1.35rem;
}

.guestbook-field:first-of-type {
  margin-top: 0;
}

.guestbook-field label {
  color: rgb(29 33 28 / 0.62);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.guestbook-form .guestbook-field input,
.guestbook-form .guestbook-field textarea {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid rgb(47 71 57 / 0.16);
  border-radius: 0.35rem;
  background: rgb(255 255 255 / 0.82);
  padding: 0.85rem 0.95rem;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.6;
  outline: 0;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.guestbook-form .guestbook-field input {
  min-height: 3.25rem;
}

.guestbook-form .guestbook-field textarea {
  min-height: 13rem;
  resize: vertical;
}

.guestbook-form .guestbook-field input:focus,
.guestbook-form .guestbook-field textarea:focus {
  border-color: rgb(180 137 69 / 0.76);
  background: #fff;
  box-shadow: 0 0 0 4px rgb(180 137 69 / 0.12);
}

.guestbook-form .guestbook-field input::placeholder,
.guestbook-form .guestbook-field textarea::placeholder {
  color: rgb(29 33 28 / 0.38);
}

.guestbook-errors {
  color: var(--berry);
  font-size: 0.86rem;
  line-height: 1.5;
}

.guestbook-errors ul {
  display: grid;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guestbook-submit {
  position: relative;
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.35rem;
  border: 1px solid rgb(47 71 57 / 0.2);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.64);
  padding: 0.78rem 1.25rem;
  color: var(--pine);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 8px 22px rgb(29 33 28 / 0.06);
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.guestbook-submit:hover {
  border-color: rgb(180 137 69 / 0.44);
  background: rgb(255 255 255 / 0.9);
  color: var(--ink);
  box-shadow: 0 10px 26px rgb(29 33 28 / 0.08);
}

.guestbook-submit svg {
  width: 1rem;
  height: 1rem;
}

.guestbook-feed {
  display: grid;
  gap: 1.15rem;
}

.guestbook-feed-head {
  display: grid;
  gap: 0.35rem;
  padding-top: 0.5rem;
}

.guestbook-feed-head h2 {
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 600;
  line-height: 1.05;
}

.guestbook-entry {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.2rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.82), rgb(251 250 246 / 0.88));
  padding: clamp(1.35rem, 3vw, 2rem);
  box-shadow: 0 18px 44px rgb(29 33 28 / 0.05);
}

.guestbook-entry-mark {
  color: rgb(180 137 69 / 0.64);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 600;
  line-height: 0.8;
}

.guestbook-entry-body {
  min-width: 0;
}

.guestbook-entry-body > p,
.guestbook-reply > p:not(.eyebrow) {
  color: var(--pine);
  font-size: clamp(1.08rem, 1.4vw, 1.28rem);
  line-height: 1.8;
}

.guestbook-entry-body footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.9rem;
  align-items: baseline;
  margin-top: 1.25rem;
  border-top: 1px solid var(--line);
  padding-top: 0.9rem;
}

.guestbook-entry-body strong {
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1;
}

.guestbook-entry-body time {
  color: rgb(29 33 28 / 0.46);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.guestbook-reply {
  grid-column: 2;
  margin-top: 1.2rem;
  border-left: 2px solid rgb(180 137 69 / 0.5);
  padding-left: 1rem;
}

.guestbook-reply-author {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.guestbook-admin-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgb(180 137 69 / 0.58);
  border-radius: 999px;
  background: linear-gradient(135deg, #f6ecd9, #ead7b4);
  color: #795821;
  padding: 0.22rem 0.55rem;
  font-family: "Manrope", "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: lowercase;
}

.guestbook-empty {
  display: grid;
  min-height: 24rem;
  place-items: center;
  border: 1px dashed rgb(47 71 57 / 0.2);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.72), rgb(251 250 246 / 0.74));
  color: rgb(29 33 28 / 0.5);
  text-align: center;
}

.guestbook-empty span {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.guestbook-empty svg {
  width: 1.05rem;
  height: 1.05rem;
  color: var(--gold);
}

.cms-checkbox {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 1.15rem;
  accent-color: var(--lapis);
}

.cms-hero,
.cms-page-head {
  display: grid;
  gap: 1rem;
  align-items: end;
}

.cms-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgb(29 33 28 / 0.1);
  border-radius: 0.5rem;
  background:
    linear-gradient(135deg, rgb(255 255 255 / 0.94), rgb(248 244 234 / 0.94)),
    linear-gradient(135deg, rgb(34 95 133 / 0.1), rgb(180 137 69 / 0.14));
  padding: clamp(1.25rem, 4vw, 2rem);
  box-shadow: 0 24px 70px rgb(29 33 28 / 0.08);
}

.cms-hero-copy {
  max-width: 42rem;
}

.cms-hero-copy p:not(.eyebrow),
.cms-head-text {
  margin-top: 0.65rem;
  color: var(--ink-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.cms-hero-actions,
.cms-head-actions,
.cms-danger-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.cms-inline-form {
  display: inline-flex;
  margin: 0;
}

.cms-inline-form .secondary-button {
  cursor: pointer;
}

.cms-inline-form .is-spinning {
  animation: cms-sync-spin 0.9s linear infinite;
}

@keyframes cms-sync-spin {
  to {
    transform: rotate(360deg);
  }
}

.cms-metric-grid,
.cms-section-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.metric-card,
.cms-section-tile {
  border: 1px solid rgb(29 33 28 / 0.09);
  border-radius: 0.5rem;
  background: rgb(255 255 255 / 0.9);
  box-shadow: 0 18px 44px rgb(29 33 28 / 0.06);
}

.metric-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 0.85rem;
  align-items: center;
  padding: 1rem;
}

.metric-icon,
.cms-section-icon {
  display: grid;
  place-items: center;
  border-radius: 0.5rem;
  background: rgb(34 95 133 / 0.1);
  color: var(--lapis);
}

.metric-icon {
  width: 2.65rem;
  height: 2.65rem;
  grid-row: span 2;
}

.metric-label {
  color: rgb(29 33 28 / 0.55);
  font-size: 0.82rem;
  font-weight: 800;
}

.metric-value {
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 2.35rem;
  line-height: 0.9;
}

.cms-section-head {
  margin-top: 2.2rem;
}

.cms-section-head h2,
.cms-list-toolbar h2 {
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 900;
}

.cms-section-tile {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.25rem 0.85rem;
  align-items: center;
  padding: 1rem;
}

.cms-section-tile:hover {
  border-color: rgb(180 137 69 / 0.34);
  background: #fff;
  transform: translateY(-1px);
}

.cms-section-icon {
  width: 2.8rem;
  height: 2.8rem;
  grid-row: span 2;
}

.cms-section-title {
  color: var(--ink);
  font-weight: 900;
}

.cms-section-tile small {
  color: rgb(29 33 28 / 0.55);
  font-size: 0.82rem;
}

.cms-section-arrow {
  display: grid;
  width: 2rem;
  height: 2rem;
  grid-row: span 2;
  place-items: center;
  border-radius: 999px;
  color: rgb(29 33 28 / 0.45);
}

.cms-list-panel {
  margin-top: 1.25rem;
  overflow: hidden;
}

.cms-list-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgb(29 33 28 / 0.08);
  padding: 1rem 1.1rem;
}

.cms-list-toolbar p {
  margin-top: 0.25rem;
  color: rgb(29 33 28 / 0.55);
  font-size: 0.86rem;
}

.cms-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.cms-table th,
.cms-table td {
  border-bottom: 1px solid rgb(29 33 28 / 0.08);
  padding: 0.9rem 1.1rem;
  text-align: left;
  vertical-align: middle;
}

.cms-table th {
  background: rgb(248 247 242 / 0.82);
  color: rgb(29 33 28 / 0.52);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cms-table tbody tr:hover {
  background: rgb(34 95 133 / 0.04);
}

.cms-table-title {
  color: var(--ink);
  font-weight: 900;
}

.cms-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgb(29 33 28 / 0.08);
  padding: 1rem 1.1rem;
}

.cms-page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  justify-content: center;
}

.cms-page-link {
  display: inline-flex;
  min-width: 2.5rem;
  min-height: 2.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(16 24 32 / 0.12);
  border-radius: 0.375rem;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
}

.cms-page-link:hover {
  border-color: rgb(29 109 168 / 0.35);
  color: #1d6da8;
}

.cms-page-link.is-current {
  border-color: #1d6da8;
  background: #1d6da8;
  color: #fff;
}

.cms-page-direction {
  gap: 0.35rem;
  padding-inline: 0.8rem;
}

.cms-page-direction svg {
  width: 1rem;
  height: 1rem;
}

.cms-page-ellipsis {
  padding-inline: 0.35rem;
  color: rgb(29 33 28 / 0.5);
  font-weight: 800;
}

.cms-empty-state,
.cms-danger-panel {
  display: grid;
  justify-items: start;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding: clamp(1.5rem, 4vw, 2rem);
}

.cms-empty-state span,
.cms-danger-icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border-radius: 0.5rem;
}

.cms-empty-state span {
  background: rgb(34 95 133 / 0.1);
  color: var(--lapis);
}

.cms-empty-state h2,
.cms-danger-panel h1 {
  color: var(--ink);
  font-size: 1.45rem;
  font-weight: 900;
}

.cms-empty-state p,
.cms-danger-panel p:not(.eyebrow) {
  max-width: 36rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

.cms-danger-panel {
  max-width: 44rem;
  margin-right: auto;
  margin-left: auto;
  border-color: rgb(123 51 72 / 0.22);
}

.cms-danger-icon {
  background: rgb(123 51 72 / 0.1);
  color: var(--berry);
}

.site-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  background: rgb(16 24 32 / 0.88);
  padding: 1rem;
}

.site-lightbox.is-open {
  display: grid;
}

.site-lightbox img {
  max-width: min(100%, 1200px);
  max-height: 86vh;
  border-radius: 0.375rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, #fff, var(--paper-deep));
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(22rem, 0.8fr);
  gap: 2rem;
  align-items: end;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}

.footer-brand {
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.footer-link-groups {
  display: grid;
  gap: 1rem;
}

.footer-icon-links,
.footer-partner-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.footer-icon-link {
  display: inline-flex;
  width: 2.45rem;
  height: 2.45rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(180 137 69 / 0.55);
  border-radius: 0.38rem;
  background: linear-gradient(145deg, #fffdf8, #efe2c8);
  color: #78551f;
  box-shadow: 0 5px 14px rgb(104 76 33 / 0.09);
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.footer-icon-svg {
  width: 1.3rem;
  height: 1.3rem;
  color: #78551f;
}

.footer-icon-svg--vk {
  width: 1.46rem;
  height: 1.46rem;
}

.footer-icon-cutout {
  fill: #efe2c8;
  stroke: #efe2c8;
}

.footer-icon-link:hover {
  border-color: #a87835;
  background: linear-gradient(145deg, #c89d5a, #a97936);
  box-shadow: 0 10px 20px rgb(104 76 33 / 0.22);
  color: #fff;
  transform: translateY(-2px);
}

.footer-icon-link:hover .footer-icon-svg {
  color: #fff;
}

.footer-icon-link:hover .footer-icon-cutout {
  fill: #b28340;
  stroke: #b28340;
}

.footer-icon-link:focus-visible {
  outline: 2px solid #b48945;
  outline-offset: 3px;
}

.footer-partner-badge {
  display: inline-flex;
  height: 2.45rem;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgb(180 137 69 / 0.55);
  border-radius: 0.38rem;
  background: linear-gradient(145deg, #fffdf8, #efe2c8);
  color: #78551f;
  box-shadow: 0 5px 14px rgb(104 76 33 / 0.09);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.footer-partner-name,
.footer-partner-domain {
  display: inline-flex;
  height: 100%;
  align-items: center;
}

.footer-partner-name {
  padding-left: 0.65rem;
}

.footer-partner-domain {
  margin-left: 0.08rem;
  border-left: 1px solid rgb(180 137 69 / 0.28);
  background: rgb(180 137 69 / 0.1);
  padding-inline: 0.45rem;
}

.footer-partner-badge:hover {
  border-color: #a87835;
  background: linear-gradient(145deg, #c89d5a, #a97936);
  box-shadow: 0 10px 20px rgb(104 76 33 / 0.22);
  color: #fff;
  transform: translateY(-2px);
}

.footer-partner-badge:hover .footer-partner-domain {
  border-left-color: rgb(255 255 255 / 0.24);
  background: rgb(255 255 255 / 0.09);
}

.footer-partner-badge:focus-visible {
  outline: 2px solid #b48945;
  outline-offset: 3px;
}

.artwork-hero,
.poem-hero {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, #fff, var(--paper));
}

.artwork-hero-copy {
  display: grid;
  align-content: end;
  gap: 1.5rem;
  color: var(--ink-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.artwork-facts {
  display: grid;
  border-top: 1px solid var(--line);
}

.artwork-facts div {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 0;
}

.artwork-facts dt {
  color: rgb(29 33 28 / 0.46);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.artwork-facts dd {
  color: var(--ink);
}

.artwork-view-section,
.poem-reading-section {
  background: var(--paper-deep);
}

.artwork-frame {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.artwork-frame img {
  display: block;
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #fff;
  padding: clamp(0.5rem, 1.5vw, 1rem);
  box-shadow: 0 24px 70px rgb(29 33 28 / 0.14);
}

.artwork-note {
  position: sticky;
  top: 6rem;
  display: grid;
  align-content: start;
  gap: 1.5rem;
  min-height: 20rem;
  border-left: 1px solid var(--line);
  padding-left: clamp(1.25rem, 3vw, 2.5rem);
}

.craft-detail-layout {
  grid-template-columns: minmax(0, 1.18fr) minmax(18rem, 0.82fr);
}

.poem-detail {
  background: var(--paper-deep);
}

.poem-cover-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, #fff 0%, var(--paper) 44%, rgb(47 71 57 / 0.14) 100%),
    var(--paper);
}

.poem-cover-hero::before {
  position: absolute;
  inset: 1.4rem;
  pointer-events: none;
  content: "";
  border: 1px solid rgb(180 137 69 / 0.18);
}

.poem-cover-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.42fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: stretch;
  padding-block: clamp(4.5rem, 8vw, 7rem);
}

.poem-cover-copy {
  display: grid;
  align-content: center;
  gap: 1.1rem;
  min-height: 28rem;
}

.poem-cover-copy .page-title {
  max-width: 54rem;
  font-size: 7rem;
  line-height: 0.9;
}

.poem-cover-subtitle {
  max-width: 38rem;
  color: var(--ink-muted);
  font-size: 1.18rem;
  line-height: 1.8;
}

.poem-cover-tags,
.poem-reading-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.poem-cover-visual {
  position: relative;
  display: grid;
  min-height: 30rem;
  align-content: space-between;
  overflow: hidden;
  border: 1px solid rgb(29 33 28 / 0.14);
  background:
    linear-gradient(160deg, rgb(255 255 255 / 0.92), rgb(242 240 234 / 0.76)),
    repeating-linear-gradient(0deg, transparent 0 2rem, rgb(29 33 28 / 0.035) 2rem 2.05rem);
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: 0 30px 80px rgb(29 33 28 / 0.14);
}

.poem-cover-visual.has-image {
  background-image:
    linear-gradient(180deg, rgb(16 24 32 / 0.22), rgb(16 24 32 / 0.62)),
    var(--poem-cover-image);
  background-position: center;
  background-size: cover;
  color: #fff;
}

.poem-cover-visual::after {
  position: absolute;
  inset: auto 1.2rem 1.2rem auto;
  color: rgb(180 137 69 / 0.22);
  content: "§";
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 8rem;
  line-height: 0.7;
}

.poem-cover-visual > * {
  position: relative;
  z-index: 1;
}

.poem-cover-visual.has-image .poem-cover-label {
  color: rgb(255 255 255 / 0.72);
}

.poem-cover-visual.has-image .brand-monogram {
  border-color: rgb(255 255 255 / 0.44);
  background: rgb(255 255 255 / 0.78);
}

.poem-cover-visual p {
  max-width: 18rem;
  color: var(--pine);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 1.85rem;
  line-height: 1.32;
}

.poem-cover-visual.has-image p {
  color: #fff;
  text-shadow: 0 2px 24px rgb(0 0 0 / 0.28);
}

.poem-reading-section {
  border-top: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgb(255 255 255 / 0.5), transparent 22%, transparent 78%, rgb(255 255 255 / 0.42)),
    var(--paper-deep);
}

.poem-reading-layout {
  display: grid;
  grid-template-columns: minmax(11rem, 0.2fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  padding-block: clamp(3rem, 6vw, 5.5rem);
}

.poem-reading-meta {
  position: sticky;
  top: 6rem;
  display: grid;
  gap: 1.35rem;
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
}

.poem-folio {
  display: grid;
  gap: 0.8rem;
  margin: 0;
}

.poem-folio div {
  display: grid;
  gap: 0.2rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.8rem;
}

.poem-folio dt {
  color: rgb(29 33 28 / 0.46);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.poem-folio dd {
  color: var(--pine);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.1;
}

.poem-paper {
  position: relative;
  overflow: hidden;
  border: 1px solid rgb(29 33 28 / 0.12);
  background:
    linear-gradient(90deg, rgb(47 71 57 / 0.055), transparent 5rem),
    linear-gradient(180deg, #fff, rgb(251 250 246 / 0.96));
  padding: clamp(2rem, 6vw, 5rem);
  box-shadow:
    0 34px 90px rgb(29 33 28 / 0.12),
    inset 0 0 0 1px rgb(255 255 255 / 0.62);
}

.poem-paper::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: clamp(1rem, 3vw, 2.1rem);
  width: 1px;
  content: "";
  background: linear-gradient(180deg, transparent, rgb(180 137 69 / 0.36), transparent);
}

.poem-paper-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  justify-content: space-between;
  max-width: 44rem;
  margin: 0 auto clamp(2rem, 4vw, 3.4rem);
  color: rgb(29 33 28 / 0.42);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.poem-paper .poem-text {
  position: relative;
  max-width: 44rem;
  margin-inline: auto;
  color: var(--pine);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 2.15rem;
  line-height: 1.58;
}

.poem-paper-sign {
  width: fit-content;
  margin: clamp(2rem, 4vw, 3.2rem) auto 0;
  border-top: 1px solid rgb(180 137 69 / 0.44);
  padding-top: 0.6rem;
  color: rgb(180 137 69 / 0.72);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.poem-aside {
  position: sticky;
  top: 6rem;
  display: grid;
  align-content: start;
  gap: 1.2rem;
}

.poem-aside img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: 0 18px 45px rgb(29 33 28 / 0.12);
}

.poem-aside-links {
  display: grid;
  gap: 0.65rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.poem-aside-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--lapis);
}

.reveal-item {
  opacity: 0;
  transform: translate3d(0, 1.4rem, 0);
  transition:
    opacity 620ms ease,
    transform 620ms ease;
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.editorial-intro {
  align-items: start;
}

.home-directions,
.literary-band,
.chronicle-band {
  background: var(--paper-deep);
}

.direction-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.direction-card {
  display: grid;
  min-height: 16rem;
  align-content: end;
  gap: 0.75rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgb(255 255 255 / 0.42);
  padding: 1.5rem;
}

.direction-card:hover {
  background: #fff;
  color: var(--ink);
}

.direction-index {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
}

.direction-card strong,
.featured-work-copy h3,
.poem-preview-card h3,
.score-card h3,
.chronicle-row h3 {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.08;
}

.direction-card strong {
  font-size: 2.05rem;
}

.direction-card small {
  max-width: 14rem;
  color: var(--ink-muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.exhibition-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(18rem, 0.55fr);
  gap: 1.5rem;
  align-items: stretch;
}

.featured-work {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  min-height: 34rem;
  border: 1px solid var(--line);
  background: var(--paper);
}

.featured-work-image {
  display: block;
  min-height: 100%;
  overflow: hidden;
  background: rgb(29 33 28 / 0.06);
}

.featured-work-image img,
.work-miniature img,
.score-card img,
.album-tile > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-work-image img {
  transition: transform 700ms ease;
}

.featured-work:hover .featured-work-image img {
  transform: scale(1.035);
}

.featured-work-copy {
  display: grid;
  align-content: end;
  gap: 1rem;
  padding: clamp(1.5rem, 3vw, 2.4rem);
}

.featured-work-copy h3 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}

.featured-work-copy p {
  color: var(--ink-muted);
  line-height: 1.75;
}

.featured-work-copy dl {
  display: grid;
  gap: 0.45rem;
  margin-top: 1rem;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.featured-work-copy dl div {
  display: flex;
  gap: 0.8rem;
}

.featured-work-copy dt {
  min-width: 3.5rem;
  color: rgb(29 33 28 / 0.46);
}

.work-stack {
  display: grid;
  gap: 1rem;
}

.work-miniature {
  position: relative;
  display: grid;
  min-height: 16.5rem;
  overflow: hidden;
  align-items: end;
  background: var(--ink);
}

.work-miniature::after,
.album-tile::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgb(18 24 20 / 0.74), transparent 62%);
}

.work-miniature span,
.album-tile span {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.35rem;
  padding: 1.2rem;
  color: #fff;
}

.work-miniature small,
.album-tile small {
  color: rgb(255 255 255 / 0.7);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.work-miniature strong,
.album-tile strong {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.08;
}

.poem-preview-list {
  display: grid;
  gap: 1rem;
}

.poem-preview-card {
  border-top: 1px solid var(--line);
  padding: 1.35rem 0 0;
}

.poem-preview-card h3 {
  margin-top: 0.55rem;
  font-size: clamp(2rem, 3vw, 3rem);
}

.poem-preview-text {
  display: block;
  max-width: 48rem;
  margin-top: 1rem;
  color: var(--pine);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 1.7vw, 1.7rem);
  line-height: 1.55;
  transition: color 160ms ease;
}

.poem-preview-text:hover {
  color: var(--lapis);
}

.poem-preview-text:focus-visible {
  border-radius: 0.2rem;
  outline: 2px solid rgb(34 95 133 / 0.45);
  outline-offset: 0.3rem;
}

.score-list {
  display: grid;
  gap: 1rem;
}

.score-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 1rem;
}

.score-card img {
  width: 5.8rem;
  height: 5.8rem;
}

.score-card h3 {
  margin-top: 0.35rem;
  font-size: 1.9rem;
}

.score-card p {
  margin-top: 0.4rem;
  color: var(--ink-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.album-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.65rem, 1.2vw, 1rem);
}

.photo-album-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.8vw, 1.4rem);
}

.photo-album-grid > .empty-panel {
  grid-column: 1 / -1;
}

.album-tile {
  position: relative;
  display: grid;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  align-items: end;
  border-radius: 0.25rem;
  background: var(--ink);
  box-shadow: 0 1px 0 rgb(29 33 28 / 0.06);
  scroll-snap-align: start;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.album-tile:hover {
  box-shadow: 0 16px 36px rgb(29 33 28 / 0.14);
  transform: translateY(-0.15rem);
}

.album-tile > img {
  position: absolute;
  inset: 0;
  transition: transform 520ms ease;
}

.album-tile > span {
  grid-area: 1 / 1;
  align-self: end;
}

.album-tile > span em {
  color: rgb(255 255 255 / 0.74);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.45;
}

.album-tile:hover > img {
  transform: scale(1.025);
}

.album-tile-mosaic {
  position: absolute;
  inset: 0;
  display: grid;
  gap: 2px;
  background: var(--ink);
}

.album-tile-mosaic img {
  display: block;
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.album-tile-mosaic--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.album-tile-mosaic--3,
.album-tile-mosaic--4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.album-tile-mosaic--3 img:first-child {
  grid-row: span 2;
}

.album-tile-mosaic--5,
.album-tile-mosaic--6 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.album-tile-mosaic--5 img:first-child {
  grid-row: span 2;
}

.album-tile-mosaic--7,
.album-tile-mosaic--8 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.album-tile-mosaic--7 img:first-child {
  grid-row: span 2;
}

.home-albums-band {
  padding-block: clamp(3.25rem, 5vw, 4.75rem);
}

.chronicle-list {
  border-top: 1px solid var(--line);
}

.chronicle-row {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 1.35rem 0;
}

.chronicle-row time {
  color: rgb(29 33 28 / 0.48);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.chronicle-row h3 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.chronicle-row p {
  margin-top: 0.35rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

@media (min-width: 640px) {
  .cms-metric-grid,
  .cms-section-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .cms-login-shell {
    grid-template-columns: 0.9fr 1fr;
  }
}

@media (min-width: 1024px) {
  .cms-shell {
    display: grid;
    grid-template-columns: 18rem minmax(0, 1fr);
  }

  .cms-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .cms-sidebar-inner {
    height: 100%;
  }

  .cms-sidebar-footer {
    margin-top: auto;
  }

  .cms-main-inner {
    padding: 2rem 2rem 4rem;
  }

  .cms-hero,
  .cms-page-head {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .cms-autogen-panel {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .cms-metric-grid,
  .cms-section-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cms-form-layout {
    grid-template-columns: minmax(0, 1fr) 18rem;
    align-items: start;
  }

  .cms-form-actions {
    position: sticky;
    top: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-section::before {
    transform: none;
    transition: none;
  }

  .featured-work-image img {
    transition: none;
  }

  .album-tile,
  .album-tile > img {
    transition: none;
  }

  .album-tile:hover {
    transform: none;
  }

  .reveal-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 1024px) {
  .album-strip,
  .photo-album-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .poems-index-hero-inner,
  .poem-cover-grid,
  .poems-index-layout,
  .poem-reading-layout {
    grid-template-columns: 1fr;
  }

  .poems-index-copy .page-title,
  .poem-cover-copy .page-title {
    font-size: 5rem;
  }

  .poems-issue-card,
  .poem-cover-visual {
    min-height: 21rem;
  }

  .poems-catalogue-sidebar,
  .poem-reading-meta {
    position: static;
  }

  .poem-index-card h2 {
    font-size: 3.6rem;
  }

  .poem-index-card.is-featured h2 {
    font-size: 4.4rem;
  }
}

@media (max-width: 720px) {
  .cms-sidebar-inner {
    gap: 1rem;
  }

  .cms-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cms-sidebar-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cms-nav-link {
    min-height: 2.45rem;
    font-size: 0.82rem;
  }

  .cms-hero-actions,
  .cms-head-actions,
  .cms-autogen-actions .primary-button,
  .cms-autogen-actions .secondary-button,
  .cms-form-actions .primary-button,
  .cms-form-actions .secondary-button,
  .cms-form-actions .danger-button,
  .cms-danger-actions .primary-button,
  .cms-danger-actions .secondary-button,
  .cms-danger-actions .danger-button {
    width: 100%;
    justify-content: center;
  }

  .cms-head-actions .cms-inline-form {
    width: 100%;
  }

  .cms-list-panel {
    overflow: visible;
  }

  .cms-table,
  .cms-table tbody,
  .cms-table tr,
  .cms-table td {
    display: block;
  }

  .cms-table thead {
    display: none;
  }

  .cms-table tr {
    border-bottom: 1px solid rgb(29 33 28 / 0.1);
    padding: 0.8rem 1rem;
  }

  .cms-table td {
    display: grid;
    grid-template-columns: minmax(6.5rem, 0.45fr) minmax(0, 1fr);
    gap: 0.6rem;
    border-bottom: 0;
    padding: 0.35rem 0;
  }

  .cms-table td::before {
    content: attr(data-label);
    color: rgb(29 33 28 / 0.5);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .cms-table td.text-right {
    display: flex;
    justify-content: flex-start;
    padding-top: 0.75rem;
  }

  .cms-table td.text-right::before {
    display: none;
  }

  .section-band {
    padding-block: 3rem;
  }

  .home-albums-heading {
    align-items: flex-start;
  }

  .album-strip {
    grid-template-columns: none;
    grid-auto-columns: minmax(15rem, 82vw);
    grid-auto-flow: column;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 0.25rem 1rem 0.85rem 0.15rem;
    margin-right: -1rem;
    scroll-snap-type: inline mandatory;
    scrollbar-width: thin;
  }

  .photo-album-grid {
    grid-template-columns: 1fr;
  }

  .photo-grid,
  .gallery-grid {
    columns: 2 9rem;
  }

  .hero-section {
    min-height: 82vh;
  }

  .hero-section::before {
    inset: -4vh 0;
    transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.03);
  }

  .hero-title {
    font-size: clamp(3.4rem, 18vw, 5.4rem);
  }

  .hero-kicker {
    align-items: flex-start;
    font-size: 0.7rem;
  }

  .hero-kicker span {
    width: 1.8rem;
    margin-top: 0.45rem;
  }

  .hero-actions {
    gap: 0.5rem;
  }

  .hero-link {
    min-height: 2.45rem;
    padding: 0.62rem 0.85rem;
    font-size: 0.72rem;
  }

  .poems-index-hero::before {
    right: 0.75rem;
    bottom: -2.6rem;
    font-size: 6.5rem;
  }

  .poems-index-hero-inner,
  .poem-cover-grid {
    padding-block: 3.5rem;
  }

  .poems-index-copy .page-title,
  .poem-cover-copy .page-title {
    font-size: 3.35rem;
    line-height: 0.96;
  }

  .poems-index-lead,
  .poem-cover-subtitle {
    font-size: 1rem;
  }

  .poems-index-quote {
    padding-left: 2.75rem;
    font-size: 1.22rem;
  }

  .poems-index-quote::before {
    font-size: 4rem;
  }

  .poems-issue-card strong {
    font-size: 2.45rem;
  }

  .poem-index-card {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .poem-index-card h2,
  .poem-index-card.is-featured h2 {
    font-size: 2.7rem;
    line-height: 1;
  }

  .poem-index-excerpt {
    font-size: 1.28rem;
  }

  .poem-read-link {
    width: fit-content;
  }

  .poem-cover-hero::before {
    inset: 0.75rem;
  }

  .poem-cover-copy {
    min-height: 0;
  }

  .poem-cover-visual {
    min-height: 20rem;
  }

  .poem-cover-visual p {
    font-size: 1.45rem;
  }

  .poem-reading-layout {
    padding-block: 2rem;
  }

  .poem-paper::before {
    display: none;
  }

  .poem-paper-head {
    margin-bottom: 1.5rem;
  }

  .poem-paper .poem-text {
    font-size: 1.62rem;
    line-height: 1.62;
  }

  .direction-grid,
  .exhibition-grid,
  .featured-work,
  .craft-detail-layout,
  .footer-grid,
  .footer-links-grid,
  .chronicle-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    align-items: start;
  }

  .artwork-facts div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .artwork-note,
  .poem-aside {
    position: static;
  }

  .artwork-note {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 1.5rem;
    padding-left: 0;
  }

  .poem-paper {
    padding: 1.5rem;
  }

  .guestbook-panel {
    padding: 1.5rem;
  }

  .guestbook-panel::after {
    display: none;
  }

  .guestbook-book-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .guestbook-book-intro {
    max-width: none;
  }

  .guestbook-book-intro h2 {
    font-size: clamp(2.2rem, 12vw, 3.2rem);
  }

  .guestbook-entry {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .guestbook-entry-mark {
    font-size: 3.2rem;
  }

  .guestbook-reply {
    grid-column: 1;
  }

  .direction-card {
    min-height: 11rem;
  }

  .featured-work {
    min-height: 0;
  }

  .featured-work-image {
    min-height: 22rem;
  }

  .work-miniature {
    min-height: 13rem;
  }

  .score-card {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .score-card img {
    grid-column: 1 / -1;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .chronicle-row {
    gap: 0.85rem;
  }

  .list-row,
  .music-row {
    align-items: flex-start;
  }

  .music-row {
    display: grid;
  }

  .music-row img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .music-listening-room,
  .music-listening-room.has-cover {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .music-listening-cover {
    width: min(17rem, 100%);
    margin-inline: auto;
  }

  .music-playlist-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }

  .music-wave-line {
    grid-template-columns: 2.8rem minmax(0, 1fr) 2.8rem;
    gap: 0.5rem;
  }

  .music-wave-title {
    font-size: clamp(1.55rem, 8vw, 2rem);
  }

  .music-wave-scrub {
    height: 5.2rem;
  }

  .music-wave-controls {
    gap: 0.65rem;
  }

  .music-wave-control {
    width: 2.35rem;
    height: 2.35rem;
  }

  .music-wave-control.is-primary {
    width: 3.25rem;
    height: 3.25rem;
  }

  .music-wave-control.is-primary svg {
    width: 1.42rem;
    height: 1.42rem;
  }

  .metadata-list div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}
