:root {
  --bg: #ffffff;
  --fg: #111111;
  --muted: #696969;
  --line: #d9d9d9;
  --line-strong: #1a1a1a;
  --button-bg: #fafafa;
  --button-hover: #f0f0f0;
  --panel-bg: #fcfcfc;
  --panel-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
  --max-width: 760px;
  --content-width: 520px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #10100f;
    --fg: #eeeeea;
    --muted: #aaa9a3;
    --line: #3d3c38;
    --line-strong: #deded8;
    --button-bg: #1c1c1a;
    --button-hover: #292926;
    --panel-bg: #171716;
    --panel-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
  }
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--fg);
  background: var(--bg);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  user-select: text;
  -webkit-user-select: text;
  -webkit-touch-callout: none;
  -ms-user-select: text;
}

body[data-disable-selection] {
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -ms-user-select: none;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--fg);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

a {
  color: inherit;
  text-decoration: none;
}

.bio-link {
  text-decoration: underline;
  text-underline-offset: 3px;
}

button {
  font: inherit;
}

.site {
  width: min(calc(100vw - 40px), var(--max-width));
  margin: 0 auto;
  padding: 22px 0 72px;
}

.books-page .site {
  width: min(calc(100vw - 40px), 1180px);
}

.books-page .books-hero {
  width: min(100%, 520px);
}

.books-store-header {
  width: min(100%, 920px);
  margin: 26px auto 20px;
  text-align: center;
}

.books-store-header h2 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.books-store-header p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.books-cart {
  display: flex;
  justify-content: flex-end;
  min-height: 42px;
  margin: 0 0 12px;
}

.books-catalog-navigation {
  width: 100%;
  margin: 4px 0 16px;
}

.books-catalog-navigation[hidden] {
  display: none;
}

.books-back-to-catalog {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  background: var(--button-bg);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.books-back-to-catalog:hover {
  background: var(--button-hover);
}

.books-store {
  width: 100%;
  min-height: 360px;
}

#my-store-139267004,
#my-store-139267004 * {
  font-family: inherit !important;
}

.books-page #my-store-139267004 .ec-page-title,
.books-page #my-store-139267004 .ec-breadcrumbs {
  display: none !important;
}

.books-page #my-store-139267004 .grid__products {
  display: flex !important;
  justify-content: center !important;
  align-items: flex-start !important;
}

.books-page #my-store-139267004 .grid-product {
  flex: 0 1 280px !important;
  width: 280px !important;
  max-width: 100% !important;
}

.books-page #my-store-139267004 .grid-product__price {
  display: none !important;
}

.books-page #my-store-139267004 .grid-product__wrap,
.books-page #my-store-139267004 .grid-product__wrap-inner,
.books-page #my-store-139267004 .grid-product__image,
.books-page #my-store-139267004 .grid-product__image-wrap {
  width: 100% !important;
}

.books-page #my-store-139267004 .grid-product,
.books-page #my-store-139267004 .grid-product:hover,
.books-page #my-store-139267004 .grid-product__wrap,
.books-page #my-store-139267004 .grid-product__wrap:hover,
.books-page #my-store-139267004 .grid-product__image,
.books-page #my-store-139267004 .grid-product__image:hover,
.books-page #my-store-139267004 .grid-product__image-wrap,
.books-page #my-store-139267004 .grid-product__image-wrap:hover,
.books-page #my-store-139267004 .grid-product__picture,
.books-page #my-store-139267004 .grid-product__picture:hover {
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

.books-page #my-store-139267004 .details-gallery__image-wrapper {
  width: min(100%, 340px) !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.books-page #my-store-139267004 .details-gallery__images-zoom {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  background-image: none !important;
}

.books-page #my-store-139267004 .product-details__general-info > .product-details-module__title {
  display: none !important;
}

@media (min-width: 721px) {
  .books-page #my-store-139267004 .product-details__gallery,
  .books-page #my-store-139267004 .product-details__description {
    width: 42% !important;
  }

  .books-page #my-store-139267004 .product-details__sidebar {
    width: 54% !important;
  }

  .books-page #my-store-139267004 .details-gallery__wrap,
  .books-page #my-store-139267004 .details-gallery__wrap-inner,
  .books-page #my-store-139267004 .details-gallery__images,
  .books-page #my-store-139267004 .details-gallery__images-container,
  .books-page #my-store-139267004 .details-gallery__images-carousel,
  .books-page #my-store-139267004 .details-gallery__image {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
  }
}

.books-page #my-store-139267004 .details-gallery__image-wrapper-inner,
.books-page #my-store-139267004 .details-gallery__main-image-wrapper {
  width: 100% !important;
  height: auto !important;
}

.books-page #my-store-139267004 .details-gallery__picture {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
}

.books-page #my-store-139267004 .details-gallery__main-image-wrapper,
.books-page #my-store-139267004 .details-gallery__image-wrapper-inner,
.books-page #my-store-139267004 .details-gallery__picture {
  cursor: default !important;
  pointer-events: none !important;
  transform: none !important;
}

@media (prefers-color-scheme: dark) {
  .books-page.ecwid-light-checkout #my-store-139267004 {
    color-scheme: light;
    background: #ffffff;
  }

  .books-page #my-store-139267004 .grid-product__picture {
    opacity: 1;
    filter: none;
  }

  .books-page #my-store-139267004 .grid-product__image {
    position: relative !important;
  }

  .books-page #my-store-139267004 .grid-product__image::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    content: "";
    pointer-events: none;
    background: rgba(16, 16, 15, 0.28);
  }

  .books-page #my-store-139267004 .details-gallery__picture {
    opacity: 1;
    filter: brightness(0.72) contrast(0.94);
  }
}

.books-page #my-store-139267004 .details-gallery__image,
.books-page #my-store-139267004 .details-gallery__image:hover,
.books-page #my-store-139267004 .details-gallery__image *,
.books-page #my-store-139267004 .details-gallery__picture:hover {
  cursor: default !important;
  pointer-events: none !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
  background-size: contain !important;
}

.hero {
  display: grid;
  place-items: center;
  margin: 4px auto 22px;
  padding-top: 10px;
}

img {
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  user-drag: none;
}

.hero-image {
  display: block;
  width: min(100%, 520px);
  height: auto;
  border: 1px solid var(--line);
  box-shadow: var(--panel-shadow);
  object-fit: cover;
}
.page-title {
  margin: 16px 0 4px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero .page-title {
  font-size: clamp(34px, 6.5vw, 48px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: 0.16em;
}

.page-subtitle {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tabs {
  width: min(100%, 520px);
  margin: 18px auto 18px;
  display: flex;
  justify-content: center;
  align-items: end;
  gap: 26px;
  padding-top: 6px;
  border-bottom: 1px solid var(--line);
}

.tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0 0 13px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

.tab.active {
  color: var(--fg);
}

.tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--fg);
}

.panel-shell {
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

.panel {
  background: var(--panel-bg);
  border: 1px solid var(--line);
  box-shadow: var(--panel-shadow);
  padding: 20px 18px 18px;
  animation: panel-rise 240ms ease-out both;
}

.panel-inner {
  padding: 2px 4px;
}

.about-image {
  display: block;
  width: min(100%, 320px);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--line);
  margin: 0 auto 22px;
}

.about-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.about-image-frame {
  width: 240px;
  height: 240px;
  margin: 2px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.about-layout .about-image {
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  transform: scale(1.2);
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.panel-text p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.7;
}

.panel-contact {
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.work-list {
  display: grid;
  gap: 30px;
}

.work-group { display: grid; gap: 14px; }
.work-group + .work-group { padding-top: 24px; border-top: 1px solid var(--line); }
.work-group-title { margin: 0; color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.work-group-items { display: grid; gap: 16px; }

.compact-list .work-item {
  gap: 14px;
}

.work-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 2px 0;
}

.work-meta {
  min-width: 0;
}

.work-title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.work-kicker {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.work-action {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.work-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  background: var(--button-bg);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.work-button:hover {
  background: var(--button-hover);
}

.work-subtitle {
  margin: 0;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
}

.materials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.visual-work-page .site-detail {
  width: min(calc(100vw - 32px), 760px);
}

.visual-work-page .detail-frame {
  width: 100%;
}

.material-item {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  aspect-ratio: 4 / 3;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.material-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (prefers-color-scheme: dark) {
  .material-image {
    opacity: 0.8;
    filter: brightness(0.88) contrast(0.94);
  }
}

.section-label {
  margin: 0 0 10px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}


.contact-note {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--fg);
}

.contact-link {
  display: inline-block;
  font-size: 14px;
}

.contact-large {
  font-size: 16px;
}

.site-footer {
  width: min(100%, 520px);
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
  text-align: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer p { margin: 0; }
.site-footer a { text-decoration: underline; text-underline-offset: 2px; }

.back-link {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 14px;
  color: var(--fg);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.detail-page {
  background: var(--bg);
}

.site-detail {
  width: min(calc(100vw - 32px), 640px);
  padding-top: 18px;
}

.detail-frame {
  width: min(100%, 520px);
  margin: 0 auto;
}

.detail-hero {
  text-align: center;
  margin-bottom: 18px;
}

.art-wrap {
  display: inline-flex;
  padding: 10px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  margin: 0 auto 12px;
}

.detail-image {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  border: 0;
}

.book-image {
  width: 251px;
  max-width: 100%;
}

.detail-caption {
  display: none;
}

.detail-title {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-subtitle {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.detail-body {
  margin: 0;
  color: var(--fg);
  background: var(--bg);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  user-select: text;
  -webkit-user-select: text;
  -ms-user-select: text;
}

.detail-body h2 {
  margin: 26px auto 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  display: grid;
  justify-items: center;
}

.detail-body h2::after {
  content: "";
  display: block;
  width: 1.3em;
  height: 1px;
  margin-top: 8px;
  background: var(--fg);
}

.detail-body h2:first-child {
  margin-top: 0;
}

.detail-body h2 + p {
  margin-top: 0;
}

.detail-body p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.75;
}

.detail-body blockquote {
  margin: 0 0 18px;
  padding: 0 0 0 16px;
  border-left: 1px solid var(--line);
}

.detail-body blockquote p {
  margin-bottom: 10px;
}

.review p {
  font-style: italic;
}

.review footer {
  margin-top: 10px;
  font-size: 11px;
  color: var(--muted);
  font-style: normal;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  background: var(--button-bg);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cta-button:hover {
  background: var(--button-hover);
}

.cta-row {
  margin: 0;
  text-align: center;
}

.cta-row .cta-button {
  margin: 0 auto;
}

.sample-section {
  margin: 30px 0 34px;
  padding: 22px 0 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.sample-section-featured {
  width: min(100%, 680px);
  margin: 24px auto 6px;
  padding: 20px 18px 22px;
  background: var(--panel-bg);
}

.sample-section-featured p {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
}

.book-store {
  margin: 0 0 38px;
}

.book-publication-details {
  margin: 2.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.book-publication-details div {
  display: flex;
  gap: 0.5rem;
}

.book-publication-details dt {
  font-weight: 600;
}

.book-publication-details dt::after {
  content: ":";
}

.book-publication-details dd {
  margin: 0;
}

.book-product-page .site-detail {
  width: min(calc(100vw - 40px), 1180px);
}

.book-product-page .detail-frame {
  width: 100%;
}

.book-product-page .detail-hero {
  width: min(100%, 760px);
  margin-right: auto;
  margin-left: auto;
}

.book-product-page .detail-body {
  width: 100%;
}

.book-reviews {
  width: min(100%, 680px);
  margin: 44px auto 0;
}

#my-store-139267004,
#my-store-139267004 * {
  font-family: inherit !important;
}

.sample-section h2::after {
  margin-right: auto;
  margin-left: auto;
}

.sample-section .cta-row {
  margin-top: 16px;
}

.sample-open {
  cursor: pointer;
}

body.sample-reader-open {
  overflow: hidden;
}

.sample-reader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 14px;
  opacity: 0;
  transition: opacity 180ms ease;
}

.sample-reader[hidden] {
  display: none;
}

.sample-reader.is-open {
  opacity: 1;
}

.sample-reader-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 15, 0.86);
  backdrop-filter: blur(4px);
}

.sample-reader-dialog {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  width: min(100%, 920px);
  height: min(94vh, 900px);
  padding: 14px;
  border: 1px solid #444;
  background: #171717;
  color: #fff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.5);
}

.sample-reader-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  padding: 2px 2px 12px;
}

.sample-reader-header h2,
.sample-reader-kicker {
  margin: 0;
}

.sample-reader-header h2 {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.sample-reader-kicker {
  color: #aaa;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sample-reader-close {
  width: 34px;
  height: 34px;
  border: 1px solid #555;
  background: transparent;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.sample-reader-stage {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  min-height: 0;
  overflow: hidden;
  touch-action: pan-y;
}

.sample-reader-page {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.sample-reader-page img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 100%;
  max-height: calc(94vh - 150px);
  aspect-ratio: 306 / 504;
  object-fit: scale-down;
  background: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  user-select: none;
}

.sample-reader-arrow {
  width: 38px;
  height: 54px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.sample-reader button:disabled {
  opacity: 0.25;
  cursor: default;
}

.sample-reader-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
}

.sample-reader-footer p {
  margin: 0;
  color: #bbb;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.sample-reader-footer button {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.sample-reader-footer button:first-child {
  justify-self: start;
}

.sample-reader-footer button:last-child {
  justify-self: end;
}

.sample-reader-hint {
  margin: 5px 0 0;
  color: #999;
  font-size: 10px;
  text-align: center;
}

@media (max-width: 620px) {
  .sample-reader {
    padding: 0;
  }

  .sample-reader-dialog {
    width: 100%;
    height: 100dvh;
    border: 0;
    padding: 12px 8px;
  }

  .sample-reader-page img {
    max-height: calc(100dvh - 150px);
  }

  .sample-reader-stage {
    grid-template-columns: 0 minmax(0, 1fr) 0;
  }

  .sample-reader-arrow {
    visibility: hidden;
  }
}
.project-link {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.visual-novel-page .site-detail {
  width: min(calc(100vw - 32px), 1120px);
}

.visual-novel-page .detail-frame {
  width: 100%;
}

.work-detail-page .detail-title {
  font-size: 24px;
  letter-spacing: 0.1em;
}

.work-detail-page .detail-subtitle {
  margin-top: 6px;
  line-height: 1.5;
}

.visual-novel-page .detail-hero,
.visual-novel-page .detail-body > p:first-child {
  width: min(100%, 620px);
  margin-right: auto;
  margin-left: auto;
}

.visual-novel-embed {
  width: 100%;
  margin: 24px auto 0;
  aspect-ratio: 8 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
  box-shadow: var(--panel-shadow);
}

.visual-novel-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

.detail-body .visual-novel-fallback {
  margin: 12px 0 0;
  text-align: center;
}

@media (max-width: 720px) {
  .visual-novel-embed {
    aspect-ratio: 9 / 16;
  }
}

.product-landing-site {
  width: min(calc(100vw - 32px), 940px);
  padding-top: 34px;
}

.product-landing-nav {
  margin-bottom: 18px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.product-landing-card {
  display: grid;
  grid-template-columns: minmax(240px, 38%) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
  padding: 40px;
  border: 1px solid var(--line);
  background: var(--panel-bg);
  box-shadow: var(--panel-shadow);
}

.product-landing-art img {
  display: block;
  width: 100%;
  max-height: 560px;
  object-fit: contain;
}

.product-landing-kicker {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.product-landing-copy h1 {
  margin: 0 0 24px;
  font-size: clamp(28px, 4.2vw, 48px);
  font-weight: 300;
  line-height: 1.15;
}

.product-landing-copy p {
  font-size: 14px;
  line-height: 1.75;
}

.product-landing-description {
  font-size: 16px !important;
}

.product-purchase-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.product-buy-button,
.product-coming-soon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.product-coming-soon {
  cursor: default;
  color: var(--muted);
  border-color: var(--line);
  opacity: .72;
}

@media (prefers-color-scheme: dark) {
  .product-landing-art img {
    filter: brightness(.82) contrast(.96);
  }
}

@media (max-width: 680px) {
  .product-landing-card {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 24px 18px;
  }

  .product-landing-art img {
    width: min(100%, 320px);
    margin: 0 auto;
  }
}

.project-note {
  font-style: italic;
}

/* Ordinary Scores */
.scores-page .site-detail {
  width: min(calc(100vw - 32px), 1040px);
}

.scores-page .detail-frame {
  width: 100%;
}

.scores-page .detail-hero {
  width: min(100%, 620px);
  margin-left: auto;
  margin-right: auto;
}

.scores-introduction {
  width: min(100%, 740px);
  margin-left: auto;
  margin-right: auto;
  margin-top: 30px;
  margin-bottom: 42px;
}

.score-deck {
  width: min(100%, 920px);
  margin: 0 auto;
}

.score-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.score-card {
  display: flex;
  width: 100%;
  aspect-ratio: auto;
  min-height: 340px;
  padding: clamp(28px, 3.4vw, 42px) clamp(24px, 3.8vw, 46px);
  flex-direction: column;
  color: var(--fg);
  background: var(--panel-bg);
  border: 1px solid var(--line);
  box-shadow: var(--panel-shadow);
}

.score-title {
  width: 75%;
  margin: 0 0 clamp(24px, 3vw, 36px);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-strong);
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.15;
}

.score-lines {
  margin: 0;
  font-size: clamp(13px, 1.45vw, 16px);
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.score-lines span {
  display: block;
  margin-bottom: clamp(12px, 1.6vw, 19px);
}

@media (max-width: 680px) {
  .score-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .score-card {
    aspect-ratio: auto;
    min-height: 390px;
    padding: clamp(28px, 8vw, 44px) clamp(24px, 8vw, 42px);
  }

  .score-lines {
    font-size: clamp(14px, 4vw, 17px);
  }

  .score-lines span {
    margin-bottom: clamp(13px, 3.5vw, 20px);
  }
}



.journal-hero {
  text-align: center;
  margin-bottom: 18px;
}

.journal-intro {
  margin: 0 0 14px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}

.journal-feed {
  display: grid;
  gap: 14px;
}

.journal-entry {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.journal-entry:first-child {
  padding-top: 0;
  border-top: 0;
}

.journal-date {
  margin: 0 0 6px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.journal-entry-title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}

.journal-entry-title a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.journal-excerpt {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.7;
}

.journal-link {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.journal-empty {
  margin: 0;
  color: var(--muted);
}
.newsletter-popup {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: end center;
  pointer-events: none;
}

.newsletter-popup[hidden] {
  display: none;
}

.newsletter-popup.is-open {
  pointer-events: auto;
}

.newsletter-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(1px);
}

.newsletter-panel {
  position: relative;
  width: min(calc(100vw - 24px), 640px);
  margin: 0 auto 16px;
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  background: var(--panel-bg);
  box-shadow: var(--panel-shadow);
  transform: translateY(110%);
  transition: transform 220ms ease-out;
}

.newsletter-popup.is-open .newsletter-panel {
  transform: translateY(0);
}

.newsletter-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  background: var(--button-bg);
  color: var(--fg);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.newsletter-kicker {
  margin: 0 38px 8px 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.newsletter-copy {
  margin: 0 38px 14px 0;
  font-size: 14px;
  line-height: 1.6;
}

.newsletter-form {
  display: grid;
  gap: 10px;
}

.newsletter-form label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.newsletter-form input[type="email"] {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--fg);
  font: inherit;
}

.newsletter-form input[type="email"]::placeholder {
  color: var(--muted);
  opacity: 0.9;
}

.newsletter-form input[type="submit"] {
  min-height: 42px;
  border: 1px solid var(--line-strong);
  background: var(--fg);
  color: var(--bg);
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

.newsletter-form input[type="submit"]:hover {
  opacity: 0.92;
}

.newsletter-powered {
  margin: 0;
  font-size: 10px;
  color: var(--muted);
}

.newsletter-powered a {
  color: inherit;
  text-decoration: underline;
}

@media (prefers-color-scheme: dark) {
  .newsletter-backdrop {
    background: rgba(0, 0, 0, 0.48);
  }
}

@media (max-width: 720px) {
  .newsletter-panel {
    width: min(calc(100vw - 16px), 640px);
    margin-bottom: 8px;
    padding: 16px 14px 14px;
  }
}

@keyframes panel-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  .site {
    width: min(calc(100vw - 24px), var(--max-width));
    padding-top: 16px;
  }

  .hero-image {
    width: 100%;
  }

  .tabs,
  .panel-shell,
  .detail-frame {
    width: 100%;
  }

  .tabs {
    gap: 18px;
  }

  .panel {
    padding: 18px 14px 16px;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .about-image-frame {
    width: min(100%, 260px);
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
  }

  .work-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .work-action {
    align-items: flex-start;
  }

  .work-button {
    min-width: 90px;
  }

  .materials-grid {
    grid-template-columns: 1fr;
  }

  .site-detail {
    width: min(calc(100vw - 24px), 640px);
  }

  .detail-body {
    padding: 16px 14px 18px;
  }
}

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

.journal-page .journal-frame {
  width: min(100%, 560px);
}

.journal-body {
  padding-top: 12px;
}

.journal-archive {
  margin-bottom: 22px;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--line);
}

.journal-archive-title {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.journal-archive details {
  margin: 0;
}

.journal-archive summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: var(--fg);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.journal-archive summary::-webkit-details-marker {
  display: none;
}

.journal-archive summary::before {
  content: ">";
  display: inline-block;
  font-size: 10px;
  line-height: 1;
  transform: rotate(0deg);
  transition: transform 160ms ease;
}

.journal-archive details[open] > summary::before {
  transform: rotate(90deg);
}

.journal-archive-month {
  margin: 8px 0 0 14px;
}

.journal-archive-month summary {
  color: var(--muted);
  font-size: 11px;
}

.journal-archive-list {
  margin: 8px 0 0 16px;
  padding: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.journal-archive-list a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.journal-post-feed {
  display: grid;
  gap: 28px;
}

.journal-post {
  scroll-margin-top: 16px;
}

.journal-post-date {
  margin: 0 0 12px;
  color: var(--fg);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.journal-post-images {
  display: grid;
  gap: 14px;
}

.journal-post-frame {
  padding: 12px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.journal-post-image {
  display: block;
  width: 100%;
  height: auto;
}

.journal-post-caption,
.journal-post-empty {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}

.journal-carousel {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 10px;
}

.journal-slide-button {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.journal-stage {
  width: 100%;
  aspect-ratio: 4 / 5;
  padding: 12px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.journal-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.journal-arrow {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line-strong);
  background: var(--button-bg);
  color: var(--fg);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.journal-arrow:hover,
.journal-slide-button:hover .journal-stage,
.journal-arrow:focus-visible,
.journal-slide-button:focus-visible .journal-stage {
  background: var(--button-hover);
}

.journal-caption {
  margin: 12px 0 4px;
  text-align: center;
  font-size: 13px;
  line-height: 1.7;
}

.journal-counter {
  margin: 0;
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.journal-zoom {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.journal-zoom[hidden] {
  display: none;
}

.journal-zoom.is-open {
  pointer-events: auto;
}

.journal-zoom-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(2px);
}

.journal-zoom-panel {
  position: relative;
  width: min(92vw, 900px);
  max-height: 92vh;
  padding: 18px 18px 14px;
  border: 1px solid var(--line);
  background: var(--panel-bg);
  box-shadow: var(--panel-shadow);
  transform: scale(0.96);
  opacity: 0;
  transition: transform 200ms ease-out, opacity 200ms ease-out;
  display: grid;
  gap: 10px;
}

.journal-zoom.is-open .journal-zoom-panel {
  transform: scale(1);
  opacity: 1;
}

.journal-zoom-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  background: var(--button-bg);
  color: var(--fg);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.journal-zoom-stage {
  display: grid;
  place-items: center;
  max-height: calc(92vh - 84px);
}

.journal-zoom-image {
  display: block;
  max-width: 100%;
  max-height: calc(92vh - 120px);
  object-fit: contain;
}

.journal-zoom-caption {
  margin: 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.7;
}

@media (prefers-color-scheme: dark) {
  .journal-zoom-backdrop {
    background: rgba(0, 0, 0, 0.75);
  }
}

@media (max-width: 720px) {
  .journal-carousel {
    grid-template-columns: 28px minmax(0, 1fr) 28px;
    gap: 8px;
  }

  .journal-stage {
    padding: 10px;
  }

  .journal-arrow {
    width: 28px;
    height: 28px;
  }

  .journal-zoom-panel {
    width: min(94vw, 900px);
    padding: 16px 14px 12px;
  }
}
