:root {
  --paper: #fbf8f7;
  --ink: #1e1e1e;
  --mute: rgba(30, 30, 30, 0.6);
  --line: rgba(30, 30, 30, 0.1);
  --brand: #0077c8;
  --gold: var(--brand);
  --heart: #c45c6a;
  --display: "Cormorant Garamond", Georgia, serif;
  --text: "Red Hat Text", "Helvetica Neue", sans-serif;
  --brand-word: "Barlow Condensed", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }
html[data-theme="dark"] {
  --paper: #12110f;
  --ink: #f3eee6;
  --mute: rgba(243, 238, 230, 0.58);
  --line: rgba(243, 238, 230, 0.12);
  background: #12110f;
  color: var(--ink);
}
html[data-theme="dark"] .gallery-bar {
  background: rgba(18, 17, 15, 0.72);
}
html[data-theme="dark"] .gallery-bar.is-solid {
  background: rgba(18, 17, 15, 0.96);
}
html[data-theme="dark"] .tool .count {
  background: #f3eee6;
  color: #12110f;
}
html[data-theme="dark"] .chip {
  color: rgba(243, 238, 230, 0.55);
}
html[data-theme="dark"] .chip.active { color: #f3eee6; border-bottom-color: #f3eee6; }
html[data-theme="dark"] .store-mega {
  background: #1a1815;
  border-color: rgba(243, 238, 230, 0.1);
}
html[data-theme="dark"] .panel,
html[data-theme="dark"] .toast {
  background: #1c1a17;
  color: #f3eee6;
}
html[data-theme="dark"] .justified-row img,
html[data-theme="dark"] .column-grid img,
html[data-theme="dark"] .row-grid img { background: #1c1a17; }

.cover.layout-left .cover-center {
  align-items: flex-start;
  text-align: left;
  padding-left: 8vw;
  max-width: 58vw;
}
.cover.layout-novel {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.15fr);
  background: var(--paper);
  color: var(--ink);
}
.cover.layout-novel .cover-photo {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  grid-column: 2;
  grid-row: 1;
}
.cover.layout-novel .cover-shade { display: none; }
.cover.layout-novel .cover-brand,
.cover.layout-novel .cover-tools,
.cover.layout-novel .cover-center,
.cover.layout-novel .cover-skip {
  color: var(--ink);
}
.cover.layout-novel .cover-brand { left: 36px; }
.cover.layout-novel .cover-brand-word .grapharti { color: var(--ink); }
.cover.layout-novel .cover-center {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  padding: 12vh 6vw;
  align-items: flex-start;
  text-align: left;
  color: var(--ink);
}
.cover.layout-novel .cover-skip { color: var(--ink); }
.cover.layout-novel .view-gallery {
  color: var(--ink);
  border-color: var(--ink);
  background: transparent;
}
.cover.layout-novel .view-gallery:hover { background: var(--ink); color: var(--paper); }
.cover.layout-vintage {
  background: var(--paper);
  color: var(--ink);
  display: flex;
  flex-direction: column;
}
.cover.layout-vintage .cover-photo {
  position: relative;
  inset: auto;
  width: auto;
  height: auto;
  flex: 1;
  margin: 10vh 14vw 0;
  object-fit: cover;
}
.cover.layout-vintage .cover-shade { display: none; }
.cover.layout-vintage .cover-center {
  position: relative;
  padding: 32px 24px 48px;
  color: var(--ink);
}
.cover.layout-vintage .cover-brand,
.cover.layout-vintage .cover-tools { color: var(--ink); }
.cover.layout-vintage .cover-brand-word .grapharti { color: var(--ink); }
.cover.layout-vintage .view-gallery { color: var(--ink); border-color: var(--ink); background: transparent; }
.cover.layout-frame .cover-photo {
  inset: 6vh 8vw 18vh;
  width: auto;
  height: auto;
  box-shadow: 0 0 0 18px var(--paper);
}
.cover.layout-frame { background: #161410; }
.cover.layout-stripe .cover-center {
  inset: auto 0;
  top: 50%;
  height: auto;
  transform: translateY(-50%);
  padding: 36px 24px;
  background: rgba(14, 12, 10, 0.52);
  backdrop-filter: blur(10px);
}
.cover.layout-divider {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
  background: #161410;
}
.cover.layout-divider .cover-photo {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  grid-column: 2;
  grid-row: 1 / -1;
  animation: none;
  transform: none;
}
.cover.layout-divider .cover-shade { display: none; }
.cover.layout-divider .cover-center {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  padding: 12vh 6vw;
  align-items: flex-start;
  text-align: left;
}
.cover.layout-divider .cover-brand { left: 36px; }
.cover.layout-journal {
  display: grid;
  grid-template-columns: minmax(320px, 1.1fr) minmax(260px, 0.9fr);
  background: var(--paper);
  color: var(--ink);
}
.cover.layout-journal .cover-photo {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  grid-column: 1;
  grid-row: 1 / -1;
  animation: none;
  transform: none;
}
.cover.layout-journal .cover-shade { display: none; }
.cover.layout-journal .cover-brand,
.cover.layout-journal .cover-tools,
.cover.layout-journal .cover-center,
.cover.layout-journal .cover-skip { color: var(--ink); }
.cover.layout-journal .cover-brand-word .grapharti { color: var(--ink); }
.cover.layout-journal .cover-center {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  padding: 12vh 6vw;
  align-items: flex-start;
  text-align: left;
}
.cover.layout-journal .view-gallery { color: var(--ink); border-color: var(--ink); background: transparent; }
.cover.layout-journal .view-gallery:hover { background: var(--ink); color: var(--paper); }
.cover.layout-stamp {
  background: var(--paper);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.cover.layout-stamp .cover-photo {
  position: relative;
  inset: auto;
  width: min(42vh, 340px);
  height: min(42vh, 340px);
  object-fit: cover;
  animation: none;
  transform: none;
}
.cover.layout-stamp .cover-shade { display: none; }
.cover.layout-stamp .cover-brand,
.cover.layout-stamp .cover-tools,
.cover.layout-stamp .cover-center,
.cover.layout-stamp .cover-skip { color: var(--ink); }
.cover.layout-stamp .cover-brand-word .grapharti { color: var(--ink); }
.cover.layout-stamp .cover-center { position: relative; padding: 28px 24px 48px; }
.cover.layout-stamp .view-gallery { color: var(--ink); border-color: var(--ink); background: transparent; }
.cover.layout-stamp .view-gallery:hover { background: var(--ink); color: var(--paper); }
.cover.layout-outline .cover-title {
  border: 1px solid rgba(255,255,255,0.85);
  padding: 18px 28px;
}
.cover.layout-novel .cover-photo,
.cover.layout-vintage .cover-photo { animation: none; transform: none; }
.cover.type-sans .cover-title {
  font-family: var(--text);
  font-weight: 500;
  letter-spacing: 0.22em;
  font-size: clamp(28px, 4.2vw, 48px);
}
.cover.type-serif .cover-title { font-family: var(--display); }
.cover.type-modern .cover-title {
  font-family: var(--brand-word);
  font-weight: 600;
  letter-spacing: 0.18em;
  font-size: clamp(30px, 4.6vw, 52px);
}
.cover.type-timeless .cover-title {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: 0.28em;
  font-size: clamp(32px, 5vw, 56px);
}
.cover.type-bold .cover-title {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.06em;
}
.cover.type-subtle .cover-title {
  font-family: var(--text);
  font-weight: 400;
  letter-spacing: 0.32em;
  font-size: clamp(22px, 3.4vw, 36px);
}
html, body {
  margin: 0;
  min-height: 100%;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  overflow-x: hidden;
  overscroll-behavior-x: none;
}
html.is-locked,
body.is-locked {
  overflow: hidden;
  overscroll-behavior: none;
}
body.is-locked {
  position: fixed;
  width: 100%;
}
html.is-cover-page,
html.is-cover-page body {
  background: #161410;
  height: 100%;
  max-height: 100%;
  overflow: hidden;
}
html.is-cover-page #app {
  min-height: 0;
  height: 100%;
  background: #161410;
}
html.is-cover-page .cover {
  height: 100svh;
  min-height: 100svh;
  max-height: 100svh;
}
html.is-keyboard,
html.is-keyboard body {
  overflow: hidden;
}
@media (max-width: 900px) {
  html.is-keyboard .cover:not(.studio-cover) {
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  html.is-keyboard .cover:not(.studio-cover) .cover-center {
    position: relative;
    inset: auto;
    min-height: 100%;
    padding-top: max(48px, calc(10px + env(safe-area-inset-top)));
    padding-bottom: max(18px, env(safe-area-inset-bottom));
  }
  html.is-keyboard .atelier-hero:not(.studio-cover) .cover-center {
    justify-content: flex-end;
  }
  html.is-keyboard .cover.studio-cover {
    overflow: hidden;
    height: 100%;
    min-height: 100%;
    max-height: 100%;
    transform: none;
  }
  html.is-keyboard .studio-cover .cover-center {
    position: absolute;
    left: 0;
    right: 0;
    justify-content: flex-start;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
    min-height: 0;
    padding-bottom: 28px;
  }
  html.is-keyboard .cover-title {
    font-size: clamp(26px, 7vw, 36px);
  }
  html.is-keyboard .cover-skip {
    display: none;
  }
  html.is-keyboard .atelier-hero .atelier-door {
    margin: 14px auto 0;
  }
}
button, input, select { font: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; color: inherit; -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { -webkit-user-drag: none; user-select: none; display: block; }
#app { min-height: 100vh; }

/* Cover — Pixieset Michelle Moore */
.cover {
  position: relative;
  height: 100svh;
  min-height: 100svh;
  max-height: 100svh;
  color: #fff;
  overflow: hidden;
  background: #161410;
}
.cover-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  transform: scale(1.06);
}
@media (hover: hover) and (pointer: fine) {
  .cover-photo {
    will-change: transform;
    animation: cover-zoom 18s ease-out forwards;
  }
  @keyframes cover-zoom {
    from { transform: scale(1.12); }
    to { transform: scale(1.06); }
  }
  .cover.is-settled .cover-photo {
    animation: none;
    transform: scale(1.06);
  }
}
.cover.is-settled .cover-center { animation: none; }
.cover-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 10, 8, 0.38) 0%, rgba(12, 10, 8, 0.06) 38%, rgba(12, 10, 8, 0.22) 100%);
}
.cover-brand {
  position: absolute;
  top: 28px;
  left: 32px;
  right: auto;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}
.cover-brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
}
.cover-brand.is-logo img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}
.cover-brand-name {
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.cover-brand-word {
  font-family: var(--brand-word);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.cover-tools {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 14px;
}
.studio-enter {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--ink);
  opacity: 0.72;
}
.studio-enter.is-light { color: #fff; }
.studio-enter:hover { opacity: 1; }
.view-gallery { z-index: 4; }
.cover-close {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cover-close:hover { background: rgba(255,255,255,0.12); }
.cover-place {
  margin: 18px 0 0;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 400;
}
.cover-venue {
  margin: 8px 0 0;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.82;
}
.cover-welcome {
  margin: 16px auto 0;
  max-width: 28rem;
  font-size: 15px;
  line-height: 1.55;
  opacity: 0.9;
}
.cover.is-leaving .cover-center {
  opacity: 0.2;
  transform: translateY(-28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.cover-skip {
  position: absolute;
  left: 50%;
  bottom: max(18px, calc(env(safe-area-inset-bottom, 0px) + 10px));
  z-index: 4;
  width: 52px;
  height: 52px;
  margin-left: -26px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: cover-more-in 0.7s ease 1.2s forwards;
}
.cover-skip-mark {
  display: block;
  width: 22px;
  height: 12px;
  animation: cover-more-drift 2.7s ease-in-out 1.85s infinite;
}
.cover-skip svg {
  display: block;
  width: 22px;
  height: 12px;
  overflow: visible;
}
.cover-skip path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cover-skip:hover { color: #fff; }
@keyframes cover-more-in {
  from { opacity: 0; }
  to { opacity: 0.86; }
}
@keyframes cover-more-drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}
@media (prefers-reduced-motion: reduce) {
  .cover-skip { animation: none; opacity: 0.8; }
  .cover-skip-mark { animation: none; }
  .studio-dust,
  .studio-cover::after { display: none; }
}
.cover.is-leaving .cover-skip {
  animation: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}
.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;
}
.lang-switch {
  position: relative;
  z-index: 8;
}
.lang-switch-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--mute);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
}
.lang-switch-toggle i {
  font-size: 8px;
  opacity: 0.55;
  transform: translateY(-0.5px);
  transition: transform 0.2s ease;
}
.lang-switch.open .lang-switch-toggle i { transform: rotate(180deg) translateY(0.5px); }
.lang-switch.is-light .lang-switch-toggle { color: rgba(255,255,255,0.82); }
.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 176px;
  padding: 8px 0;
  background: #fff;
  border: 1px solid rgba(26, 25, 22, 0.08);
  box-shadow: 0 18px 50px rgba(26, 25, 22, 0.14);
  z-index: 20;
}
.lang-switch.open .lang-menu { display: block; }
.lang-menu button {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 8px 16px;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: none;
  text-align: left;
  cursor: pointer;
}
.lang-menu button .lang-code {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
}
.lang-menu button.active { color: var(--gold); }
.lang-menu button:hover { background: rgba(26, 25, 22, 0.04); }
.lang-switch.is-light .lang-menu {
  background: rgba(18, 16, 14, 0.94);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}
.lang-switch.is-light .lang-menu button { color: rgba(255,255,255,0.88); }
.lang-switch.is-light .lang-menu button .lang-code { color: rgba(255,255,255,0.42); }
.lang-switch.is-light .lang-menu button.active { color: #fff; }
.lang-switch.is-light .lang-menu button:hover { background: rgba(255,255,255,0.06); }
.pin-row { display: flex; gap: 8px; align-items: center; }
.pin-row input { letter-spacing: 0.22em; font-size: 16px; }
.lang-picks { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 0 0 18px; }
textarea { width: 100%; border: 1px solid var(--line); padding: 12px; min-height: 84px; resize: vertical; }
.password-field {
  position: relative;
}
.password-field input {
  padding-right: 44px;
}
.password-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  color: var(--mute);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cover .password-field {
  width: min(280px, 80vw);
}
.studio-cover .password-field {
  width: 100%;
  max-width: none;
}
.cover .password-field .field {
  width: 100%;
  text-align: left;
  padding-right: 44px;
}
.cover .password-toggle { color: #fff; }
.wm-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: none;
  overflow: hidden;
}
.wm-layer.wm-camera,
.wm-layer.wm-combo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.wm-tile {
  position: absolute;
  inset: -45%;
  transform: rotate(-22deg);
  mix-blend-mode: screen;
  opacity: var(--wm-opacity, 0.22);
  pointer-events: none;
  background-repeat: repeat;
}
.wm-text .wm-tile {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='280' height='150'><text x='24' y='86' fill='white' fill-opacity='0.92' font-family='Arial,Helvetica,sans-serif' font-size='18' font-weight='700' letter-spacing='3.2'>PHOTOGRAPHARTI</text></svg>");
  background-size: 280px 150px;
}
.wm-camera .wm-tile {
  background-image: url("/brand/camera-mark-transparent.png");
  background-size: 72px auto;
  background-position: 0 0;
}
.wm-combo .wm-tile {
  background-image:
    url("/brand/camera-mark-transparent.png"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='280' height='150'><text x='24' y='118' fill='white' fill-opacity='0.92' font-family='Arial,Helvetica,sans-serif' font-size='16' font-weight='700' letter-spacing='3'>PHOTOGRAPHARTI</text></svg>");
  background-size: 56px auto, 280px 150px;
  background-position: 18px 12px, 0 0;
}
.wm-lockup {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: calc(var(--wm-opacity, 0.22) + 0.28);
  mix-blend-mode: screen;
}
.wm-lockup-mark img { width: min(16vw, 92px); }
.wm-lockup img {
  width: min(20vw, 120px);
  height: auto;
  display: block;
}
.wm-lockup span {
  font-family: var(--brand-word);
  font-weight: 600;
  letter-spacing: 0.2em;
  font-size: clamp(13px, 2.6vw, 28px);
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}
.tile .wm-lockup img { width: 44px; }
.tile .wm-lockup span { font-size: 9px; letter-spacing: 0.14em; }
.tile .wm-layer { inset: 0; z-index: 1; }
.tile .wm-text .wm-tile { background-size: 180px 96px; }
.tile .wm-camera .wm-tile { background-size: 36px auto; }
.tile .wm-combo .wm-tile { background-size: 36px auto, 180px 96px; }
.lightbox .wm-layer { z-index: 52; }
.lightbox .wm-lockup img { width: min(18vw, 140px); }
.wm-picks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  max-width: 440px;
  margin: 0 0 14px;
}
.wm-pick {
  border: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  font-size: 13px;
  background: #fff;
}
.wm-pick.active {
  border-color: var(--brand);
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--brand);
}
.wm-live {
  position: relative;
  width: min(440px, 100%);
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #161410;
  margin: 0 0 16px;
}
.wm-live img,
.wm-live-empty {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.wm-live .wm-layer { z-index: 2; }
.qr-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin: 0 0 22px;
}
.qr-panel img {
  width: 168px;
  height: 168px;
  background: #fff;
  border: 1px solid var(--line);
}
.lightbox-chrome { z-index: 53; }
.studio-section {
  margin: 22px 0 10px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.desk-hint {
  margin: 0 0 14px;
  max-width: 42rem;
  font-size: 13px;
  line-height: 1.55;
  color: var(--mute);
}
.lifetime-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}
.lifetime-picks button {
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px 12px;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.lifetime-picks button.active,
.lifetime-picks button:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.account-card .people-filters {
  margin: 12px 0 0;
}
.people-filters button .people-filter-n {
  margin-left: 6px;
  font-variant-numeric: tabular-nums;
  color: var(--mute);
}
.people-filters button.active .people-filter-n,
.people-filters button:hover .people-filter-n {
  color: inherit;
}
.desk-select-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  padding: 10px 12px;
  background: #f7f4f0;
}
.desk-select-bar strong {
  font-size: 13px;
  font-weight: 500;
  margin-right: 4px;
}
.desk-select-bar select,
.desk-select-bar button {
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px 12px;
  font-size: 13px;
}
.desk-select-bar .danger,
.btn.danger {
  color: #8a2f2f;
  border-color: rgba(138, 47, 47, 0.28);
}
.desk-marquee {
  position: absolute;
  z-index: 12;
  border: 1px solid var(--brand);
  background: rgba(0, 119, 200, 0.12);
  pointer-events: none;
}
.column-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 3px;
}
.column-grid .tile { position: relative; overflow: hidden; }
.column-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.row-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3px;
}
.row-grid .tile { position: relative; overflow: hidden; }
.row-grid img { width: 100%; max-height: 72vh; object-fit: cover; display: block; }
.nav-place {
  font-size: 11.7px;
  letter-spacing: 1.17px;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 400;
}
.auth-tabs { display: flex; gap: 8px; margin-bottom: 22px; }
.auth-tabs button {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 11px;
  padding: 8px 0;
  color: var(--mute);
  border-bottom: 1px solid transparent;
}
.auth-tabs button.active { color: var(--ink); border-bottom-color: var(--ink); }
.auth-note { color: var(--gold); margin: 0 0 16px; }
.auth-card { max-width: 460px; }
.cover-brand-word .photo { color: #4aa8e8; }
.cover-brand-word .grapharti { color: #fff; }
.cover-center {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px 80px;
  animation: cover-rise 0.9s ease both;
}
@keyframes cover-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.cover-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(42px, 6.4vw, 72px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.1;
}
.cover-date {
  margin: 16px 0 0;
  font-size: 13px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  font-weight: 400;
}
.view-gallery {
  margin-top: 28px;
  min-height: 48px;
  padding: 0 32px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 500;
  color: #fff;
  background: transparent;
  transition: background 0.28s ease, border-color 0.28s ease, color 0.28s ease;
}
.view-gallery:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.14);
}
.cover.cta-brand .view-gallery {
  border: 1px solid var(--brand);
  letter-spacing: 0.38em;
  background: rgba(8, 16, 28, 0.38);
}
.cover.cta-brand .view-gallery:hover {
  border-color: var(--brand);
  background: rgba(0, 119, 200, 0.32);
}
.cover.cta-gold .view-gallery {
  border-color: var(--gold);
  color: #fff;
}
.cover.cta-gold .view-gallery:hover {
  border-color: var(--gold);
  background: rgba(138, 106, 66, 0.28);
}
.cover.cta-solid .view-gallery {
  background: #fff;
  color: #1e1e1e;
  border-color: #fff;
}
.cover.cta-solid .view-gallery:hover {
  background: rgba(255,255,255,0.88);
  color: #1e1e1e;
  border-color: #fff;
}
.cover.layout-novel.cta-brand .view-gallery,
.cover.layout-vintage.cta-brand .view-gallery,
.cover.layout-journal.cta-brand .view-gallery,
.cover.layout-stamp.cta-brand .view-gallery {
  color: var(--brand);
  border-color: var(--brand);
  background: transparent;
}
.cover.layout-novel.cta-brand .view-gallery:hover,
.cover.layout-vintage.cta-brand .view-gallery:hover,
.cover.layout-journal.cta-brand .view-gallery:hover,
.cover.layout-stamp.cta-brand .view-gallery:hover {
  background: var(--brand);
  color: #fff;
}
.cover.layout-novel.cta-gold .view-gallery,
.cover.layout-vintage.cta-gold .view-gallery,
.cover.layout-journal.cta-gold .view-gallery,
.cover.layout-stamp.cta-gold .view-gallery {
  color: var(--gold);
  border-color: var(--gold);
  background: transparent;
}
.cover.layout-novel.cta-solid .view-gallery,
.cover.layout-vintage.cta-solid .view-gallery,
.cover.layout-journal.cta-solid .view-gallery,
.cover.layout-stamp.cta-solid .view-gallery {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* Gallery chrome */
.gallery-shell {
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
}
.gallery-bar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
  padding: 12px 28px;
  background: rgba(251, 248, 247, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease;
}
.gallery-bar.is-solid {
  background: rgba(251, 248, 247, 0.96);
  border-bottom-color: var(--line);
}
.gallery-guide-scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(20, 16, 12, 0.28);
  padding: 16px 16px 20px;
}
.gallery-guide-paper {
  width: min(420px, 100%);
  background: var(--paper);
  color: var(--ink);
  padding: 28px 24px 22px;
  border: 1px solid var(--line);
}
.gallery-guide-kicker {
  margin: 0 0 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--brand);
}
.gallery-guide-paper h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: 28px;
}
.gallery-guide-lede {
  margin: 8px 0 16px;
  color: var(--mute);
  font-size: 14px;
}
.gallery-guide-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.gallery-guide-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.45;
}
.gallery-guide-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  color: var(--brand);
  font-size: 15px;
}
.gallery-guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
@media (min-width: 800px) {
  .gallery-guide-scrim {
    align-items: center;
    padding: 24px;
  }
}
.nav-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
}
.gallery-bar-title {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.nav-studio {
  font-size: 11.7px;
  letter-spacing: 1.17px;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 400;
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  flex-shrink: 0;
}
.tool {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--ink);
  font-size: 16px;
  opacity: 0.82;
}
.tool:hover, .tool.active { opacity: 1; }
.tool .count {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 15px;
  height: 15px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--ink);
  color: #fff;
  font-size: 9px;
  line-height: 15px;
  text-align: center;
  font-family: var(--text);
}
.nav-store-wrap { position: relative; }
.nav-store {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 14px 0 8px;
  margin-right: 4px;
  font-size: 14px;
  letter-spacing: 0.42px;
  color: var(--mute);
}
.nav-store:hover { color: var(--ink); }
.nav-store-wrap::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 18px;
  margin: 0 6px 0 2px;
  background: var(--line);
  vertical-align: middle;
}
.store-mega {
  display: none;
  position: absolute;
  top: calc(100% - 2px);
  right: 0;
  width: min(760px, calc(100vw - 32px));
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(30, 30, 30, 0.12);
  padding: 28px 32px 32px;
  z-index: 40;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: left;
}
.nav-store-wrap:hover .store-mega,
.nav-store-wrap:focus-within .store-mega { display: grid; }
.store-mega h4 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.store-mega button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 6px 0;
  font-size: 14px;
  color: var(--mute);
}
.store-mega button:hover { color: var(--ink); }
.store-mega .price {
  float: right;
  font-variant-numeric: tabular-nums;
  font-size: 12px;
}

.collection-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 26px;
  padding: 4px 28px 14px;
  background: var(--paper);
}
.chip {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  padding-bottom: 6px;
  border-bottom: 1px solid transparent;
}
.chip.active, .chip:hover {
  color: var(--ink);
}
.chip.active { border-bottom-color: var(--ink); }

.justified {
  padding: 0 3px 40px;
  display: flex;
  flex-direction: column;
}
.justified-row { display: flex; }
.justified-row .tile {
  position: relative;
  padding: 3px;
  height: 100%;
  background: transparent;
  cursor: pointer;
  overflow: visible;
}
.tile-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
}
.column-grid .tile,
.row-grid .tile {
  overflow: visible;
}
.justified-row img,
.column-grid img,
.row-grid img {
  background: #ece6df;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.justified-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (hover: hover) and (pointer: fine) {
  .tile:hover .tile-frame img,
  .tile.force-hover .tile-frame img { transform: scale(1.03); }
}
.grid-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(18, 16, 14, 0.4) 100%);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  z-index: 2;
}
.grid-actions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 2px;
  padding: 0 6px 10px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.tile:hover .grid-tint,
.tile.force-hover .grid-tint { opacity: 1; }
.tile:hover .grid-actions,
.tile.force-hover .grid-actions {
  opacity: 1;
  transform: none;
}
.fav-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  color: #fff;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,.45));
}
.tile.is-loved .fav-badge { opacity: 1; color: var(--heart); }
.tile:hover .fav-badge,
.tile.force-hover .fav-badge { opacity: 0; }
.grid-action {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.4));
}
.grid-action.on { color: var(--heart); }
.grid-action:hover { transform: scale(1.06); }

.gallery-foot {
  padding: 28px 16px 48px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
}
.gallery-foot p { margin: 0; }
.gallery-preparing {
  max-width: 440px;
  margin: 12vh auto 16vh;
  padding: 0 28px;
  text-align: center;
}
.gallery-preparing-kicker {
  margin: 0 0 18px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--brand);
}
.gallery-preparing h2 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 40px);
  color: var(--ink);
}
.gallery-preparing p {
  margin: 0;
  line-height: 1.7;
  color: var(--mute);
  font-size: 15px;
}
.gallery-preparing.is-preview {
  margin: 32px auto;
  padding: 24px 16px 40px;
}
.gallery-preparing.is-preview h2 { font-size: 22px; }
.gallery-preparing.is-preview p { font-size: 13px; }
.cover.is-awaiting:not(.layout-novel):not(.layout-vintage):not(.layout-journal):not(.layout-stamp) {
  background:
    radial-gradient(900px 480px at 50% 18%, rgba(0, 119, 200, 0.2), transparent 58%),
    #141820;
}

/* Lightbox — Pixieset zoom-from-thumb */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  color: #fff;
  touch-action: none;
  overscroll-behavior: none;
}
.lightbox-bg {
  position: absolute;
  inset: 0;
  background: #0e0d0b;
  opacity: 0;
  transition: opacity 0.42s ease;
}
.lightbox.is-open .lightbox-bg { opacity: 1; }
.lightbox-stage {
  position: absolute;
  inset: 0;
  z-index: 51;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
  padding: max(52px, env(safe-area-inset-top, 0px)) 16px max(20px, env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
}
.lightbox-photo {
  position: relative;
  z-index: 51;
  flex: 0 0 auto;
  max-width: min(92vw, 1280px);
  max-height: calc(100vh - 96px);
  max-height: calc(100svh - 96px);
  width: auto;
  height: auto;
  object-fit: contain;
  background: transparent;
  transform-origin: center center;
}
.lightbox-chrome {
  position: absolute;
  inset: 0;
  z-index: 53;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.28s ease 0.16s;
}
.lightbox.is-open .lightbox-chrome { opacity: 1; }
.lightbox-chrome button { pointer-events: auto; -webkit-tap-highlight-color: transparent; }
.lightbox-top {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  gap: 2px;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  color: rgba(255,255,255,.88);
  font-size: 22px;
  border-radius: 50%;
  background: transparent;
  outline: none;
  box-shadow: none;
}
.lightbox-nav.prev { left: 12px; }
.lightbox-nav.next { right: 12px; }
.lightbox-nav:hover,
.lightbox-nav:focus,
.lightbox-nav:active,
.lightbox-nav:focus-visible {
  background: transparent;
  color: #fff;
  outline: none;
  box-shadow: none;
}
@media (hover: hover) {
  .lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
  }
}
.ghost-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  border-radius: 50%;
  -webkit-tap-highlight-color: transparent;
}
.ghost-icon:focus,
.ghost-icon:active {
  outline: none;
  background: transparent;
}
.ghost-icon.on { color: #e07a7a; }

/* Panels */
.panel-scrim {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(18, 16, 13, 0.42);
}
.sheet {
  position: fixed;
  z-index: 45;
  top: 86px;
  right: 18px;
  width: min(440px, calc(100vw - 24px));
  max-height: calc(100vh - 110px);
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(30, 30, 30, 0.12);
  padding: 28px;
}
.sheet h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.sheet p { margin: 0 0 18px; color: var(--mute); font-size: 14px; line-height: 1.5; }
.product {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.product strong { display: block; font-weight: 500; }
.product span { color: var(--mute); font-size: 13px; }
.price { font-variant-numeric: tabular-nums; }
.sheet-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 11px;
  font-family: var(--text);
  font-weight: 500;
  line-height: 1;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: #fff;
  box-sizing: border-box;
}
.btn:hover {
  background: #f4efe8;
  color: var(--ink);
  border-color: var(--ink);
}
.btn.solid { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.solid:hover { background: #111; color: #fff; border-color: #111; }
.field { width: 100%; border: 1px solid var(--line); padding: 11px 12px; margin: 8px 0 14px; }
.cart-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.cart-line.is-total { font-weight: 500; }
.cart-line-copy strong { display: block; font-weight: 500; }
.cart-line-copy span { display: block; color: var(--mute); font-size: 12px; margin-top: 2px; }
.cart-line-qty {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.cart-line-qty button {
  width: 36px;
  height: 36px;
  color: var(--ink);
  font-size: 16px;
}
.cart-line-qty b {
  min-width: 18px;
  text-align: center;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.cart-remove {
  width: 36px;
  height: 36px;
  color: #8a847c;
  font-size: 18px;
  border-radius: 6px;
}
.cart-remove:hover {
  color: #8a2f2f;
  background: rgba(138, 47, 47, 0.08);
}
.fav-thumb {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.fav-thumb img { width: 64px; height: 48px; object-fit: cover; }
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.cover .gate {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}
.cover .gate .cover-welcome {
  font-size: 13px;
  max-width: 34ch;
  opacity: 0.86;
  margin: 0;
}
.cover .field {
  width: min(280px, 80vw);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  text-align: left;
  padding: 12px 14px;
  font-size: 16px;
  caret-color: #fff;
}
.cover .field::placeholder { color: rgba(255, 255, 255, 0.65); }
.cover.layout-novel .field,
.cover.layout-vintage .field,
.cover.layout-journal .field,
.cover.layout-stamp .field {
  color: var(--ink);
  background: #fff;
  border-color: rgba(26, 25, 22, 0.22);
  caret-color: var(--ink);
}
.cover.layout-novel .field::placeholder,
.cover.layout-vintage .field::placeholder,
.cover.layout-journal .field::placeholder,
.cover.layout-stamp .field::placeholder {
  color: var(--mute);
}

/* Studio */
.studio { max-width: 1180px; margin: 0 auto; padding: 48px 24px 80px; background: var(--paper); min-height: 100vh; }
html.is-cover-page .cover.studio-cover {
  overflow: hidden;
  isolation: isolate;
}
.studio-cover .cover-photo {
  animation: none;
  transform: none;
  will-change: auto;
}
.studio-cover .cover-center {
  justify-content: center;
  padding: 72px 24px 36px;
  overflow: visible;
  animation: none;
  opacity: 1;
  transform: none;
  z-index: 3;
  color: #fff;
  pointer-events: auto;
}
.studio-cover .cover-title {
  font-size: clamp(34px, 5vw, 56px);
  color: #fff;
}
@media (max-width: 900px) {
  .studio-cover .cover-center,
  .studio-cover.is-register .cover-center {
    justify-content: flex-start;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
    min-height: 0;
    padding: 64px 16px 40px;
  }
}
.studio-cover .cover-brand,
.studio-cover .cover-tools {
  z-index: 12;
  pointer-events: auto;
}
.studio-cover .lang-switch-toggle {
  padding: 10px 8px;
  min-height: 36px;
}
.studio-cover .cover-shade { z-index: 1; }
.studio-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.48;
  mix-blend-mode: screen;
  filter: contrast(1.55) brightness(1.2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.studio-dust {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
}
.studio-dust.is-on { opacity: 1; }
.studio-door-stack {
  width: min(340px, 100%);
  margin: 22px auto 0;
  display: grid;
  gap: 18px;
  flex: 0 0 auto;
  max-width: 100%;
}
.studio-door-stack.is-register { width: min(560px, 100%); max-width: 100%; }
.studio-door-stack form { display: grid; gap: 22px; justify-items: stretch; }
.studio-door-switch { justify-self: center; margin-top: 2px; }
.studio-door-link {
  justify-self: center;
  margin-top: 8px;
  background: none;
  border: 0;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
  min-height: 36px;
}
.studio-door-link:hover { color: #fff; }
.studio-line-hint {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.58);
  text-align: left;
}
.studio-legal-agree { letter-spacing: 0; text-transform: none; }
.studio-legal-agree a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.studio-door-note {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
}
.studio-door-fields {
  display: grid;
  gap: 20px;
  text-align: left;
}
.studio-door-fields.is-register {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px 28px;
}
.studio-line {
  display: grid;
  gap: 7px;
  margin: 0;
  min-width: 0;
}
.studio-line span {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.studio-line-input {
  width: 100%;
  margin: 0;
  padding: 6px 36px 10px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-family: var(--text);
  font-size: 16px;
}
.studio-line-input:focus {
  outline: none;
  border-bottom-color: #fff;
}
.studio-line-input:-webkit-autofill,
.studio-line-input:-webkit-autofill:hover,
.studio-line-input:-webkit-autofill:focus,
.studio-line-input:-webkit-autofill:active,
.studio-line-input:autofill {
  -webkit-text-fill-color: #fff;
  caret-color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.55);
  box-shadow: none;
  -webkit-box-shadow: none;
  background-color: transparent !important;
  background-image: none !important;
  -webkit-background-clip: text;
  background-clip: text;
  transition: background-color 99999s ease-out 0s;
}
.studio-line-input:-webkit-autofill:focus,
.studio-line-input:autofill:focus {
  border-bottom-color: #fff;
}
.studio-line .password-field { width: 100%; }
.studio-line .password-toggle {
  color: rgba(255, 255, 255, 0.45);
  right: 0;
}
.studio-door-go {
  width: 100%;
  min-height: 46px;
  margin: 6px 0 0;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: transparent;
  color: #fff;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 11px;
  font-family: var(--text);
  font-weight: 500;
}
.studio-door-go:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: #fff;
}
.studio-door-go.is-quiet {
  border-color: rgba(255, 255, 255, 0.38);
  color: rgba(255, 255, 255, 0.86);
}
.studio-door-go.is-quiet:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}
.studio-door-switch.studio-door-go {
  width: min(340px, 100%);
  justify-self: center;
}
.studio-invite-plans {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: 16px;
  width: 100%;
  min-width: 0;
}
.studio-invite-plans.is-trial {
  grid-template-columns: 1fr;
  gap: 14px;
}
.studio-invite-plan {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: #fff;
  padding: 22px 20px 18px;
  display: grid;
  gap: 10px;
  align-content: start;
  text-align: left;
  min-width: 0;
  cursor: pointer;
}
.studio-invite-plan.is-fixed { cursor: default; }
.studio-invite-after {
  display: grid;
  gap: 6px;
  padding: 2px 4px 0;
  text-align: left;
  min-width: 0;
}
.studio-invite-after strong {
  font-family: var(--text);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.78);
}
.studio-invite-after span {
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.52);
}
.studio-invite-plan.is-studio {
  border-color: rgba(255, 255, 255, 0.42);
}
.studio-invite-plan.is-on {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.07);
}
.studio-door-go.is-on {
  background: #fff;
  color: #14120f;
  border-color: #fff;
}
.studio-door-go.is-on:hover {
  background: #fff;
  color: #14120f;
  border-color: #fff;
}
.studio-invite-kicker {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.52);
}
.studio-invite-plan strong {
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.1;
  color: #fff;
}
.studio-invite-plan span,
.studio-invite-plan em {
  font-style: normal;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
}
.studio-invite-plan-actions { display: grid; gap: 8px; min-width: 0; }
.studio-invite-plan .studio-door-go { margin-top: 8px; }
@media (max-width: 900px) {
  .studio-cover .cover-brand-word { display: none; }
  .studio-cover .cover-tools { right: 16px; }
  .studio-door-fields.is-register,
  .studio-invite-plans { grid-template-columns: 1fr; }
  .studio-invite-plan { padding: 20px 16px 16px; }
}
.desk-hello {
  margin: 0 0 4px;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: center;
}
.desk-hello-meta {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}
.desk-role {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  font-family: var(--sans, inherit);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 3px 8px;
  border-radius: 999px;
}
.desk-galleries,
.people-count,
.people-until {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 500;
  white-space: nowrap;
}
.studio-account-id .desk-role { margin: 0; }
.totp-qr {
  width: 180px;
  height: 180px;
  background: #fff;
  border: 1px solid var(--line);
}
.totp-codes {
  margin: 0;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 15px;
  letter-spacing: 0.12em;
}
.desk-strip { margin: 0 0 36px; display: grid; gap: 14px; }
.desk-strip-line {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
}
.desk-strip-line b {
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.12em;
}
.desk-strip-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.desk-strip-stats p { margin: 0; display: grid; gap: 4px; }
.desk-strip-stats span {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}
.desk-strip-stats b {
  font-family: var(--display);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 500;
}
.desk-storage-labels {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--mute);
  margin-bottom: 8px;
}
.desk-storage-track { height: 3px; background: var(--line); }
.desk-storage-track i { display: block; height: 100%; background: var(--ink); }
.desk-storage.is-watch .desk-storage-track i { background: #8a5a2f; }
.desk-storage.is-full .desk-storage-track i { background: #8a2f2f; }
.desk-storage-note { margin: 8px 0 0; font-size: 13px; color: var(--ink); }
.studio-appbar-storage {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 0;
  border: 0;
  background: transparent;
  white-space: nowrap;
  opacity: 0.72;
  text-decoration: none;
}
.studio-appbar-storage:hover,
.studio-appbar-storage.is-watch,
.studio-appbar-storage.is-full { opacity: 1; }
.studio-appbar-storage.is-watch { color: #8a5a2f; }
.studio-appbar-storage.is-full { color: #8a2f2f; }
@media (max-width: 900px) {
  .studio-appbar-storage { display: none; }
  .desk-strip-stats { grid-template-columns: 1fr; }
}
.studio-head { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.studio-layout { display: grid; grid-template-columns: minmax(240px, 300px) 1fr; gap: 24px; align-items: start; margin-top: 8px; }
.studio-side { position: sticky; top: 16px; }
.gallery-nav { display: grid; gap: 8px; margin-top: 22px; }
.gallery-nav-item {
  display: grid;
  gap: 4px;
  text-align: left;
  padding: 12px;
  border: 1px solid var(--line);
  background: #fafafa;
  cursor: pointer;
}
.gallery-nav-item strong { font-family: var(--display); font-size: 18px; font-weight: 500; }
.gallery-nav-item span { font-size: 12px; color: var(--mute); }
.gallery-nav-item.active { border-color: var(--ink); background: #fff; }
.toggle-row { display: flex; flex-wrap: wrap; gap: 14px 18px; margin: 8px 0 16px; }
.check { display: flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--ink); }
.check input { width: auto; }
.studio-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.studio-thumb {
  position: relative;
  width: 92px;
  height: 70px;
  padding: 0;
  border: 2px solid transparent;
  background: #eee;
  cursor: grab;
}
.studio-thumb:active { cursor: grabbing; }
.studio-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.studio-thumb.is-cover { border-color: var(--gold); }
.studio-thumb.is-over { outline: 1px dashed var(--ink); }
.studio-thumb-del {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 16, 14, 0.72);
  color: #fff;
  font-size: 10px;
  opacity: 0;
  cursor: pointer;
}
.studio-thumb:hover .studio-thumb-del,
.studio-thumb:focus-within .studio-thumb-del { opacity: 1; }
.studio-error { color: #8a2f2f; margin: 0 0 16px; }
.studio-kicker { letter-spacing: 0.32em; text-transform: uppercase; font-size: 11px; color: var(--gold); }

.btn.gold {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.btn.gold:hover,
.share-menu .btn.gold:hover,
.share-card .btn.gold:hover {
  background: #005fa0;
  color: #fff;
  border-color: #005fa0;
}
.btn.danger:hover {
  background: #f7f0ef;
  color: #8a2f2f;
}
.switch {
  width: 36px;
  height: 20px;
  border-radius: 99px;
  background: rgba(30,30,30,0.18);
  position: relative;
  flex-shrink: 0;
}
.switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
}
.switch.on { background: var(--gold); }
.switch.on::after { transform: translateX(16px); }

.studio-shell { min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); }
.studio-appbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 56px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 40;
}
.studio-appbar-start { display: flex; align-items: center; gap: 12px; min-width: 0; }
.studio-appbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.studio-appbar-brand img { width: 22px; height: 22px; object-fit: contain; }
.studio-appbar-brand .cover-brand-word {
  font-size: 15px;
  text-shadow: none;
}
.studio-appbar-brand .cover-brand-word .photo { color: #4aa8e8; }
.studio-appbar-brand .cover-brand-word .grapharti { color: #1e1e1e; }
.studio-appbar-studio {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.studio-head-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.studio-head-lockup img { width: 28px; height: 28px; object-fit: contain; }
.studio-head-lockup .cover-brand-word { text-shadow: none; font-size: 18px; }
.studio-head-lockup .cover-brand-word .photo { color: #4aa8e8; }
.studio-head-lockup .cover-brand-word .grapharti { color: #1e1e1e; }
.studio-appbar-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.studio-appbar-help {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--mute);
  font-size: 16px;
}
.studio-account { position: relative; }
.studio-account-menu[hidden] { display: none !important; }
.studio-account-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: auto;
  right: 0;
  width: min(320px, calc(100vw - 24px));
  max-height: min(72dvh, calc(100dvh - 72px));
  overflow-x: hidden;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(20, 16, 12, 0.12);
  padding: 8px 0;
  z-index: 50;
}
.studio-account-id {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
  padding: 12px 16px 14px;
}
.studio-account-copy {
  min-width: 0;
  display: grid;
  gap: 6px;
  align-content: start;
}
.studio-account-id strong {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
}
.studio-account-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  min-width: 0;
}
.studio-account-count {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 500;
  white-space: nowrap;
}
.studio-account-email {
  font-size: 12px;
  color: var(--mute);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.studio-account-menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
.studio-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f6f1ea;
  color: #2c2824;
  border: 1px solid rgba(30, 30, 30, 0.12);
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
}
.studio-avatar:focus,
.studio-avatar:focus-visible {
  outline: none;
  box-shadow: none;
}
#studio-avatar-btn:focus-visible {
  box-shadow: 0 0 0 2px rgba(30, 30, 30, 0.18);
}
.studio-avatar.is-lg, .studio-avatar.is-xl { width: 52px; height: 52px; }
.studio-avatar.is-xl { width: 88px; height: 88px; }
.studio-avatar-img { width: 100%; height: 100%; object-fit: cover; }
.studio-monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-family: var(--display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.08em;
  line-height: 1;
  color: #2c2824;
}
.studio-monogram.is-one { letter-spacing: 0; font-size: 15px; }
.studio-avatar.is-lg .studio-monogram { font-size: 18px; }
.studio-avatar.is-lg .studio-monogram.is-one { font-size: 20px; }
.studio-avatar.is-xl .studio-monogram { font-size: 30px; letter-spacing: 0.1em; }
.studio-avatar.is-xl .studio-monogram.is-one { font-size: 34px; letter-spacing: 0; }
.studio-monogram.is-empty {
  width: 42%;
  height: 42%;
  border-radius: 50%;
  border: 1px solid rgba(44, 40, 36, 0.22);
  box-shadow: 0 0 0 3px #f6f1ea, 0 0 0 4px rgba(44, 40, 36, 0.14);
}
.studio-account-menu button,
.studio-account-menu a[data-account] {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  text-align: left;
  font-size: 14px;
  color: #2b2723;
  text-decoration: none;
  box-sizing: border-box;
}
.studio-account-menu button i,
.studio-account-menu a[data-account] i { width: 18px; color: #6d655c; }
.studio-account-menu button,
.studio-account-menu a[data-account] {
  -webkit-tap-highlight-color: transparent;
}
.studio-account-menu button.active,
.studio-account-menu a[data-account].active { background: #f7f4f0; }
.studio-account-menu button:active,
.studio-account-menu a[data-account]:active { background: #f7f4f0; }
@media (hover: hover) and (pointer: fine) {
  .studio-account-menu button:hover,
  .studio-account-menu a[data-account]:hover { background: #f7f4f0; }
}
.account-page {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 40px;
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  padding: 36px 28px 80px;
}
.account-nav { display: grid; align-content: start; gap: 4px; }
.account-nav p {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}
.account-nav button,
.account-nav a[data-account] {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  text-align: left;
  color: var(--mute);
  text-decoration: none;
  cursor: pointer;
}
.account-nav button.active,
.account-nav a[data-account].active { color: var(--ink); background: #fff; }
.account-nav button i,
.account-nav a[data-account] i { width: 16px; }
.account-main h1 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 36px;
}
.account-main {
  display: grid;
  align-content: start;
  gap: 20px;
}
.account-main h2 {
  margin: 28px 0 10px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.account-card h2 { margin: 10px 0 0; }
.account-card h2:first-child { margin-top: 0; }
.account-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 24px;
  display: grid;
  gap: 16px;
}
.account-card > strong { font-family: var(--display); font-size: 28px; font-weight: 500; }
.people-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 18px 20px;
  display: grid;
  gap: 14px;
  margin: 0 0 12px;
}
.people-card[hidden],
#people-empty[hidden] { display: none; }
.people-id { display: grid; gap: 4px; min-width: 0; }
.people-id strong { font-family: var(--display); font-size: 22px; font-weight: 500; }
.people-id > span { font-size: 13px; color: var(--mute); }
.people-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 6px;
}
.people-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: 12px;
  color: var(--mute);
}
.people-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: end;
}
.people-grant {
  display: grid;
  gap: 4px;
  margin: 0;
}
.people-grant span { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); }
.people-grant input { width: 88px; margin: 0; }
.billing-plans {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}
.billing-plan {
  border: 1px solid var(--line);
  background: #fff;
  padding: 22px;
  display: grid;
  gap: 10px;
  align-content: start;
}
.billing-plan strong {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
}
.billing-plan .btn { justify-self: start; }
.billing-meter {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  font-size: 14px;
}
.billing-meter b { font-weight: 600; }
.host-card .desk-storage-track { margin: 8px 0 14px; }
.trial-banner {
  margin: 10px 0 0;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mute);
}
.plan-gate .billing-plans { margin: 8px 0 18px; }
@media (max-width: 720px) {
  .billing-plans { grid-template-columns: 1fr; }
}
.account-kicker {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}
.account-logo-row { display: flex; align-items: center; gap: 18px; }
.account-logo { display: flex; align-items: center; gap: 14px; cursor: pointer; }
.account-logo b { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand); }
.brand-url-row { display: flex; gap: 8px; align-items: center; }
.brand-url-row input {
  flex: 1;
  letter-spacing: 0;
  font-size: 14px;
  font-family: var(--text);
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: #14120f;
  color: #fff;
}
.brand-lockup img { width: 28px; height: 28px; object-fit: contain; }
.brand-favicon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: #14120f;
  overflow: hidden;
}
.brand-favicon img { width: 28px; height: 28px; object-fit: contain; }
.brand-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.letter-picks { margin: 0; }
.letter-paper {
  background: #fff;
  border: 1px solid var(--line);
  padding: 28px 26px;
}
.letter-kicker {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brand);
}
.letter-subject {
  margin: 14px 0 0;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.15;
}
.letter-body {
  margin: 18px 0 0;
  white-space: pre-wrap;
  line-height: 1.7;
  color: #4a4541;
}
.letter-cta {
  margin: 22px 0 0;
  display: inline-block;
  background: var(--brand);
  color: #fff;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 11px;
  padding: 12px 18px;
}
.letter-preview-card { background: #f6f1ec; }
@media (max-width: 800px) {
  .account-page { grid-template-columns: 1fr; padding-top: 20px; }
  .studio-appbar-brand { gap: 8px; }
  .studio-appbar-brand .cover-brand-word { font-size: 13px; }
  .studio-appbar-studio { font-size: 16px; }
  .desk-hello { font-size: 24px; }
  .studio-account-menu { right: -8px; }
}

.board-page { max-width: 1280px; margin: 0 auto; padding: 36px 28px 80px; }
.board-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.board-head h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(36px, 4vw, 52px);
  letter-spacing: 0.06em;
}
.board-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.board-search {
  min-width: 220px;
  border: 1px solid var(--line);
  padding: 11px 14px;
}
.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px 22px;
}
.board-card {
  text-align: left;
  cursor: pointer;
  background: none;
}
.board-card-photo {
  aspect-ratio: 4 / 3;
  background: #ece6df;
  overflow: hidden;
}
.board-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.board-card-meta { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; }
.board-card-meta i { color: var(--mute); margin-top: 5px; font-size: 12px; }
.board-card-meta strong {
  display: block;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
}
.board-card-meta span { display: block; margin-top: 3px; font-size: 12px; color: var(--mute); }
.board-create { border: 1px dashed var(--line); padding: 22px; margin-bottom: 28px; }

.desk { min-height: 0; flex: 1; display: flex; flex-direction: column; background: #fff; }
.desk-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
}
.desk-top-left, .desk-top-right { display: flex; align-items: center; gap: 12px; }
.desk-back { width: 36px; height: 36px; font-size: 16px; color: var(--mute); }
.desk-title { font-size: 15px; font-weight: 500; }
.desk-date { font-size: 12px; color: var(--mute); }
.desk-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.desk-body { display: grid; grid-template-columns: 232px 1fr; min-height: calc(100vh - 113px); }
.desk-body.is-design {
  grid-template-columns: 220px minmax(260px, 340px) minmax(0, 1fr);
  height: calc(100vh - 113px);
  max-height: calc(100vh - 113px);
  overflow: hidden;
}
.desk-body.is-design .desk-side,
.desk-body.is-design .desk-main { overflow: auto; min-height: 0; }
.desk-cover-thumb {
  position: relative;
  width: calc(100% - 32px);
  margin: 0 16px 16px;
  aspect-ratio: 1;
  overflow: hidden;
  background: #ece6df;
  display: block;
  padding: 0;
  border: 0;
  cursor: pointer;
}
.desk-cover-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.desk-cover-change {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(18, 16, 14, 0.46);
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}
.desk-cover-thumb:hover .desk-cover-change,
.design-cover:hover .desk-cover-change { opacity: 1; }
@media (hover: none) {
  .desk-cover-thumb .desk-cover-change {
    opacity: 1;
    inset: auto 0 0;
    flex-direction: row;
    padding: 10px 8px;
    background: rgba(18,16,14,0.55);
  }
}
.design-cover .desk-cover-change,
.design-cover .desk-cover-focal {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
}
.desk-cover-change i { font-size: 16px; }
.desk-cover-focal {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(18, 16, 14, 0.28);
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  pointer-events: none;
}
.desk-cover-actions { display: flex; gap: 16px; align-items: center; }
.desk-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 0;
  background: none;
  border: 0;
}
.desk-link:hover, .desk-link.active { color: var(--ink); }
.desk-side {
  border-right: 1px solid var(--line);
  padding: 16px 0 24px;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.desk-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.desk-tabs button {
  height: 48px;
  color: var(--mute);
  font-size: 15px;
  border-bottom: 2px solid transparent;
}
.desk-tabs button.active { color: var(--ink); border-bottom-color: var(--gold); }
.desk-nav { padding: 8px 8px 0; display: grid; gap: 1px; }
.desk-nav-label {
  padding: 10px 12px 8px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.desk-nav > button,
.desk-set {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-align: left;
  padding: 8px 10px;
  font-size: 13px;
  color: var(--ink);
  border-radius: 6px;
}
.desk-nav-label button {
  width: auto;
  padding: 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--gold);
}
.desk-nav > button.active {
  background: rgba(18, 16, 14, 0.05);
}
.desk-nav > button:hover {
  background: rgba(18, 16, 14, 0.04);
}
.desk-set {
  cursor: pointer;
  position: relative;
}
.desk-set[draggable="true"] { cursor: grab; }
.desk-set:hover {
  background: rgba(18, 16, 14, 0.04);
}
.desk-set.active {
  background: rgba(0, 119, 200, 0.08);
}
.desk-set.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  border-radius: 2px;
  background: var(--brand);
}
.desk-set .grip {
  color: #c4beb6;
  font-size: 10px;
  width: 12px;
  flex: 0 0 auto;
  letter-spacing: 0;
}
.desk-set-name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}
.desk-set.active .desk-set-name {
  color: var(--brand);
}
.desk-set-count {
  margin-left: auto;
  color: #9a948c;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  flex: 0 0 auto;
}
.desk-set.active .desk-set-count { color: rgba(0, 119, 200, 0.72); }
.desk-set-del {
  width: 26px;
  height: 26px;
  padding: 0;
  margin-left: 2px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #7a746c;
  opacity: 1;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.desk-set-del:hover {
  color: #8a2f2f;
  background: rgba(138, 47, 47, 0.08);
}
.desk-set.is-drop {
  background: rgba(0, 119, 200, 0.08);
  box-shadow: inset 2px 0 0 var(--brand);
}
.desk-peek {
  position: fixed;
  inset: 0;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.desk-peek.is-open {
  opacity: 1;
  pointer-events: auto;
}
.desk-peek-bg {
  position: absolute;
  inset: 0;
  background: rgba(12, 11, 10, 0.94);
}
.desk-peek-stage {
  position: absolute;
  inset: 56px 12px 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
@media (min-width: 900px) {
  .desk-peek-stage { inset: 56px 88px 80px; }
}
.desk-peek-stage img {
  max-width: min(92vw, 1280px);
  max-height: calc(100vh - 140px);
  max-height: calc(100svh - 140px);
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}
.desk-peek-chrome {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.desk-peek-top {
  position: absolute;
  top: 14px;
  right: 16px;
  display: flex;
  gap: 2px;
  pointer-events: auto;
}
.desk-peek-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  border-radius: 50%;
}
.desk-peek-icon:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.desk-peek-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 22px;
  pointer-events: auto;
  border-radius: 50%;
}
.desk-peek-nav:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.desk-peek-nav.prev { left: 14px; }
.desk-peek-nav.next { right: 14px; }
.desk-peek-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 12px;
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  letter-spacing: 0.04em;
  pointer-events: none;
}
.desk-peek-meta b {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
}
.desk-nav .on-tag { margin-left: auto; font-size: 10px; letter-spacing: 0.12em; color: var(--gold); }
.desk-nav button i { width: 16px; color: var(--mute); font-size: 12px; }
.activity-tabs {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid var(--line);
  margin: 0 0 28px;
}
.activity-tabs button {
  padding: 10px 0 12px;
  color: var(--mute);
  border-bottom: 2px solid transparent;
  font-size: 13px;
}
.activity-tabs button.active { color: var(--ink); border-bottom-color: var(--gold); }
.activity-empty { text-align: center; padding: 72px 24px; color: var(--mute); max-width: 420px; margin: 0 auto; }
.activity-empty svg { width: 148px; height: auto; margin: 0 auto 20px; color: #c9bfb4; display: block; }
.activity-empty h3 { font-family: var(--display); font-size: 28px; color: var(--ink); font-weight: 500; margin: 0 0 8px; }
.activity-empty p { margin: 0; line-height: 1.6; }
.activity-table-wrap { overflow: auto; }
.activity-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.activity-table th {
  text-align: left;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.activity-table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.activity-from {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mute);
  white-space: nowrap;
}
.activity-from.is-empty { opacity: 0.45; }
.activity-cc {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--ink);
}
.activity-from i { font-size: 13px; }
.activity-file { display: inline-flex; align-items: center; gap: 10px; }
.activity-file img { width: 36px; height: 36px; object-fit: cover; background: #ece6df; }
.desk-main { padding: 22px 28px 64px; min-width: 0; display: flex; flex-direction: column; }
.desk-main-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  min-height: 48px;
  margin-bottom: 18px;
}
.desk-main-head h2 { margin: 0; font-size: 28px; font-weight: 500; font-family: var(--display); }
.desk-head-actions {
  margin: 0;
  flex-wrap: nowrap;
  align-items: center;
  overflow-x: auto;
}
.desk-sel {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-right: 6px;
}
.desk-sel-count {
  padding: 0 12px 0 2px;
  font-size: 13px;
  font-weight: 400;
  color: var(--mute);
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}
.desk-sel-count b {
  color: var(--ink);
  font-weight: 600;
  margin-right: 4px;
}
.desk-sel-rule {
  width: 1px;
  height: 14px;
  background: var(--line);
  margin: 0 8px;
  flex-shrink: 0;
}
.desk-sel-btn {
  border: 0;
  background: transparent;
  min-height: 32px;
  padding: 0 10px;
  font-size: 13px;
  font-family: var(--text);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--mute);
  border-radius: 5px;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.desk-sel-btn:hover {
  background: rgba(18, 16, 14, 0.045);
  color: var(--ink);
}
.desk-sel-btn.is-danger:hover {
  background: rgba(138, 47, 47, 0.06);
  color: #8a2f2f;
}
.desk-thumbs-wrap {
  position: relative;
  flex: 1;
  min-height: 280px;
  user-select: none;
}
.desk-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 12px;
  padding: 4px;
}
.desk-shot {
  position: relative;
  aspect-ratio: 1;
  background: #f4f0eb;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  container-type: size;
}
.desk-shot.is-selected { cursor: grab; }
.desk-shot.is-selected:active { cursor: grabbing; }
.desk-shot-media {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  line-height: 0;
  pointer-events: none;
}
.desk-shot-media .desk-shot-more,
.desk-shot-media .desk-shot-menu {
  pointer-events: auto;
}
.desk-shot img {
  width: auto;
  height: auto;
  max-width: 100cqw;
  max-height: 100cqh;
  object-fit: contain;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}
.desk-shot.is-cover { outline: none; }
.desk-shot.is-selected img {
  outline: 2px solid var(--brand);
  outline-offset: -2px;
}
.desk-shot-check {
  position: absolute;
  left: 6px;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  z-index: 3;
  pointer-events: none;
}
.desk-shot.is-selected .desk-shot-check { display: flex; }
.desk-shot.is-dragging { opacity: 0.38; }
.desk-shot.open { z-index: 6; }
.desk-shot.is-over {
  overflow: visible;
  z-index: 3;
}
.desk-shot.is-over::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 12%;
  bottom: 12%;
  width: 2px;
  border-radius: 2px;
  background: var(--brand);
  z-index: 4;
}
.desk-drag-ghost {
  position: absolute;
  left: 0;
  top: 0;
  width: 76px;
  height: 76px;
  transform: translate(-120vw, -120vh);
  pointer-events: none;
  z-index: 80;
}
.desk-drag-ghost img {
  position: relative;
  z-index: 2;
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 14px 32px rgba(18, 16, 14, 0.22);
  display: block;
}
.desk-drag-stack {
  position: absolute;
  z-index: 1;
  inset: 5px -5px -5px 5px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 6px 16px rgba(18, 16, 14, 0.12);
}
.desk-drag-stack.is-back {
  inset: 10px -9px -9px 10px;
  background: #f4f0eb;
}
.desk-drag-count {
  position: absolute;
  top: -8px;
  right: -8px;
  z-index: 3;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 119, 200, 0.32);
}
.desk-cover-flag {
  position: absolute;
  left: 6px;
  top: 6px;
  z-index: 3;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1.2;
}
.desk-shot-more {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  background: rgba(251, 248, 247, 0.88);
  color: #2c2926;
  opacity: 0;
  font-size: 16px;
  border: 0;
  border-radius: 50%;
  z-index: 3;
}
.desk-shot:hover .desk-shot-more, .desk-shot.open .desk-shot-more { opacity: 1; }
.desk-shot-menu {
  display: none;
  position: absolute;
  top: 36px;
  right: 6px;
  min-width: 228px;
  background: #fff;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(18,16,14,0.16);
  z-index: 8;
  padding: 8px 0;
}
.desk-shot-menu.is-open {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  right: auto;
  z-index: 90;
}
.desk-shot-menu button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 9px 16px;
  font-size: 13px;
  color: #2c2926;
  background: none;
}
.desk-shot-menu button i {
  width: 16px;
  text-align: center;
  color: #6b6560;
  font-size: 13px;
}
.desk-shot-menu button:hover { background: #f7f4f0; color: var(--ink); }
.desk-shot-menu .danger { color: #8a2f2f; }
.desk-shot-menu .danger i { color: #8a2f2f; }
.layout-picks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 420px;
}
.layout-pick {
  border: 1px solid var(--line);
  padding: 8px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}
.layout-pick.active { border-color: var(--gold); color: var(--ink); }
.layout-thumb {
  height: 72px;
  margin-bottom: 8px;
  background: #d9d0c6;
  position: relative;
  overflow: hidden;
}
.layout-thumb.center { background: #c9bfb4; }
.layout-thumb.center .dot { position: absolute; left: 18%; right: 18%; top: 42%; height: 18%; background: rgba(255,255,255,0.78); }
.layout-thumb.left .dot { position: absolute; left: 8%; top: 30%; width: 36%; height: 40%; background: rgba(255,255,255,0.7); }
.layout-thumb.novel { display: grid; grid-template-columns: 1fr 1.2fr; background: #f7f4f0; }
.layout-thumb.novel .dot { background: #c9bfb4; }
.layout-thumb.vintage { background: #f7f4f0; padding: 10px 14px 18px; }
.layout-thumb.vintage .dot { height: 100%; background: #c9bfb4; }
.layout-thumb.frame { background: #f7f4f0; padding: 8px; }
.layout-thumb.frame .dot { height: 100%; background: #c9bfb4; }
.layout-thumb.stripe { background: #c9bfb4; }
.layout-thumb.stripe .dot { position: absolute; left: 0; right: 0; top: 38%; height: 24%; background: rgba(20,18,16,0.45); }
.layout-thumb.divider { display: grid; grid-template-columns: 1fr 1.1fr; background: #1c1916; }
.layout-thumb.divider::before { content: ""; }
.layout-thumb.divider .dot { background: #c9bfb4; }
.layout-thumb.journal { display: grid; grid-template-columns: 1.1fr 1fr; background: #f7f4f0; }
.layout-thumb.journal .dot { background: #c9bfb4; }
.layout-thumb.stamp { background: #f7f4f0; padding: 12px 28%; }
.layout-thumb.stamp .dot { height: 100%; background: #c9bfb4; }
.layout-thumb.outline { background: #c9bfb4; }
.layout-thumb.outline .dot { position: absolute; inset: 28% 18%; border: 1px solid #fff; background: transparent; }
.desk-preview {
  border-left: 1px solid var(--line);
  background: #f4efe8;
  padding: 16px 16px 0;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.desk-preview-frame {
  flex: 1;
  min-height: 0;
  overflow: auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 4px 8px 12px;
}
.design-stage {
  margin: 0 auto;
  border: 1px solid var(--line);
  background: var(--paper);
  width: 100%;
  max-width: 720px;
  box-shadow: 0 22px 60px rgba(30,30,30,0.1);
}
.cover.is-preview {
  height: 460px;
  min-height: 0;
  cursor: pointer;
}
.cover.is-preview .cover-photo {
  animation: none;
  transform: none;
}
.cover.is-preview .cover-center { animation: none; padding: 48px 20px; }
.cover.is-preview .cover-title { font-size: clamp(22px, 3.6vw, 40px); }
.cover.is-preview .cover-date,
.cover.is-preview .cover-place,
.cover.is-preview .cover-venue { font-size: 11px; margin-top: 8px; }
.cover.is-preview .cover-welcome { font-size: 12px; max-width: 36ch; }
.cover.is-preview .view-gallery { min-height: 40px; padding: 0 22px; margin-top: 16px; font-size: 10px; pointer-events: none; }
.cover.is-preview .cover-brand { top: 14px; left: 14px; }
.cover.is-preview .cover-brand img { width: 22px; height: 22px; }
.cover.is-preview .cover-brand-word { font-size: 12px; }
.cover.is-preview .cover-tools,
.cover.is-preview .cover-skip { display: none; }
.cover.is-preview.is-focal { cursor: crosshair; }
.cover.is-preview.layout-vintage,
.cover.is-preview.layout-stamp { height: auto; min-height: 420px; }
.cover.is-preview.layout-stamp .cover-photo { width: min(36%, 180px); height: min(36%, 180px); }
.cover.is-preview.layout-vintage .cover-photo { margin: 28px 10% 0; height: 240px; flex: none; }
.design-stage.is-mobile {
  width: 375px;
  max-width: 100%;
  border-radius: 28px;
  overflow: hidden;
  border: 8px solid #1c1916;
  box-shadow: 0 22px 60px rgba(30, 30, 30, 0.18);
}
.design-stage.is-mobile .cover.is-preview { height: 560px; }
.cover.is-preview:hover .desk-cover-change { opacity: 1; }
.cover.is-preview .desk-cover-change,
.cover.is-preview .desk-cover-focal {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  z-index: 6;
}
.design-stage.is-dark { --paper: #12110f; --ink: #f3eee6; background: #12110f; color: #f3eee6; }
.design-cover {
  height: 340px;
  position: relative;
  overflow: hidden;
  background: #161410;
  color: #fff;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
}
.design-stage.is-mobile .design-cover { height: 420px; }
.design-cover.is-focal { cursor: crosshair; }
.design-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.design-cover .copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  font-family: var(--display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 2;
  pointer-events: none;
}
.design-cover .copy em {
  font-family: var(--brand-word);
  font-size: 9px;
  letter-spacing: 0.22em;
  font-style: normal;
  opacity: 0.78;
}
.design-cover .copy span {
  font-family: var(--text);
  font-size: 9px;
  letter-spacing: 0.22em;
  border: 1px solid currentColor;
  padding: 6px 12px;
}
.design-cover.left .copy { align-items: flex-start; text-align: left; padding-left: 8%; }
.design-cover.novel { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); color: var(--ink); }
.design-cover.novel img { height: 100%; grid-column: 2; }
.design-cover.novel .copy { position: relative; grid-column: 1; color: var(--ink); }
.design-cover.vintage { background: var(--paper); display: flex; flex-direction: column; color: var(--ink); height: auto; min-height: 320px; }
.design-cover.vintage img { height: 220px; }
.design-cover.vintage .copy { position: relative; color: var(--ink); padding: 18px; }
.design-cover.stripe .copy { inset: auto 0; top: 50%; transform: translateY(-50%); height: auto; padding: 16px; background: rgba(14,12,10,0.5); }
.design-cover.divider { display: grid; grid-template-columns: 0.9fr 1.1fr; background: #161410; }
.design-cover.divider img { height: 100%; grid-column: 2; }
.design-cover.divider .copy { position: relative; grid-column: 1; }
.design-cover.journal { display: grid; grid-template-columns: 1.1fr 0.9fr; background: var(--paper); color: var(--ink); }
.design-cover.journal img { height: 100%; }
.design-cover.journal .copy { position: relative; color: var(--ink); }
.design-cover.stamp { background: var(--paper); color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; height: auto; min-height: 320px; padding: 28px 0; }
.design-cover.stamp img { width: 42%; height: auto; aspect-ratio: 1; object-fit: cover; }
.design-cover.stamp .copy { position: relative; color: var(--ink); }
.design-cover.outline .copy strong { border: 1px solid #fff; padding: 12px 18px; }
.design-cover.type-sans .copy strong { font-family: var(--text); font-weight: 500; }
.design-cover.type-modern .copy strong { font-family: var(--brand-word); font-weight: 600; letter-spacing: 0.16em; }
.design-cover.type-timeless .copy strong { font-weight: 500; letter-spacing: 0.22em; }
.design-cover.type-bold .copy strong { font-weight: 600; letter-spacing: 0.06em; }
.design-cover.type-subtle .copy strong { font-family: var(--text); font-weight: 400; letter-spacing: 0.28em; font-size: 18px; }
.preview-devices {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 8px 0 14px;
  background: #f4efe8;
  z-index: 4;
}
.preview-devices button {
  width: 44px;
  height: 40px;
  color: var(--mute);
  border: 1px solid var(--line);
  background: #fff;
}
.preview-devices button.active { color: var(--ink); border-color: var(--ink); }
.design-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.design-bar-tools { display: flex; gap: 12px; opacity: 0.7; }
.type-picks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.type-pick {
  border: 1px solid var(--line);
  padding: 16px 12px;
  text-align: left;
}
.type-pick.active { border-color: var(--gold); }
.type-pick strong { display: block; font-size: 28px; margin-bottom: 8px; }
.type-pick strong.sans { font-family: var(--text); letter-spacing: 0.08em; }
.type-pick strong.modern { font-family: var(--brand-word); letter-spacing: 0.12em; font-weight: 600; }
.type-pick strong.timeless { font-family: var(--display); font-weight: 500; opacity: 0.78; }
.type-pick strong.bold { font-family: var(--display); font-weight: 600; letter-spacing: 0.16em; }
.type-pick strong.subtle { font-family: var(--text); font-size: 18px; letter-spacing: 0.28em; font-weight: 400; }
.type-pick span { display: block; font-size: 12px; }
.type-pick em { display: block; font-size: 11px; color: var(--mute); font-style: normal; margin-top: 2px; }
.cover-picker-scrim {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(18, 16, 14, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.cover-picker {
  width: min(760px, 100%);
  max-height: 86vh;
  overflow: auto;
  background: #fff;
  padding: 22px 24px 28px;
  box-shadow: 0 24px 70px rgba(18,16,14,0.2);
}
.design-mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; padding: 3px; }
.design-mini-grid.is-columns { grid-template-columns: repeat(3, 1fr); }
.design-mini-grid.is-rows { grid-template-columns: 1fr; }
.design-mini-grid.is-rows img { aspect-ratio: 16/7; }
.design-mini-grid img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.empty-state { text-align: center; padding: 64px 24px; color: var(--mute); max-width: 420px; margin: 40px auto; }
.empty-state h3 { font-family: var(--display); font-size: 28px; color: var(--ink); font-weight: 500; margin: 0 0 8px; }
.share-pop {
  position: relative;
}
.share-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(30,30,30,0.12);
  padding: 8px 0;
  z-index: 12;
}
.share-pop.open .share-menu { display: block; }
.share-menu button:not(.btn) { display: block; width: 100%; text-align: left; padding: 10px 16px; font-size: 13px; color: var(--ink); }
.share-menu button:not(.btn):hover { background: #f7f4f0; color: var(--ink); }
.share-card {
  min-width: 280px;
  padding: 18px 16px 16px;
}
.share-kicker {
  margin: 0 0 12px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
}
.share-qr {
  display: block;
  width: 180px;
  height: 180px;
  margin: 0 auto 12px;
  background: #fff;
}
.share-url, .share-pin {
  text-align: center;
  font-size: 13px;
  margin: 0 0 6px;
}
.share-pin { letter-spacing: 0.18em; }
.share-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin: 10px 0 4px;
}
.share-actions > * {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  padding: 8px 12px;
  margin: 0;
  text-align: center;
  font-size: 13px;
  color: var(--ink);
  background: none;
  border: 0;
  text-decoration: none;
}
.share-actions > *:hover {
  color: var(--brand);
  background: none;
}
.share-menu .share-actions button:not(.btn),
.share-menu .share-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
  padding: 8px 12px;
  margin: 0;
  background: none;
}
.share-menu .share-actions button:not(.btn):hover,
.share-menu .share-actions a:hover {
  background: none;
  color: var(--brand);
}
.share-download {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 16px;
  font-size: 13px;
  color: inherit;
  text-decoration: none;
}
.share-card label { padding: 8px 16px 0; margin: 0; }
.share-card textarea { width: 100%; min-height: 64px; border: 1px solid var(--line); padding: 10px; }
.share-card .btn { margin: 10px 16px 0; width: calc(100% - 32px); }
.share-note {
  margin: 12px 16px 4px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--mute);
}

.studio h1 { margin: 10px 0 8px; font-family: var(--display); font-weight: 500; font-size: clamp(40px, 6vw, 64px); }
.lede { max-width: 540px; color: var(--mute); line-height: 1.65; }
.studio-layout > .card { margin-top: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; margin-bottom: 14px; }
label span { display: block; margin-bottom: 6px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); }
input, select { width: 100%; border: 1px solid var(--line); padding: 12px; }
.desk-sel select.desk-sel-btn {
  width: auto;
  max-width: 168px;
  min-width: 0;
  border: 0;
  padding: 0 22px 0 10px;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%238a847c' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 10px 6px;
  color: var(--mute);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.desk-sel select.desk-sel-btn:hover {
  background-color: rgba(18, 16, 14, 0.045);
  color: var(--ink);
}
.row-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.row-actions.desk-head-actions { margin-top: 0; flex-wrap: nowrap; }
.drop { margin-top: 18px; border: 1px dashed rgba(26,25,22,.22); padding: 32px 16px; text-align: center; color: var(--mute); }
.hidden-file { display: none; }
.upload-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; margin-top: 10px; }
.upload-item img { width: 72px; height: 54px; object-fit: cover; }
.bar { height: 3px; background: #eee; margin-top: 6px; }
.bar > span { display: block; height: 100%; background: var(--gold); }
.status { font-size: 12px; color: var(--mute); }

@media (max-width: 900px) {
  .gallery-bar { padding: 10px 14px; min-height: 64px; }
  .nav-store { display: none; }
  .store-mega { display: none !important; }
  .cover-title { font-size: 34px; }
  .cover-brand { left: 16px; top: 18px; }
  .cover-tools { right: 12px; top: 14px; }
  .grid-2 { display: block; }
  .studio-layout { display: block; }
  .studio-side { position: static; }
  .collection-row { justify-content: flex-start; padding-left: 14px; }
  .desk-body,
  .desk-body.is-design {
    grid-template-columns: 1fr;
    height: auto;
    max-height: none;
    overflow: visible;
  }
  .desk-preview {
    min-height: 72vh;
    height: min(78vh, 760px);
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .cover.layout-novel,
  .cover.layout-divider,
  .cover.layout-journal { grid-template-columns: 1fr; }
  .cover.layout-left .cover-center { max-width: none; padding-left: 24px; }
}

.board-tabs {
  display: flex;
  gap: 18px;
  margin-top: 8px;
}
.board-tabs button {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 500;
  color: var(--mute);
}
.board-tabs button.active { color: var(--ink); }
.board-page.is-artifex { max-width: 1440px; }
.artifex-cue {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-align: left;
  padding: 18px 20px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  background: #fff;
}
.artifex-cue strong {
  display: block;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
}
.artifex-cue span { color: var(--mute); font-size: 14px; }
.artifex-cue b {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  white-space: nowrap;
}
.artifex-lede {
  margin: 0;
  color: var(--mute);
  font-size: 15px;
  line-height: 1.55;
  max-width: 62ch;
}
.artifex-editor {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
  gap: 40px;
  align-items: start;
}
.artifex-editor-main { display: grid; gap: 18px; }
.artifex-block {
  background: #fff;
  border: 1px solid var(--line);
  padding: 22px 24px;
}
.artifex-block h2 {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.artifex-block .desk-hint { margin: 0 0 16px; }
.artifex-block label { display: grid; gap: 6px; margin-top: 14px; }
.artifex-block label span {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}
.artifex-status {
  display: flex;
  align-items: center;
  gap: 14px;
}
.artifex-live {
  margin-left: auto;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.artifex-switch-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.artifex-switch-row:first-of-type { border-top: 0; padding-top: 0; }
.artifex-switch-row strong { display: block; font-size: 14px; font-weight: 500; }
.artifex-switch-row em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 12px;
  color: var(--mute);
}
.artifex-save {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  position: sticky;
  bottom: 0;
  padding: 16px 0 8px;
  background: linear-gradient(180deg, transparent, var(--paper) 28%);
}
.artifex-save span { font-size: 13px; color: var(--mute); }
.artifex-preview-pane {
  position: sticky;
  top: 24px;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
}
.artifex-preview-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: #fff;
}
.artifex-preview-bar em {
  font-style: normal;
  color: var(--gold);
  letter-spacing: 0.18em;
}
.artifex-preview-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #f4f0eb;
  border-bottom: 1px solid var(--line);
}
.artifex-preview-chrome i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d8d0c6;
}
.artifex-preview-chrome b {
  margin-left: 8px;
  font-weight: 400;
  font-size: 11px;
  color: var(--mute);
  letter-spacing: 0.04em;
}
.artifex-preview { background: #f6f3ef; }
.artifex-preview-hero {
  position: relative;
  min-height: 200px;
  background: #14120f;
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.artifex-preview-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
.artifex-preview-hero div { position: relative; z-index: 1; padding: 24px 20px; }
.artifex-preview-hero p {
  margin: 0;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 9px;
}
.artifex-preview-hero strong {
  display: block;
  margin-top: 6px;
  font-family: var(--display);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.artifex-preview-hero em { display: block; margin-top: 8px; font-size: 10px; font-style: normal; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.75; }
.artifex-preview-feature { padding: 14px 14px 4px; font-family: var(--display); font-size: 18px; }
.artifex-preview-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; padding: 10px 14px 14px; }
.artifex-preview-grid span { aspect-ratio: 4/5; background: #ddd; display: block; overflow: hidden; }
.artifex-preview-grid img { width: 100%; height: 100%; object-fit: cover; }
.artifex-preview-hero .artifex-preview-door {
  display: inline-block;
  margin-top: 14px;
  padding: 7px 16px 6px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.artifex-preview-foot {
  display: grid;
  gap: 4px;
  padding: 8px 14px 18px;
  text-align: center;
  font-size: 11px;
  color: var(--mute);
}
.atelier-social { display: flex; gap: 16px; justify-content: center; margin: 8px 0 0; }
.atelier-desk {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: 36px;
  align-items: start;
}

.atelier { background: var(--paper); color: var(--ink); }
.atelier-hero-empty { background: #14120f; }
.cover.hero-ink .atelier-hero-empty { background: #14120f; }
.cover.hero-dusk .atelier-hero-empty {
  background:
    radial-gradient(120% 80% at 50% 20%, #3a2a1c 0%, #1c1612 52%, #120f0d 100%);
}
.cover.hero-noir .atelier-hero-empty { background: #0c0b0a; }
.artifex-preview-hero.is-ink { background: #14120f; }
.artifex-preview-hero.is-dusk {
  background:
    radial-gradient(120% 80% at 50% 20%, #3a2a1c 0%, #1c1612 52%, #120f0d 100%);
}
.artifex-preview-hero.is-noir { background: #0c0b0a; }
.atelier-kicker {
  margin: 0 0 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 11px;
  opacity: 0.82;
}
.atelier-hero .cover-center { color: #fff; }
.atelier-hero .atelier-door {
  display: grid;
  gap: 12px;
  width: min(268px, 82vw);
  margin: 28px auto 0;
  padding: 18px 20px 14px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: transparent;
  text-align: center;
}
.atelier-hero .atelier-door .field {
  width: 100%;
  margin: 0;
  padding: 8px 4px 12px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 0;
  color: #fff;
  text-align: center;
  font-size: 20px;
  letter-spacing: 0.42em;
  font-variant-numeric: tabular-nums;
  caret-color: #fff;
}
.atelier-hero .atelier-door .field:placeholder-shown {
  caret-color: transparent;
}
.atelier-hero .atelier-door .field::placeholder {
  letter-spacing: 0.16em;
  font-size: 11px;
  text-transform: uppercase;
  text-align: center;
  color: rgba(255, 255, 255, 0.58);
}
.atelier-open {
  margin: 2px 0 0;
  padding: 6px 0 0;
  min-height: 0;
  border: none;
  background: transparent;
  color: #fff;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 500;
  opacity: 0.88;
  cursor: pointer;
}
.atelier-open:hover { opacity: 1; background: transparent; }
.atelier-feature {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 72vh;
  background: #11100e;
  color: #fff;
}
.atelier-feature-photo { display: block; overflow: hidden; background: #1a1814; }
.atelier-feature-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.atelier-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 40px;
  gap: 14px;
}
.atelier-feature-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 56px);
}
.atelier-feature-copy p { margin: 0; opacity: 0.72; }
.atelier-feature-copy .view-gallery { align-self: flex-start; margin-top: 12px; }
.atelier-chapter { padding: 64px 28px 24px; max-width: 1280px; margin: 0 auto; }
.atelier-chapter h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 28px;
  margin: 0 0 28px;
}
.atelier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 28px 18px;
}
.atelier-card { text-align: left; color: inherit; }
.atelier-card-photo { aspect-ratio: 4 / 5; background: #ece6df; overflow: hidden; }
.atelier-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.atelier-card strong {
  display: block;
  margin-top: 12px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
}
.atelier-card span { display: block; margin-top: 4px; font-size: 13px; color: var(--mute); }
.atelier-foot {
  padding: 48px 24px 72px;
  text-align: center;
  color: var(--mute);
}
.atelier-note {
  max-width: 42ch;
  margin: 0 auto 16px;
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.45;
  color: var(--ink);
}
.atelier-mark {
  margin-top: 28px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 11px;
}
.atelier-desk {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: 36px;
  align-items: start;
}
.atelier-desk-form { display: grid; gap: 14px; }
.artifex-home-list { overflow-x: auto; }
.atelier-home-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 140px minmax(120px, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.atelier-home-thumb {
  width: 56px;
  height: 70px;
  background: #ece6df;
  overflow: hidden;
}
.atelier-home-thumb img { width: 100%; height: 100%; object-fit: cover; }
.atelier-home-row strong { display: block; font-size: 14px; }
.atelier-home-row span { display: block; font-size: 12px; color: var(--mute); }
.atelier-home-move { display: flex; flex-direction: column; gap: 4px; }
.atelier-home-move button {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}
@media (max-width: 900px) {
  .atelier-feature { grid-template-columns: 1fr; }
  .atelier-desk, .atelier-home-row, .artifex-editor { grid-template-columns: 1fr; }
  .artifex-preview-pane { position: static; }
  .board-tabs button { font-size: 26px; }
}

.legal-mini {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  margin-top: 18px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.legal-mini a { color: var(--mute); }
.legal-mini a.is-on,
.legal-mini a:hover { color: var(--ink); }
.legal-mini.is-cover {
  margin-top: 28px;
  position: relative;
  z-index: 3;
}
.legal-mini.is-cover a { color: rgba(255, 255, 255, 0.55); }
.legal-mini.is-cover a:hover { color: #fff; }
.legal-page {
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
}
.legal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px 8px;
}
.legal-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
}
.legal-brand img { width: 28px; height: 28px; }
.legal-page .legal-mini { margin: 8px 28px 0; }
.legal-copy {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 28px 96px;
}
.legal-kicker {
  margin: 0 0 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--brand);
}
.legal-copy h1 {
  margin: 0 0 18px;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1.08;
}
.legal-intro,
.legal-block p,
.legal-updated,
.legal-mail {
  margin: 0 0 16px;
  line-height: 1.7;
  color: var(--mute);
  font-size: 16px;
}
.legal-intro { color: var(--ink); }
.legal-block { margin: 32px 0 0; }
.legal-block h2 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 26px;
}
.legal-updated { margin-top: 40px; font-size: 13px; }
.legal-mail a { color: var(--ink); }
@media (max-width: 700px) {
  .legal-top { padding: 18px 18px 4px; }
  .legal-copy { padding: 18px 18px 72px; }
  .legal-page .legal-mini { margin: 4px 18px 0; }
}
