:root {
  --ink: #191a1c;
  --paper: #f6f5f2;
  --acid: #dfff49;
  --muted: #c0bdbf;
  color-scheme: light;
  font: 400 16px/1.45 'Bricolage Grotesque',Arial,sans-serif;
  color: var(--ink);
  background: var(--ink);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body,h1,h2,h3,p,figure,dl,dd,blockquote {
  margin: 0;
}

button,input,textarea,select {
  font: inherit;
}

button,a {
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

a {
  text-decoration: none;
}

button {
  border: 0;
  cursor: pointer;
  background: none;
  padding: 0;
}

button:focus-visible,a:focus-visible,summary:focus-visible,.filmstrip:focus-visible {
  outline: 3px solid #9294ff;
  outline-offset: 3px;
}

.defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.28em;
  height: 1.28em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}

.hero {
  isolation: isolate;
  position: relative;
  overflow: clip;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  color: white;
  background: #211e22;
}

.hero:before,#ambience {
  content: "";
  position: absolute;
  inset: -55px;
  z-index: -2;
  background: center 40%/cover no-repeat;
  filter: blur(42px);
  opacity: .28;
  pointer-events: none;
}

.hero:before {
  background-image: url(video/culoare-2.jpg);
}

#ambience {
  z-index: -1;
  background-color: #211e22;
  opacity: .68;
  background-blend-mode: soft-light;
}

.mast,.stage,.desktop-foot,.paper {
  width: min(100% - 112px,1536px);
  margin-inline: auto;
}

.mast,.desktop-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mast {
  min-height: 88px;
  border-bottom: 1px solid #ffffff30;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.08em;
}

.logo .icon {
  width: 31px;
  height: 31px;
  color: var(--acid);
}

.logo span {
  margin-left: -8px;
  color: var(--acid);
}

.mast nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
}

.mast .selected {
  padding: 7px 17px;
  border-radius: 30px;
  background: #ffffff1a;
}

.place,.rating,.eyebrow,.map,.book,.all-page,.desktop-foot a,.index-open {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.place {
  font-size: 14px;
}

.place .icon {
  color: var(--acid);
  width: 15px;
}

.stage {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  align-items: center;
  gap: clamp(34px,5vw,92px);
  flex: 1;
  padding-block: 30px;
}

.intro {
  max-width: 410px;
}

.eyebrow {
  font: 600 11px/1.4 ui-monospace,monospace;
  letter-spacing: .13em;
}

.eyebrow i {
  width: 23px;
  height: 2px;
  background: var(--acid);
}

.intro h1,.caption h2,.catalog-head h2,.visit h2 {
  font-weight: 800;
  letter-spacing: -.075em;
  line-height: .89;
}

.intro h1 {
  font-size: clamp(76px,7vw,120px);
  margin: 23px 0 25px;
  overflow-wrap: anywhere;
}

.intro h1 span,.visit h2 span,.form-title h2 span {
  color: var(--acid);
}

.intro>p {
  font-size: clamp(17px,1.4vw,21px);
  line-height: 1.42;
  max-width: 350px;
  color: #e3dddf;
}

.rating {
  margin: 26px 0 33px;
  font-size: 14px;
}

.rating .icon {
  color: var(--acid);
  width: 17px;
}

.rating span {
  color: #d5cfd2;
}

.side-book {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.side-book>a:last-child {
  font-size: 14px;
  border-bottom: 1px solid #a9a2a3;
}

.book {
  background: var(--acid);
  color: #171a13;
  border-radius: 100px;
  padding: 14px 24px;
  font-weight: 750;
  justify-content: center;
  line-height: 1.15;
  min-height: 48px;
}

.book .icon {
  width: 19px;
  height: 19px;
}

.player {
  width: clamp(310px,min(27vw,39svh),440px);
  height: clamp(560px,76svh,810px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #252125;
  border-radius: 24px;
  outline: 1px solid #ffffff42;
  box-shadow: 0 12px 50px #100a1626;
  container-type: inline-size;
}

.slides,.slide,.frame,.slide>img,.slide>video,.frame>img {
  width: 100%;
  height: 100%;
}

.slides {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: start;
  isolation: isolate;
}

.running .slides {
  display: block;
  overflow: hidden;
}

.running .slide,.running .frame,.running .quote-frame {
  display: none;
}

.running .slide.current,.running .frame.show,.running .quote-frame.show {
  display: block;
}

.slide>video,.slide>img,.frame>img {
  position: absolute;
  inset: 0;
  object-fit: cover;
}

.slide:after,.frame:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,#100b164d 0%,transparent 23%,transparent 42%,#100c1652 55%,#130f18de 83%,#17131bf7 100%);
  pointer-events: none;
}

.slide:has(.frame):after {
  display: none;
}

.player-head,.player-foot,.caption {
  position: absolute;
  z-index: 2;
  left: 20px;
  right: 20px;
}

.player-head {
  top: 16px;
  pointer-events: none;
}

.bars {
  display: flex;
  gap: 3px;
}

.bars i {
  flex: 1;
  background: #ffffff63;
  height: 3px;
  border-radius: 5px;
  overflow: hidden;
}

.bars b {
  display: block;
  height: 100%;
  transform-origin: left;
  transform: scaleX(0);
  background: var(--acid);
}

.account {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
  text-shadow: 0 1px 5px #0008;
}

.avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--acid);
  border-radius: 50%;
  color: #191b18;
}

.avatar .icon {
  width: 25px;
  height: 25px;
}

.avatar use {
  color: #191b18;
}

.account b,.account small {
  display: block;
}

.account b {
  font-size: 15px;
  line-height: 1.25;
}

.account small {
  font-size: 10px;
  font-weight: 550;
  margin-top: 2px;
}

.pause,.prev,.next,.short-contacts a,.album-nav button,.close-book,.index-title button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
}

.pause {
  pointer-events: auto;
  margin-left: auto;
  background: #29232a73;
  backdrop-filter: blur(6px);
}

.pause .icon {
  width: 15px;
  height: 15px;
}

.pause .icon:last-child,.stopped .icon:first-child {
  display: none;
}

.stopped .icon:last-child {
  display: block;
}

.caption {
  bottom: 165px;
  pointer-events: none;
}

.sticker {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 40px;
  background: var(--acid);
  color: #171b11;
  padding: 4px 11px;
  font-size: 14px;
  font-weight: 750;
  transform: rotate(-6deg);
  line-height: 1.35;
}

.sticker .icon {
  width: 15px;
}

.caption h2 {
  font-size: clamp(42px,15cqw,76px);
  margin: 13px 0 0;
  text-wrap: pretty;
  overflow-wrap: anywhere;
}

.slide:first-child h2 {
  font-size: clamp(64px,21cqw,100px);
  line-height: .86;
}

.caption h2 em {
  font-style: normal;
  color: var(--acid);
}

.caption>p {
  font-size: 17px;
  margin-top: 9px;
}

.caption>small {
  font-size: 13px;
}

.caption h2 .icon {
  color: var(--acid);
  width: .65em;
}

.caption blockquote {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 550;
  line-height: 1.3;
}

.caption cite {
  color: white;
  font-size: 13px;
}

.player-foot {
  bottom: 14px;
}

.statusline {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #ffffff55;
  padding-bottom: 5px;
  margin-bottom: 12px;
}

.story-count {
  font: 500 11px/1.4 ui-monospace,monospace;
  letter-spacing: .07em;
  color: #d4ced2;
}

.story-count b {
  color: var(--acid);
}

.status-name {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 10px;
  font-weight: 650;
}

.steppers {
  margin-left: auto;
  display: flex;
}

.prev,.next {
  width: 38px;
  height: 38px;
}

.prev .icon,.next .icon {
  width: 16px;
}

.player-actions,.short-contacts {
  display: flex;
  gap: 7px;
  align-items: center;
}

.player-actions .book {
  flex: 1;
  padding: 13px 10px;
  min-width: 0;
}

.short-contacts a {
  border: 1px solid #ffffff55;
  width: 45px;
  height: 45px;
}

.short-contacts span {
  display: none;
}

.all-page {
  display: flex;
  justify-content: center;
  margin: 9px auto 0;
  font-size: 12px;
  min-height: 22px;
  color: #dedbdf;
}

.all-page .icon,.desktop-foot a .icon {
  width: 12px;
}

.chapters {
  max-width: 330px;
  width: 100%;
  justify-self: end;
}

.rail-head,.album-head,.form-title,.index-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rail-head {
  border-bottom: 1px solid #ffffff38;
  padding-bottom: 17px;
  margin-bottom: 6px;
}

.rail-head b {
  font-size: 21px;
  letter-spacing: -.035em;
}

.rail-head span {
  border: 1px solid #ffffff55;
  border-radius: 20px;
  padding: 2px 8px;
  font: 12px/1.4 monospace;
}

.chapter {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  min-height: 64px;
  color: #f5f2f2;
}

.chapter img {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  object-fit: cover;
  outline: 1px solid #ffffff45;
  outline-offset: 2px;
}

.chapter span {
  font-size: 17px;
  font-weight: 550;
}

.chapter small {
  margin-left: auto;
  font: 12px ui-monospace,monospace;
  color: #c3bec1;
}

.chapter.active img {
  outline: 2px solid var(--acid);
}

.chapter.active span,.chapter.active small {
  color: var(--acid);
}

.index-open {
  margin-top: 12px;
  padding: 11px 0;
  border-top: 1px solid #ffffff38;
  font-size: 14px;
  width: 100%;
}

.index-open .icon {
  width: 15px;
}

.desktop-foot {
  min-height: 56px;
  border-top: 1px solid #ffffff38;
  color: #c4c0c2;
  font-size: 12px;
}

.desktop-foot a {
  color: white;
}

.tags {
  margin-top: 14px;
  display: grid;
  gap: 6px;
  max-height: 24svh;
  overflow: auto;
  pointer-events: auto;
  scrollbar-width: thin;
}

.service-tag {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  background: #f9f8f6;
  padding: 6px 11px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.12;
}

.service-tag b {
  font-size: 12px;
  white-space: nowrap;
  padding: 5px 7px;
  background: var(--acid);
  border-radius: 20px;
}

.running .current .service-tag {
  animation: land .26s both;
}

.current .service-tag:nth-child(2) {
  animation-delay: .15s;
}

.current .service-tag:nth-child(3) {
  animation-delay: .3s;
}

.current .service-tag:nth-child(4) {
  animation-delay: .45s;
}

@keyframes land {
  from {
    transform: translateX(-10px) rotate(-2deg);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

.running .frame.show>img {
  animation: near 4s both linear;
  animation-play-state: var(--motion,running);
}

@keyframes near {
  to {
    transform: scale(1.055);
  }
}

.directory {
  background: var(--paper);
}

.paper {
  padding: 70px 0 25px;
}

.catalog-head {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-bottom: 35px;
  border-bottom: 2px solid var(--ink);
}

.catalog-head h2,.visit h2 {
  font-size: clamp(44px,5.5vw,84px);
}

.catalog-head h2 span {
  color: #849327;
}

.catalog-head .sticker {
  border: 1px solid var(--ink);
  white-space: nowrap;
}

.catalog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vw;
  margin-top: 35px;
}

.portfolio,.service-index {
  min-width: 0;
}

h3 {
  font-size: 26px;
  letter-spacing: -.045em;
}

.service-index>h3,.album-head {
  margin-bottom: 20px;
}

.category,.notes details {
  border-bottom: 1px solid #c9c8c0;
}

.category:first-of-type {
  border-top: 1px solid #c9c8c0;
}

summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 15px;
}

summary::-webkit-details-marker {
  display: none;
}

summary i {
  margin-left: auto;
  width: 16px;
  height: 16px;
  position: relative;
  flex: none;
}

summary i:after,summary i:before {
  content: "";
  position: absolute;
  background: currentColor;
  width: 100%;
  height: 2px;
  left: 0;
  top: 7px;
}

summary i:after {
  transform: rotate(90deg);
}

details[open]>summary i:after {
  transform: rotate(0);
}

.category summary {
  padding: 13px 0;
  font-size: 22px;
  letter-spacing: -.035em;
}

.tiny-photo img {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.price-body {
  display: flex;
  gap: 15px;
  padding: 0 0 18px;
}

.price-body video {
  min-width: 0;
  width: 25%;
  height: auto;
  max-height: 240px;
  object-fit: cover;
  border-radius: 10px;
}

.prices {
  flex: 1;
  min-width: 0;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px dotted #b7b6af;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.15;
}

.price-row small {
  display: block;
  font-size: 12px;
  color: #595a54;
  font-weight: 450;
  margin-top: 4px;
}

.price-row b {
  font-size: 12px;
  white-space: nowrap;
  background: var(--acid);
  border-radius: 20px;
  padding: 5px 8px;
}

.album-head {
  min-height: 38px;
}

.album-nav {
  display: flex;
  gap: 6px;
}

.album-nav button {
  width: 38px;
  height: 38px;
  border: 1px solid #b7b7b0;
}

.filmstrip {
  display: flex;
  gap: 12px;
  overflow: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #96978d transparent;
  padding-bottom: 5px;
}

.filmstrip figure {
  flex: 0 0 61%;
  scroll-snap-align: start;
}

.filmstrip img {
  width: 100%;
  aspect-ratio: 3/3.6;
  object-fit: cover;
  border-radius: 12px;
}

.filmstrip figcaption {
  font-size: 15px;
  font-weight: 600;
}

.notes {
  margin: 40px 0 0;
  border-top: 2px solid var(--ink);
}

.notes summary {
  font-weight: 750;
  font-size: clamp(23px,3vw,42px);
  letter-spacing: -.05em;
  padding: 14px 0;
}

.notes summary span {
  margin-left: auto;
  font-size: 14px;
  letter-spacing: 0;
  font-weight: 500;
}

.notes summary i {
  margin: 0 0 0 8px;
}

.people {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.people article {
  display: flex;
  align-items: center;
  gap: 20px;
}

.people img {
  width: 85px;
  height: 106px;
  object-fit: cover;
  border-radius: 10px;
}

.people b {
  font-size: 14px;
}

.quotes {
  columns: 2;
  column-gap: 35px;
}

.quotes blockquote {
  break-inside: avoid;
  padding: 0 0 22px;
  max-width: 48ch;
}

cite {
  display: block;
  font-style: normal;
  font-weight: 650;
  margin-top: 8px;
}

.visit {
  margin-top: 37px;
  background: var(--ink);
  color: white;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: clamp(24px,4vw,65px);
  gap: 30px;
  border-radius: 18px;
}

.visit h2 {
  margin-bottom: 22px;
}

.visit .map {
  margin-top: 10px;
  color: var(--acid);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.visit p:last-child {
  margin-top: 12px;
}

.visit dl div {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid #ffffff30;
}

.visit dd {
  font-weight: 650;
}

.form-box {
  padding: 30px;
  background: #fff;
  border-radius: 18px;
  color: var(--ink);
}

#programare {
  margin-top: 22px;
}

.form-title h2,.index-title h2 {
  font-size: clamp(28px,3vw,44px);
  line-height: 1;
  letter-spacing: -.06em;
}

.form-title h2 span {
  color: #829820;
}

.form-box p {
  color: #5a5a55;
  margin: 10px 0 19px;
}

.form-box form {
  display: grid;
  gap: 12px;
}

.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-box label {
  display: grid;
  gap: 4px;
  font-weight: 650;
  font-size: 14px;
  min-width: 0;
}

.form-box input,select,textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #c3c4bd;
  border-radius: 9px;
  background: #fafaf7;
  padding: 10px 12px;
  color: var(--ink);
  font-size: 16px;
}

.form-box .book {
  justify-self: start;
  margin-top: 4px;
}

.close-book,.grab {
  display: none;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 0 0;
}

footer .icon {
  color: var(--ink);
}

footer small {
  color: #585954;
}

dialog {
  border: 0;
  max-height: 90dvh;
  overscroll-behavior: contain;
}

.sheet::backdrop,.story-index::backdrop {
  background: #121015a8;
}

.sheet {
  width: min(100%,520px);
  border-radius: 24px 24px 0 0;
  margin: auto auto 0;
  padding: 0;
  max-width: 100%;
  background: #fff;
}

.sheet[open] {
  animation: lift .25s ease-out;
}

@keyframes lift {
  from {
    transform: translateY(60%);
    opacity: .5;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

.sheet .form-box {
  border-radius: 0;
  padding: 10px 23px max(24px,env(safe-area-inset-bottom));
}

.sheet .grab {
  display: block;
  margin: 0 auto 15px;
  width: 42px;
  height: 15px;
  background: linear-gradient(transparent 5px,#b6b6af 5px 9px,transparent 9px);
  border-radius: 8px;
}

.sheet .close-book,.index-title button {
  display: grid;
  background: #f0f0ea;
}

.story-index {
  color: white;
  background: #29272b;
  border-radius: 20px;
  padding: 22px;
  width: min(90%,420px);
}

.index-title {
  margin-bottom: 12px;
  gap: 12px;
}

.index-title h2 {
  font-size: 27px;
}

.index-title button {
  color: var(--ink);
}

.story-index .chapter {
  min-height: 52px;
}

.story-index .chapter img {
  width: 33px;
  height: 33px;
}

.contact-dock {
  display: none;
}

@media(min-width:861px) and (max-width:1100px) {
  .mast,.stage,.desktop-foot,.paper {
    width: calc(100% - 64px);
  }
  .stage {
    gap: 26px;
  }
  .chapter {
    gap: 10px;
  }
  .chapter span {
    font-size: 15px;
  }
  .rail-head b {
    font-size: 18px;
  }
  .intro h1 {
    font-size: 75px;
  }
}

@media(max-width:860px) {
  .hero,.stage {
    display: block;
    min-height: 0;
  }
  .mast,.intro,.chapters,.desktop-foot,#ambience,.hero:before {
    display: none;
  }
  .stage {
    width: 100%;
    padding: 0;
  }
  .player {
    width: 100%;
    height: 100svh;
    border-radius: 0;
    outline: none;
  }
  .player-head {
    top: max(15px,env(safe-area-inset-top));
  }
  .player-foot {
    bottom: max(15px,env(safe-area-inset-bottom));
  }
  .player-head,.player-foot,.caption {
    left: 22px;
    right: 22px;
  }
  .account {
    margin-top: 13px;
  }
  .account b {
    font-size: 16px;
  }
  .account small {
    font-size: 11px;
  }
  .avatar {
    width: 40px;
    height: 40px;
  }
  .pause,.prev,.next {
    width: 44px;
    height: 44px;
  }
  .caption {
    bottom: calc(185px + env(safe-area-inset-bottom));
  }
  .slide:first-child h2 {
    font-size: clamp(78px,23cqw,116px);
  }
  .sticker {
    font-size: 16px;
    padding: 4px 12px;
  }
  .player-actions .book {
    min-height: 52px;
  }
  .short-contacts a {
    width: 49px;
    height: 49px;
  }
  .all-page {
    min-height: 32px;
  }
  .statusline {
    margin-bottom: 12px;
  }
  .story-count {
    font-size: 12px;
  }
  .status-name {
    font-size: 11px;
  }
  .paper {
    width: min(100% - 40px,670px);
    padding-top: 45px;
  }
  .catalog-head {
    display: block;
    padding-bottom: 24px;
  }
  .catalog-head .sticker {
    margin-top: 17px;
  }
  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 27px;
    margin-top: 22px;
  }
  .filmstrip figure {
    flex-basis: 68%;
  }
  .category summary {
    font-size: 22px;
  }
  .price-body {
    gap: 10px;
  }
  .notes {
    margin-top: 25px;
  }
  .notes summary span {
    font-size: 12px;
  }
  .visit {
    grid-template-columns: 1fr;
  }
  .form-box {
    padding: 20px;
  }
  .fields {
    grid-template-columns: 1fr;
  }
  .form-box .book {
    width: 100%;
  }
  .paper footer {
    padding-bottom: 65px;
  }
  .contact-dock.visible {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 4;
    bottom: max(12px,env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    background: var(--ink);
    color: white;
    border-radius: 40px;
    padding: 0 13px;
    border: 1px solid #ffffff58;
    white-space: nowrap;
  }
  .contact-dock a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 9px;
    font-size: 13px;
    font-weight: 650;
    min-height: 44px;
  }
  .contact-dock .icon {
    color: var(--acid);
    width: 17px;
  }
  .quotes {
    columns: 1;
  }
  .album-nav button {
    width: 44px;
    height: 44px;
  }
}

@media(max-height:650px) {
  .caption {
    bottom: 145px;
  }
  .slide:first-child h2 {
    font-size: min(19cqw,78px);
  }
  .caption h2 {
    font-size: 42px;
  }
  .player-head {
    top: 8px;
  }
  .player-foot {
    bottom: 5px;
  }
  .player-foot .all-page {
    margin: 0;
  }
  .service-tag {
    padding-block: 3px;
  }
  .sheet .fields {
    grid-template-columns: 1fr 1fr;
  }
}

@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    animation: none!important;
    scroll-behavior: auto!important;
  }
  .contact-dock.visible {
    position: static;
    transform: none;
  }
  .paper footer {
    padding-bottom: 12px;
  }
}

html:not(.running) .slides {
  display: block;
  overflow: auto;
}

.slide .frame {
  position: relative;
}

.slide:has(.frame) {
  height: auto;
}

.running .slide:has(.frame) {
  height: 100%;
}

html:not(.running) .player {
  height: auto;
}

html:not(.running) .slide {
  height: 100svh;
}

html:not(.running) .slide:has(.frame) {
  height: auto;
}

html:not(.running) .frame {
  height: 75svh;
}

html:not(.running) .player-foot {
  position: sticky;
  bottom: 0;
  background: #201e22;
  padding: 10px;
}

html:not(.running) .caption {
  bottom: 30px;
}

html:not(.running) .pause,html:not(.running) .steppers,html:not(.running) .chapters,html:not(.running) .statusline {
  display: none;
}

#ambience canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .22;
}

.player-actions .book,.grab,.form-title {
  touch-action: none;
}

.slides {
  user-select: none;
  touch-action: pan-y;
}

.pause[hidden] {
  display: none;
}

.intro h1,.caption h2,.catalog-head h2,.visit h2 {
  letter-spacing: -.052em;
}

.account small {
  text-shadow: 0 1px 3px #241a22;
}

.side-book .hours-link {
  color: #d8d1d4;
}

.player:before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 125px;
  background: linear-gradient(to bottom,#20142346,transparent);
  z-index: 1;
  pointer-events: none;
}

.album-nav button:disabled {
  opacity: .42;
  cursor: default;
}

@media(min-width:861px) {
  .hero .player {
    width: clamp(320px,min(29vw,42svh),450px);
  }
}

@media(prefers-reduced-motion:reduce) {
  .contact-dock.visible {
    display: flex;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
  }
}

.portraits-story .frame {
  background: #24212a;
}

.portraits-story .frame>img {
  height: 56%;
  object-position: center 34%;
  transform-origin: 50% 36%;
}

.portraits-story .frame:after {
  background: linear-gradient(to bottom,transparent 46%,#24212a 57%);
}

.portraits-story .caption {
  bottom: auto;
  top: 58%;
}

.portraits-story .caption h2 {
  font-size: clamp(34px,11cqw,52px);
  margin-top: 11px;
}

.portraits-story .caption p {
  margin-top: 5px;
  font-size: 15px;
}

.reviews-story:after {
  background: linear-gradient(to bottom,#20142352,transparent 26%,#19151c8a 46%,#17141de6 75%,#17141d);
}

.sheet .grab {
  height: 24px;
  margin-bottom: 4px;
  background: none;
  position: relative;
  width: 100%;
  touch-action: none;
}

.sheet .grab:before {
  content: "";
  position: absolute;
  top: 4px;
  left: calc(50% - 21px);
  height: 4px;
  width: 42px;
  border-radius: 4px;
  background: #b6b6af;
}

html:not(.running) .reviews-story {
  height: auto;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
}

html:not(.running) .reviews-story .caption {
  position: relative;
  inset: auto;
  margin: 75px 20px 30px;
}

html:not(.running) .portraits-story .frame {
  height: max(75svh,400px);
}

@media(max-height:700px) {
  .portraits-story .frame>img {
    height: 47%;
  }
  .portraits-story .frame:after {
    background: linear-gradient(to bottom,transparent 39%,#24212a 49%);
  }
  .portraits-story .caption {
    top: 48%;
  }
}


.caption {
  pointer-events: auto;
  touch-action: none;
}

.caption:has(.tags) {
  touch-action: pan-y;
}
